Kevin McConnell
469dbd0ba5
Don't track assignment notifications until publishing
2025-02-11 14:34:39 +00:00
Kevin McConnell
e6fe7f680d
Associate Event with Bubble
...
It's kind of a long way to get from one to the other right now. Every
event belongs to a bubble, so let's link them directly.
2025-01-17 14:40:36 +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
196575c0a2
Use a job to generate notifications
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
22be073a92
Sanitize search terms
2025-01-08 16:49:40 +00:00
Jose Farias
2f7baaff29
create -> create!
2024-10-28 10:47:49 -06:00
Jose Farias
404755c9d9
Clean up Bubble#track_event
2024-10-28 10:20:39 -06:00
Jose Farias
0727414017
Lean into delegated types APIs
2024-10-27 17:39:30 -06:00
Jose Farias
f782b43ef5
find_or_create_next_summary -> find_or_create_active_summary
2024-10-27 12:36:37 -06:00
Jose Farias
f9712ea53f
Messageables don't belong to bubble directly
2024-10-27 11:57:33 -06:00
Jose Farias
85d47a35ab
threadables -> messageables
2024-10-25 15:03:31 -06:00
Jose Farias
f5b01415aa
Bubble events can be deleted
2024-10-24 18:01:32 -06:00
Jose Farias
c57f18c20c
Materialize abstract thread
...
The domain language is clearer if we just persist a thread. Also rename some models so their purpose is clear.
2024-10-24 17:36:14 -06:00
Jose Farias
ad88f90302
Fine not to denormalize user names in events
2024-10-24 15:50:00 -06:00
Jose Farias
c41da5837c
Add back bubble association to events
2024-10-24 11:22:23 -06:00
Jose Farias
804be0a971
Create thread entry in a callback
2024-10-24 10:38:59 -06:00
Jose Farias
a0c1c7d0ed
Move rollup param further up
2024-10-23 19:06:55 -06:00
Jose Farias
77e00488af
Move rollup further up
2024-10-23 18:09:32 -06:00
Jose Farias
11efca5af9
Bubbles don't have events anymore
2024-10-23 18:08:01 -06:00
Jose Farias
567dec2197
Simplify threadable<>bubble relationships
2024-10-23 17:29:24 -06:00
Jose Farias
ae497aae85
Clear up dependency destruction chain
...
Buckets destroy their bubbles, which destroy their thread entries, which destroy their threadables, which is how comments end up destroyed, and then rollups end up deleting their events
2024-10-23 14:51:12 -06:00
Jose Farias
06ea38a9f7
Denormalize event data
2024-10-23 13:38:00 -06:00
Jose Farias
ec7fc75054
Spike events system
2024-10-11 20:14:09 -05:00