Commit Graph

67 Commits

Author SHA1 Message Date
Jason Zimdars 6dfa75090f Bump notifications cache key to (hopefully) fix index view 2025-04-09 14:45:49 -05:00
Jorge Manrubia 723e6d94f5 Rename bubbles => cards 2025-04-09 14:50:58 +02:00
Jorge Manrubia a7aae833d1 Extract helper with fallback for the "go to back" and use consistently 2025-04-07 11:28:03 +02:00
Jason Zimdars 1ea70d7d3b Merge branch 'main' into two-columns-refactor
* main:
  Fix image icons
  Revert "Merge pull request #345 from basecamp/cascade-layers"
  Fine tune notifications states
  Remove empty helper
  Use an icon for the button
  Show button on collection page and notif settings
  Add involvement types to accesses
  Extract a couple components
  Add cascade layers to all CSS files
2025-04-03 19:30:37 -05:00
Kevin McConnell 0820badcc3 Add involvement types to accesses
This provides a way to set the level of involvement that a user has with
a collection, and from which we determine the level of notifications to
send. Users can be access-only, watching, or being notified about
everything.

If you're access-only, you won't get an notifications. If you're
watching, you'll only get notifications for the items you're watching
(which includes the items you've been assigned, have commented on, etc).
If you're set to everything you'll get notifications about all activity
in that collection.

This change replaces our previous concept of subscriptions. Where
previously you'd subscribe to a collection to get notifications in it,
now you'll simply set the notification level on your access.
2025-04-03 16:35:13 +01:00
Jorge Manrubia 796ee44158 Tidy up header templates for listing buckets 2025-04-03 12:53:19 +02:00
Andy Smith 24427644a2 Replace remaining image_tags with icon_tag 2025-04-02 14:38:30 -05:00
David Heinemeier Hansson de6f782ca3 Extract icon_tag helper to reduce repetition 2025-03-29 17:22:51 +01:00
Jason Zimdars f3bc2a2316 Tray placeholders 2025-03-26 15:20:23 -05:00
Jason Zimdars c7aba17303 Massive refactor for better font sizing and responsive layout 2025-03-26 11:45:14 -05:00
Jason Zimdars 7c54a20ece DRY this up a bit 2025-03-24 17:04:08 -05:00
Jason Zimdars 9b9e09601e Introduce text-based UI 2025-03-24 11:33:04 -05:00
Jason Zimdars cbc9567966 Smaller tray cards 2025-03-21 14:54:26 -05:00
Jason Zimdars eaf927f1a8 Refactor tray styles 2025-03-20 17:54:24 -05:00
Jason Zimdars 0da84efd01 Tray pins design 2025-03-20 16:52:56 -05:00
Jason Zimdars 2e0f787777 Polish trays behavior 2025-03-20 11:41:17 -05:00
Jason Zimdars 5973d14e2c Trays everywhere 2025-03-18 17:13:57 -05:00
Jason Zimdars de851fa69c Move back to edges 2025-03-18 17:10:50 -05:00
Jason Zimdars b99fc7484b Handful of tweaks 2025-03-18 16:01:31 -05:00
Jason Zimdars 28a569c49b Tickets 2025-03-17 21:24:08 -05:00
Jason Zimdars a87ffd6473 Avoid squishing the switch when the bucket name is very long 2025-03-03 08:55:49 -06:00
Kevin McConnell 8bd207096b Pass user in locals 2025-02-27 10:45:18 +00:00
Jason Zimdars 8ddf8d1ad3 Use local_assigns 2025-02-26 15:57:16 -06:00
Kevin McConnell fc1939d771 Avoid using Current in the partial 2025-02-26 10:53:03 +00:00
Kevin McConnell 385e299db7 Simplify param 2025-02-26 10:53:03 +00:00
Kevin McConnell a802b8de5a Allow managing bucket subscriptions 2025-02-26 10:53:03 +00:00
Jason Zimdars ed0a815a35 Fix that title could overlap unread indicator 2025-02-24 16:05:42 -06:00
Jason Zimdars d254d1eb27 Bust this cache 2025-02-21 17:37:17 -06:00
Jason Zimdars 530b6e4a90 Stub notifications settings screen 2025-02-21 17:25:44 -06:00
Jason Zimdars 28bdc531b0 Mark individual notifications as read 2025-02-21 16:39:50 -06:00
Jason Zimdars 190e046479 Mark all notifications as read from the index 2025-02-21 12:12:00 -06:00
Jason Zimdars 4b14bc0a55 Shadows for these buttons, too 2025-02-20 13:15:57 -06:00
Jason Zimdars 867479c7bf Display a link button when there are more unreads than the six we show 2025-02-19 15:17:31 -06:00
Jason Zimdars 410b754d69 Adjust navigation 2025-02-07 16:27:12 -06:00
Jason Zimdars 346ecc34af Projects -> Collections 2025-02-06 16:24:05 -06:00
Jason Zimdars 39e1eb7e6b Add global nav here 2025-02-06 14:18:03 -06:00
Jason Zimdars 760f08c7e3 Notifications need to be 3 lines (or at least al the same) for now 2025-02-04 14:49:15 -06:00
Jason Zimdars f25335ba38 Try comment excerpts in notification and event chips 2025-02-04 14:04:17 -06:00
Jason Zimdars c833f42aca Ensure notification panels have a visible border in dark mode 2025-01-24 22:05:13 -06:00
Jason Zimdars 62ef5d90a6 Match notification dot 2025-01-24 14:18:38 -06:00
Jason Zimdars 3c66f1ade7 Spacing 2025-01-24 14:15:54 -06:00
Jason Zimdars 40f3925712 Add more context 2025-01-24 14:09:59 -06:00
Jason Zimdars 823602bcee Avoid leaving the tray open 2025-01-24 13:56:03 -06:00
Jason Zimdars 57a1e4d621 This shouldn't be here 2025-01-24 13:29:48 -06:00
Kevin McConnell 1f3bc1134f Paginate the read notifications 2025-01-24 17:42:36 +00:00
Kevin McConnell 5d5dc8fb73 Wire up notifications "Mark all as read" button 2025-01-21 14:37:41 +00:00
Jason Zimdars 404c420a58 Add unread dot 2025-01-20 18:20:58 -06:00
Jason Zimdars 02573b6dc8 Set state for when there are no new notifications 2025-01-20 17:58:56 -06:00
Jason Zimdars 69e235b082 Move to right side, smooth transition 2025-01-20 15:32:34 -06:00
Jason Zimdars 536dfa65d7 Open tray on click, stub mark-as-read button 2025-01-20 13:00:56 -06:00