Commit Graph

164 Commits

Author SHA1 Message Date
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
Kevin McConnell 6706802b89 Add an index view for all notifications 2025-01-16 17:48:38 +00:00
Kevin McConnell c4f50fa634 Move notifications to tray controller 2025-01-16 17:48:38 +00:00
Jose Farias e9a085f848 Simplify filters 2025-01-15 16:27:33 -06:00
Kevin McConnell 782259a678 Events should track published now
Previously when an item was `created`, we'd track the event, update the
summary text, and broadcast the notifications. But now that we have a
draft state, we shold do all of this when it's published instead.
2025-01-15 10:58:00 +00:00
Kevin McConnell cd1e6378d0 Add drafted and published states 2025-01-15 10:58:00 +00: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 46989f6ebe Mark notification read when viewing the Bubble 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 952895ae67 WIP: show notifications in a tray 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 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 0a6b5571c0 Merge pull request #167 from basecamp/users
Account users
2024-12-19 11:11:41 -06:00
Jose Farias 5b83d0b5b2 Filter#persist! -> Filter#remember 2024-12-18 18:34:47 -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 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
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
Jason Zimdars 4644fe43ee Wire up editing comments 2024-12-16 17:28:27 -06:00
Jason Zimdars 520bead27f Open the title field for editing after creating a new bubble 2024-12-16 16:59:31 -06:00
Jose Farias 326bdc74cf Merge branch 'main' into house
* main: (23 commits)
  Improve the flow for editing bubble titles
  Use path helpers in tests
  Revising access shouldn't do a replace turbo-action
  Split into new tests
  Update this test, too
  Adjust tests to match new behavior
  Reapply "Destroy equivalent filters upon resource removal"
  Revert "Destroy equivalent filters upon resource removal"
  Destroy equivalent filters upon resource removal
  Don't autocomplete
  Rework boosts form so you can enter any integer
  Pull out access_menu_tag
  Punt on removing filters for inaccessible buckets
  Can't see bubbles in buckets you've lost access to
  Users can remove themselves from buckets
  Fix redirect assertion
  Fix redirect assertion
  Submit form when toggling all-access + caching
  Unnecessary parens
  Can't revoke access to all-access bucket
  ...
2024-12-16 13:50:55 -06:00
Jose Farias d13d558a0b Merge branch 'main' into everyone
* main:
  Update this test, too
  Adjust tests to match new behavior
  Don't autocomplete
  Rework boosts form so you can enter any integer
2024-12-16 11:19:36 -06:00
Jason Zimdars 0b28a18c05 Rework boosts form so you can enter any integer 2024-12-13 16:54:11 -06:00
Jose Farias ce0577d3c1 Users can remove themselves from buckets 2024-12-13 14:07:48 -06:00
Jose Farias d7e5e0d236 Submit form when toggling all-access + caching 2024-12-12 20:14:09 -06:00
Jose Farias 065b73f889 Can't revoke access to all-access bucket 2024-12-12 19:08:36 -06:00
Jose Farias 4e460041e0 Use #with_defaults 2024-12-10 19:49:48 -06:00
Jose Farias 59c66923f0 Implement all_access buckets 2024-12-10 19:46:40 -06:00
Jose Farias 22d59ba4fb Test UploadsController 2024-11-29 18:40:58 -06:00
Jose Farias 6164da2e38 Unnest uploads controller 2024-11-29 17:05:32 -06:00
Jose Farias d556e21287 Use House for MD comments 2024-11-27 18:59:15 -06:00
Jose Farias acac683b3e Do combobox filtering client-side 2024-11-25 16:25:42 -06:00
Jose Farias 5e09f5a9b9 Remove swapping 2024-11-25 16:17:44 -06:00
Jose Farias f266e46b57 Wire up comboboxes 2024-11-21 19:58:21 -06:00
Jose Farias fb04249209 Make filters into a simple form 2024-11-14 21:50:38 -06:00
Jason Zimdars b4623b632c No need for turbo frames here either 2024-11-14 12:33:34 -06:00
Jason Zimdars f7d7ea6e49 No need for turbo frames after all 2024-11-14 12:30:05 -06:00
Jason Zimdars ba861544fc Tighten assignment flow 2024-11-14 12:22:30 -06:00
Jason Zimdars 0ff0291c18 More immediate flow for date picking 2024-11-14 11:48:02 -06:00
Jason Zimdars c2df855211 Merge branch 'main' into bubble-perma
* main: (29 commits)
  Add assigners to filter summary
  Use `Current.user`'s name for filter chips
  Allow assigner ids param
  Sort filter params before hashing
  Fix tests
  Test field accessors
  Test filter chips controller
  Test filter terms
  Wire up assigner filters
  Spell out button_to params
  Use Filter class method to digest fixture params
  Add frame to search terms form
  Render each kind of filter in its own frame
  button -> chip
  No need to apply terms from the controller anymore
  Add terms to filter
  buttons -> chips
  Clean up Filter class methods
  KNOWN_PARAMS -> PERMITTED_PARAMS
  Remove most_active as index option
  ...
2024-11-14 10:43:21 -06:00
Jason Zimdars 619dcc171c Use turbo frame for assignments 2024-11-12 20:50:17 -06:00
Jason Zimdars 3da6f954dd Use turbo frame for due dates 2024-11-12 20:23:46 -06:00