Kevin McConnell
4216b1123e
Formatting
2025-03-18 17:53:32 +00:00
Kevin McConnell
bc5e32e737
Only "published" notifies collection subscribers
...
The other notifications are only sent to the watchers of the bubble.
2025-03-18 17:46:57 +00:00
Kevin McConnell
93474002b7
Add test for watchers_and_subscribers
2025-02-27 16:27:12 +00:00
Kevin McConnell
84d06c7f0b
Creators watch their own bubble by default
2025-02-26 10:53:03 +00:00
Kevin McConnell
a238f504e4
Don't create initial watches
...
We have subscriptions instead now. Watches need only be created as
necessary to override the defaults.
2025-02-26 10:53:03 +00:00
Kevin McConnell
f22742c431
watched_by? should reflect subscriptions too
2025-02-26 10:53:03 +00:00
Kevin McConnell
6157d8b4bd
Start watching when participating on a bubble
...
If you're added as an assignee, or if you comment, then your watching
preference will be toggled on.
2025-02-26 10:53:03 +00:00
Kevin McConnell
694783e5f3
Allow toggling watch preference
...
We use a true/false preference so we can tell the difference between
disabling the watch vs never having the watch. This is so we can toggle
off and on the preferences for a container (like the bucket) without
losing any bubble-specific preferences.
2025-02-26 10:53:03 +00:00
Kevin McConnell
59144ad17a
Add Watches to track notification preferences
2025-02-26 10:53:03 +00:00