Commit Graph

3585 Commits

Author SHA1 Message Date
Jorge Manrubia cb67352275 Don't render HTML stripping the tags for comment bodies, use to_plain_text instead
This will prevent error when generating notification bundles such as:

Type	ActionView::Template::Error
Message	undefined method 'rails_blob_path' for an instance of #<Class:0x00007fbb7e0c2a88>

We could just use the _url variant but this feels better nevertheless
2025-09-08 08:41:18 +02:00
Jorge Manrubia ebfc168266 Make sure it considers the week before if this is invoked on a sunday 2025-09-08 08:38:33 +02:00
Jorge Manrubia a86e1294fc Update to ruby_llm latest and add more models to try in the sandbox 2025-09-05 18:01:59 +02:00
Jorge Manrubia ac11d8f830 Refine comment 2025-09-05 17:23:52 +02:00
Jorge Manrubia 573f62c3b4 Add comment 2025-09-05 17:23:26 +02:00
Jorge Manrubia d9cc592566 Merge pull request #1007 from basecamp/weekly-highlights
Weekly highlights
2025-09-05 17:03:38 +02:00
Jorge Manrubia 70c789158a Extract constant 2025-09-05 16:46:11 +02:00
Jorge Manrubia 80ca9cac9d Use consistent US locales for dates
https://3.basecamp.com/2914079/buckets/37331921/todos/9010176047#__recording_9040694230
2025-09-05 16:40:46 +02:00
Jorge Manrubia 601411e3a9 Remove debug 2025-09-05 15:51:43 +02:00
Jorge Manrubia b15cb4541f Show summarier capturing the actual weeks in the user's timezone
https://3.basecamp.com/2914079/buckets/37331921/todos/9010176047#__recording_9037056688
2025-09-05 13:48:02 +02:00
Jorge Manrubia e15cc80929 Only process summaries for active users (not deactivated or system) 2025-09-05 13:46:28 +02:00
Jorge Manrubia aad61b36bc Generate highlights in the user timezone, now that we persist it
Also, remove the dates and duration from the highlights records. Those are not relevant, only the events-derived
key is. If two users with different timezones have different activities, they should see different summaries.
2025-09-05 12:39:09 +02:00
Jorge Manrubia cfa0149564 Persist timezones in the server
Add a beacon to persist timezones when these change (or the first time)
2025-09-05 12:11:57 +02:00
Jason Zimdars 3b500a5bf6 Justified columns aren't working 2025-09-04 17:04:14 -05:00
Andy Smith 0316fa1da4 Disable access switch for current user 2025-09-04 15:12:37 -05:00
Andy Smith 4e54283b0a Tweak the header actions width 2025-09-04 15:02:12 -05:00
Andy Smith b2aa75dcd5 Merge pull request #1025 from basecamp/fix-file-attachment-layout
Correct file attachment layout and simplify icons
2025-09-04 14:55:17 -05:00
Andy Smith d67596d362 Correct file attachment layout and simplify icons 2025-09-04 14:45:15 -05:00
Jason Zimdars 3814c17d49 Be defensive about unwanted elements it sometimes inserts 2025-09-04 12:52:01 -05:00
Jason Zimdars d0431da8a7 Tighten headings 2025-09-04 12:34:07 -05:00
Jason Zimdars 96ad942f0e Copy, date format, and whitespace 2025-09-04 12:18:02 -05:00
Jason Zimdars 8d0c9852fe Use endash for date ranges 2025-09-04 11:59:57 -05:00
Jason Zimdars b5dad7684d Remove debug 2025-09-04 11:55:42 -05:00
Jason Zimdars 379820e3e8 Safari doesn't like this 2025-09-03 12:41:46 -05:00
Jason Zimdars d6423581c9 Fix new card title/description which had drifted 2025-09-03 12:33:15 -05:00
Jason Zimdars 53f06d2554 Adjust summary, style in newspaper format 2025-09-02 22:14:13 -05:00
Jason Zimdars 457725d597 Fix rendering and introduce a new style 2025-09-02 20:11:34 -05:00
Jason Zimdars 4d6201b8dc Filter to just drafts 2025-09-02 19:32:19 -05:00
Jason Zimdars c3454847a0 Add a simple method to refresh content when launching or switching tabs
Prevents stale content on load as reported in:
https://fizzy.37signals.com/5986089/collections/2/cards/1449
2025-09-02 17:24:21 -05:00
Jason Zimdars a44073c001 Order by recently accessed like the Fizzy menu for convenience 2025-09-02 14:30:50 -05:00
Jorge Manrubia b6b4617eec Remove unused constant 2025-09-02 17:24:22 +02:00
Jorge Manrubia 1176857ec3 Remove unused methods 2025-09-02 17:22:53 +02:00
Jorge Manrubia c412ae89e6 Only generate summaries when there is enough activity 2025-09-02 16:32:30 +02:00
Jorge Manrubia d785f9f80f Don't show summaries when using filters 2025-09-02 12:20:02 +02:00
Jorge Manrubia c96de36de5 Rename var 2025-09-02 11:42:50 +02:00
Jorge Manrubia b8630bdb24 Cron jobs must process all the tenants 2025-09-02 11:35:53 +02:00
Jorge Manrubia fc0eec8d07 Restore admin link to debug prompts 2025-09-02 11:23:01 +02:00
Jorge Manrubia eb908ea316 Not used anymore 2025-09-02 11:07:57 +02:00
Jorge Manrubia 7a02f8fcda Place highlights after the "timelined day" 2025-09-02 10:57:40 +02:00
Jorge Manrubia a9d9351472 Extract object to represent a period to tidy up params repetition 2025-09-02 10:55:53 +02:00
Mike Dalessio 85b6f46422 Do not try to bundle notifications for system users
ref: https://fizzy.37signals.com/5986089/collections/7/cards/1471
2025-09-01 12:37:34 -04:00
Jorge Manrubia dfbc77c2e5 Render weekly highlights considering periods of inactivity 2025-09-01 17:09:43 +02:00
Jorge Manrubia 5b68750713 Generate weekly highlights instead of daily ones
https://3.basecamp.com/2914079/buckets/37331921/todos/9010176047
2025-09-01 16:01:19 +02:00
Jorge Manrubia b51af8b5da Extract method and make sure we don't deliver emails when notification setting is set to never
This should be prevented by the current design, but let's be a bit defensive here.
2025-09-01 12:17:13 +02:00
Jorge Manrubia 6f2670d6dd Merge main into bundle-emails branch and resolve conflicts 2025-09-01 11:49:20 +02:00
Jason Zimdars 70b07f856f Use inquiry method 2025-08-31 15:28:01 -05:00
Jason Zimdars 48802ab6cd Make collection list scrollable 2025-08-31 15:22:10 -05:00
Jorge Manrubia a9444caf1f Add a "backend" queue with less priorities for deliveries 2025-08-29 09:39:48 +02:00
Jorge Manrubia bec4abad0c Rename method to match semantics
"rescheduling" was a from an implementation I had dropped
2025-08-29 09:28:32 +02:00
Jason Zimdars af9f28d0bb Two panel design for notifications settings, design and copy for email block 2025-08-28 22:18:11 -05:00