Commit Graph

161 Commits

Author SHA1 Message Date
Jose Farias 4441dc7cd8 Test passing params in different order 2025-01-15 16:55:57 -06:00
Jose Farias 19874dcc2a Test creating an equivalent filter with a different user 2025-01-15 16:41:25 -06:00
Jose Farias e9a085f848 Simplify filters 2025-01-15 16:27:33 -06:00
Kevin McConnell 056d853cc8 Don't notify while bubbles are still drafted 2025-01-15 11:42:35 +00:00
Kevin McConnell 731f93b55a Add test 2025-01-15 10:58:00 +00: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 345acb1c0b Add test for readings controller 2025-01-14 14:38:46 +00:00
Kevin McConnell 9fc5311ddc Add simple controller test 2025-01-14 14:10:24 +00:00
Kevin McConnell 9ddb7b260b Remove empty test 2025-01-14 14:07:21 +00:00
Kevin McConnell df260840ab Simplify test 2025-01-14 13:29:39 +00:00
Kevin McConnell 78b7fe0f3d Fix tests 2025-01-14 13:21:20 +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
Kevin McConnell 46989f6ebe Mark notification read when viewing the Bubble 2025-01-13 14:21:47 +00:00
Kevin McConnell 271ac063f9 Adjust a fixture 2025-01-13 14:21:47 +00:00
Kevin McConnell c62e800b08 Notifications are all related to a Bubble 2025-01-13 14:21:47 +00:00
Kevin McConnell d536358228 Make fixture match expected content 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 e67ac372d3 Fix test 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 dc53a39b93 Update notification body 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 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 22be073a92 Sanitize search terms 2025-01-08 16:49:40 +00:00
Kevin McConnell 93536c3e41 Don't reload entire page when creating comment 2025-01-07 14:47:31 +00: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 7d83874266 Use Redcarpet for plain text rendering 2024-12-18 16:39:56 -06:00
Jason Zimdars 592c88e639 Add session transfer feature 2024-12-18 12:38:53 -06:00
Jose Farias cb1686d84e Use house ssr 2024-12-17 18:02:42 -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
Jose Farias 4fc7ab1582 Spike potential redcarpet replacement 2024-12-17 00:32:58 -06:00
Jason Zimdars 1eb40a318b Update test 2024-12-16 17:49:21 -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 285bde1e52 Use path helpers in tests 2024-12-16 11:36:24 -06:00
Jose Farias e085cb7497 Split into new tests 2024-12-16 11:35:50 -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 5fdea98b8d Update this test, too 2024-12-16 11:15:56 -06:00
Jason Zimdars 6bd15dd653 Adjust tests to match new behavior 2024-12-16 10:42:11 -06:00
Jose Farias aed33620ba Reapply "Destroy equivalent filters upon resource removal"
This reverts commit 5e09fddbe0.
2024-12-13 18:51:22 -06:00
Jose Farias 5e09fddbe0 Revert "Destroy equivalent filters upon resource removal"
This reverts commit 6c69bf7dc1.
2024-12-13 18:49:41 -06:00
Jose Farias 6c69bf7dc1 Destroy equivalent filters upon resource removal 2024-12-13 17:26:30 -06:00
Jose Farias 2f7c3d0fd3 Punt on removing filters for inaccessible buckets
Current behavior just stops querying for bubbles in inaccessible buckets. That might be fine.
2024-12-13 14:41:10 -06:00
Jose Farias 4095eba266 Can't see bubbles in buckets you've lost access to 2024-12-13 14:37:19 -06:00
Jose Farias ce0577d3c1 Users can remove themselves from buckets 2024-12-13 14:07:48 -06:00
Jose Farias 6ea3053f7f Fix redirect assertion 2024-12-12 20:15:06 -06:00
Jose Farias da6e32e218 Fix redirect assertion 2024-12-12 20:14:41 -06:00