Commit Graph

634 Commits

Author SHA1 Message Date
Kevin McConnell df1225e58d Style 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 31ac7950ce Use turbo:click, not click
Otherwise Turbo falls back to a regular Browser navigation.
2025-01-13 14:21:47 +00:00
Kevin McConnell 07fcb7ee6b More style shuffling 2025-01-13 14:21:47 +00:00
Kevin McConnell 6f7268f941 Set ID so a notification can't show up twice 2025-01-13 14:21:47 +00:00
Kevin McConnell 66d0f29d45 Notify on pop as well
And DRY up some duplication.
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 58ce85ce36 Link comment notifications to the comment 2025-01-13 14:21:47 +00:00
Kevin McConnell 876083c697 Broadcast new notifications 2025-01-13 14:21:47 +00:00
Kevin McConnell a7d9ec908c Adjust styles 2025-01-13 14:21:47 +00:00
Kevin McConnell 58d5ed07a5 Create notifications when tracking events 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 dc53a39b93 Update notification body 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 8a51597408 Add direct linking to comments 2025-01-13 14:21:47 +00:00
Kevin McConnell af5ac65116 Make notification target polymorphic 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 6b5e098407 Use a better return value 2025-01-13 14:21:47 +00:00
Kevin McConnell a082eb75f5 Track events for new comments too 2025-01-13 14:21:47 +00:00
Kevin McConnell 5a56c16029 Add a factory for creating notifications 2025-01-13 14:21:47 +00:00
Kevin McConnell d0ae5b4bdc Add notification model 2025-01-13 14:21:47 +00:00
Kevin McConnell c84926692e Never show login page to a logged in user 2025-01-13 14:20:42 +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 22be073a92 Sanitize search terms 2025-01-08 16:49:40 +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
David Heinemeier Hansson 84a07343a4 Use stale_when_importmap_changes 2024-12-20 17:42:14 -08:00
Jason Zimdars a531e627c6 Polish comments 2024-12-20 17:12:28 -06:00
Jason Zimdars 1530b76af8 Hit esc to navigate back after opening a bubble 2024-12-19 16:22:01 -06:00
Jason Zimdars 53671bb1df Don't invert uploaded user avatars 2024-12-19 13:13:19 -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
Jose Farias 5b83d0b5b2 Filter#persist! -> Filter#remember 2024-12-18 18:34:47 -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 bb4ee3cb65 Fix for Safari which doesn't support field-sizing: content 2024-12-17 16:08:01 -06:00
Jason Zimdars bd35da79c3 Add button and action to delete a bubble 2024-12-17 15:58:12 -06:00
Jason Zimdars 43ed808ecf Indicate draggable element 2024-12-17 14:08: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