Commit Graph

2143 Commits

Author SHA1 Message Date
Jason Zimdars 410cc95396 Stub out basic design 2025-01-15 17:16:59 -06:00
Jose Farias e9a085f848 Simplify filters 2025-01-15 16:27:33 -06:00
Kevin McConnell cd1e6378d0 Add drafted and published states 2025-01-15 10:58:00 +00:00
Kevin McConnell f209c23e45 Cache notification partial 2025-01-15 10:57:27 +00:00
Jason Zimdars e7819328e8 A little janky but we probably don't want to navigate when you're typing a comment 2025-01-14 17:00:32 -06:00
Jason Zimdars 6a40256969 Prevent back navigation when cancelling comment edits 2025-01-14 16:57:29 -06:00
Jason Zimdars d20288f929 Don't trigger esc to go back when closing dialog 2025-01-14 16:53:38 -06:00
Jason Zimdars 1f911b234b Avoid navigating back when closing the filter dialog 2025-01-14 16:49:21 -06:00
Jason Zimdars a596d7cea7 Cancel and go back for forms with autofocused inputs 2025-01-14 16:45:29 -06:00
Jason Zimdars 39ff31b14b esc to cancel here, too 2025-01-14 16:04:41 -06:00
Jason Zimdars 95f077672b esc to navigate back to buckets index 2025-01-14 15:57:55 -06:00
Jason Zimdars f7f063ae0c Can just use @bucket 2025-01-14 15:49:25 -06:00
Jason Zimdars 32532c53cb Add bucket link/title so you know where you are 2025-01-14 15:48:49 -06:00
Kevin McConnell b8ecfa0125 Replace notifications on read, instead of removing
Previously when a notification was read, we'd remove it from the list.
This will often be fine, but if there were more unread notifications
that hadn't been loaded yet (because there were too many for the initial
page) then the list could become empty when really there are still more
items to show.

So instead of removing the items when they're read, we can reload the
list with the new page of items. This should allow the older
notifications to come into view when necessary.
2025-01-14 14:23:46 +00:00
Kevin McConnell c11b5af5e0 Make Stimulus controller more generic 2025-01-14 13:37:54 +00:00
Kevin McConnell ab154f2f35 Generate notification content in a helper 2025-01-14 13:08:12 +00:00
Kevin McConnell 30b58f716b Make title a notifier attribute 2025-01-14 10:21:47 +00:00
Jason Zimdars 5f88cd3900 Design for notifications 2025-01-13 20:46:51 -06:00
Kevin McConnell 46989f6ebe Mark notification read when viewing the Bubble 2025-01-13 14:21:47 +00:00
Kevin McConnell febcb6c344 A partial is clearer than a helper here 2025-01-13 14:21:47 +00:00
Kevin McConnell 07fcb7ee6b More style shuffling 2025-01-13 14:21:47 +00:00
Kevin McConnell fd1789ed58 Mark notifications read when clicked on 2025-01-13 14:21:47 +00:00
Kevin McConnell 876083c697 Broadcast new notifications 2025-01-13 14:21:47 +00:00
Kevin McConnell fcce5b85e0 Show notifications on bucket index 2025-01-13 14:21:47 +00:00
Kevin McConnell 0c152b5439 Style the tray a little bit 2025-01-13 14:21:47 +00:00
Kevin McConnell 952895ae67 WIP: show notifications in a tray 2025-01-13 14:21:47 +00:00
Kevin McConnell e7bc04856f Broadcast bucket changes to index page
This will cause each filtered view to stay updated as the items in the
buckets change.

For filters that are specific to buckets, we listen to broadcasts on
those buckets; for filters on "All projects" we listen instead for
broadcasts on an account-specific channel. This is so that "All
projects" views will be aware of any new buckets that are added, while
also avoid unnecessary refreshes from buckets that are filtered out.
2025-01-09 09:14:22 +00:00
Kevin McConnell 5c19c3422b Only show create button when in single bucket 2025-01-07 15:04:42 +00:00
Kevin McConnell 93536c3e41 Don't reload entire page when creating comment 2025-01-07 14:47:31 +00:00
Kevin McConnell 4a4b4113c8 Don't use a new request for every comment 2025-01-07 14:14:12 +00:00
Jason Zimdars 1530b76af8 Hit esc to navigate back after opening a bubble 2024-12-19 16:22:01 -06:00
Jason Zimdars 0a6b5571c0 Merge pull request #167 from basecamp/users
Account users
2024-12-19 11:11:41 -06:00
Jose Farias 2134fd1a46 No filter in bubble perma 2024-12-18 18:34:58 -06:00
Jason Zimdars d95e1c5a34 Revert "Backlink should be dynamic now"
This reverts commit a850c8bb5a.
2024-12-18 17:08:18 -06:00
Jason Zimdars a850c8bb5a Backlink should be dynamic now 2024-12-18 16:41:37 -06:00
Jason Zimdars 114e651d25 Link to profile 2024-12-18 16:40:41 -06:00
Jose Farias 0d2e4ed604 Merge branch 'main' into house
* main:
  Add hotwire-spark
  Fix for Safari which doesn't support `field-sizing: content`
  Add button and action to delete a bubble
  Indicate draggable element
  Stub draggable collection size divider
  Make close and trash more distinct
2024-12-18 16:27:07 -06:00
Jason Zimdars 66640bbac0 Remove avatars 2024-12-18 16:24:39 -06:00
Jason Zimdars 295d8ce088 Upload user avatar 2024-12-18 14:44:05 -06:00
Jason Zimdars b323cd4e4c Edit user profile 2024-12-18 14:28:06 -06:00
Jason Zimdars 592c88e639 Add session transfer feature 2024-12-18 12:38:53 -06:00
Jason Zimdars eeb269adad Needs display class and modal attribute 2024-12-18 12:38:45 -06:00
Jason Zimdars 3d2f3b8055 Remove debug 2024-12-18 11:46:07 -06:00
Jason Zimdars b1cdee0022 Add user profile screen 2024-12-18 11:34:18 -06:00
Jason Zimdars bd35da79c3 Add button and action to delete a bubble 2024-12-17 15:58:12 -06:00
Jason Zimdars 2c038a5739 Stub draggable collection size divider 2024-12-17 14:06:33 -06:00
Jason Zimdars fdf93b2bc0 Make close and trash more distinct 2024-12-17 10:10:31 -06:00
Jose Farias 9ce4a73214 Use MD for comment CRUD 2024-12-17 00:36:37 -06:00
Jose Farias fdea6d4248 Merge branch 'main' into house
* main:
  Update test
  Wire up comment deletion
  Whitespace
  Wire up editing comments
  Open the title field for editing after creating a new bubble
2024-12-17 00:34:00 -06:00
Jason Zimdars 33d2d098f1 Wire up comment deletion 2024-12-16 17:46:01 -06:00