Commit Graph

4156 Commits

Author SHA1 Message Date
Jorge Manrubia 312c5c7331 Fix some cache invalidation problems
- https://fizzy.37signals.com/5986089/cards/1585
- https://fizzy.37signals.com/5986089/cards/1616
2025-09-10 17:37:13 +02:00
Jorge Manrubia 23d2512525 Bust user filtering cache when the displayed associations change 2025-09-10 16:55:37 +02:00
Jorge Manrubia 4e72566856 Flatten card resource
We only need the parent collection for creating cards. Carrying it in the
rest of actions is a hassle.
2025-09-10 11:24:23 +02:00
Jorge Manrubia 7f7ecf0346 Delete notifications when the user loses access to the collection 2025-09-10 10:24:20 +02:00
Jorge Manrubia 2e51a34694 Extract method to fetch all the notifications for a card for a given user
We'll need to handle access changes
2025-09-10 10:08:14 +02:00
Jorge Manrubia b9c7ac225a Extract method 2025-09-10 10:07:58 +02:00
Jorge Manrubia 58c525e5a6 Broadcast notifications that are deleted
To prevent 404s when someone doesn't refresh the page
2025-09-10 09:50:22 +02:00
Jorge Manrubia 2752cd80b1 Merge pull request #1073 from basecamp/move-bulk-read
Use vanilla resources for handling notifications
2025-09-10 09:28:46 +02:00
Jorge Manrubia d533f05c7b Use vanilla resources for handling notifications 2025-09-10 09:17:57 +02:00
Jason Zimdars b634d455f9 Menu above filters 2025-09-09 23:04:38 -05:00
Jason Zimdars 741cc74a9e Hide in pinned cards 2025-09-09 23:03:03 -05:00
Jason Zimdars 825522158c Just show icons for the second column 2025-09-09 22:52:19 -05:00
Jason Zimdars 4e50609d2b Create a copy before modifying to avoid modifying the cached filter 2025-09-09 22:45:46 -05:00
Jason Zimdars 0449396aea Bring back UI for adding filter terms as the primary filter method 2025-09-09 22:45:03 -05:00
Jason Zimdars 91c9cb51af Merge pull request #1069 from basecamp/jz/polish-9-9-25
Jz/polish 9 9 25
2025-09-09 20:35:12 -05:00
Jason Zimdars 0e0de36ca2 Use icons in footer meta, dump the labels in previews 2025-09-09 20:27:53 -05:00
Jason Zimdars c6142e4d8d Special icons for meta use 2025-09-09 17:58:48 -05:00
Mike Dalessio 3a129414af Merge pull request #1068 from basecamp/flavorjones/fix-406
Fix handling of "406 unsupported browser" responses
2025-09-09 17:09:46 -04:00
Mike Dalessio 93c3730ec9 Fix handling of "406 unsupported browser" responses
Broken in 84b8bb0a
2025-09-09 17:07:24 -04:00
Jason Zimdars 30b668d908 Tweak tray item vertical spacing 2025-09-09 15:55:04 -05:00
Jason Zimdars 57ace388b2 z-index doesn't work if it's statically positioned
This caused the filter to get hidden behind the column when dragging and
dropping
2025-09-09 15:43:09 -05:00
Jason Zimdars af3a0e0788 Tighten drop target styles, dial back z-index 2025-09-09 15:42:27 -05:00
Jason Zimdars 229881c6fe Adjust column spacing to make center more distinct 2025-09-09 15:40:28 -05:00
Jason Zimdars 2a9fc5720f Further polish mailer styles and type hierarchy 2025-09-09 15:28:27 -05:00
Jorge Manrubia 8ea2d7346b Restore add card button in the timeline
It will add to the first selected collection, or to the
first one in the menu if no collection selected
2025-09-09 17:41:07 +02:00
Jason Zimdars 9d087b80e9 Needs to override mark's inherent coloring 2025-09-09 09:16:30 -05:00
Jorge Manrubia efcf477fba Merge pull request #1055 from basecamp/add-card-single-collections
Fix: add card adding cards to the wrong collection
2025-09-09 15:38:12 +02:00
Jorge Manrubia be246d204f Replace assignees with a turbo stream instead of replacing the full card
So that we don't lose th editing context if you do it while editing a card

https://fizzy.37signals.com/5986089/collections/2/cards/1479
2025-09-09 15:32:18 +02:00
Jorge Manrubia 4ed29b8fa4 Autosave cards descriptions locally 2025-09-09 15:18:40 +02:00
Jorge Manrubia 242a367e0a Fix: add card adding cards to the wrong collection
Make sure we only show the "add card" button when there is a single collection selected, and that it adds to that collection.

https://fizzy.37signals.com/5986089/collections/2/cards/1439
2025-09-09 14:47:34 +02:00
Jorge Manrubia 76e91c3b12 Merge pull request #1054 from basecamp/prevent-vertical-layout-shift
Make sure time tags take vertical space until they are loaded
2025-09-09 13:59:53 +02:00
Jorge Manrubia 03815f810e Make sure time tags take vertical space until they are loaded
https://fizzy.37signals.com/5986089/collections/2/cards/1592
2025-09-09 13:57:54 +02:00
Stanko Krtalić c1c13bf010 Fix search layout for non-staff users (#1053) 2025-09-09 13:47:28 +02:00
Jorge Manrubia 996a96547a Fix: closed should be outside! 2025-09-09 12:53:43 +02:00
Jorge Manrubia 4f1c5ee113 Add http caching to notifications 2025-09-09 12:39:28 +02:00
Jorge Manrubia 36488278a8 Merge pull request #1052 from basecamp/caching
Add more caching
2025-09-09 12:31:46 +02:00
Jorge Manrubia 9b4eaf0952 Format 2025-09-09 12:31:07 +02:00
Jorge Manrubia a6b2944f54 Array not needed 2025-09-09 12:15:04 +02:00
Jorge Manrubia 69b1a18441 Remove trace 2025-09-09 12:14:41 +02:00
Jorge Manrubia 07bdcb7a9c Pass the new param this partial requires 2025-09-09 12:12:39 +02:00
Jorge Manrubia 209e8b61b8 Add caching and http caching for rendering the card perma 2025-09-09 12:07:32 +02:00
Jorge Manrubia 1366ccc8df Add caching and http caching to the cards index screen 2025-09-09 12:05:16 +02:00
Jorge Manrubia e3aabaafbf Fix: use the proper filter 2025-09-09 11:46:29 +02:00
Jorge Manrubia 0864c91770 Add timezone to etag 2025-09-09 11:32:31 +02:00
Jorge Manrubia 61fd84ab5e Add server-side caching and HTTP caching when serving events in the timeline 2025-09-09 11:30:05 +02:00
Stanko Krtalić 24cb5da194 Make Fizzy Ask staff-only (#1037)
* Make Fizzy Ask invisible but usable by staff

* Remove unused span

* Prevent non-staff users from creating or browsing messages

* Extract staff-only into a mixin

* Keep existing markup, use the utility class we already have

---------

Co-authored-by: Jason Zimdars <jz@37signals.com>
2025-09-09 11:23:31 +02:00
Jason Zimdars e948c2ec46 Tighten card title gap 2025-09-08 17:06:48 -05:00
Jason Zimdars 36ddcba6dc Don't display "not assigned" 2025-09-08 16:57:21 -05:00
Jason Zimdars b4925344ee Tighten header 2025-09-08 16:55:41 -05:00
Jason Zimdars 317e7f7e76 Tighten up column headings 2025-09-08 16:53:26 -05:00