Jason Zimdars
0b28a18c05
Rework boosts form so you can enter any integer
2024-12-13 16:54:11 -06:00
Jose Farias
3e1b2c74e4
Make one-way assignment and tagging methods private
2024-11-25 17:55:25 -06:00
Jose Farias
a9f845ed47
Assigner is always Current.user
2024-11-25 17:51:20 -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
e117f4e5af
boost_count -> boosts_count
...
This aligns better with counter_cache conventions, in case we turn boosts into a model later
2024-11-19 14:22:51 -06:00
Jose Farias
9ac136bace
Rescore bubble from Message, not Comment
2024-11-19 13:27:09 -06:00
Jose Farias
f17b060906
Move rescoring concerns to bubble
2024-11-15 19:48:53 -06:00
Jose Farias
b4e8adca47
Pre-calculate comment counts and activity scores
2024-11-15 18:17:42 -06:00
Jose Farias
458a6a1ac2
Wire up assigner filters
2024-11-13 13:34:51 -06:00
Jose Farias
f2706d0f74
Unnest bubble filters
2024-11-05 13:04:05 -06: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
ede04d6d96
Fix search tests
2024-10-27 12:33:33 -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
3cd1d34f9d
Thread entries relay touches to thread
2024-10-24 19:27:55 -06:00
Jose Farias
f5b01415aa
Bubble events can be deleted
2024-10-24 18:01:32 -06:00
Jose Farias
3db14a117c
Store stage ids in event particulars
2024-10-24 17:36:40 -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
5fed37a8c4
Refactor Bubble::Thread#latest_rollup
2024-10-24 10:55:30 -06:00
Jose Farias
a49c6dc3f6
Refactor Bubble#toggle_stage
2024-10-24 10:51:23 -06:00
Jose Farias
804be0a971
Create thread entry in a callback
2024-10-24 10:38:59 -06:00
Jose Farias
e1f03fb8fd
comment! -> comment
2024-10-23 19:13:35 -06:00
Jose Farias
ca85326638
Simplify Bubble#comment!
2024-10-23 19:07:48 -06:00
Jose Farias
a0c1c7d0ed
Move rollup param further up
2024-10-23 19:06:55 -06:00
Jose Farias
208ace7214
Delegate Current.user to session
2024-10-23 18:49:40 -06:00
Jose Farias
cf22fb454a
not_popped -> active
2024-10-23 18:32:27 -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
35a31e3203
Model threadables
2024-10-23 14:10:04 -06:00
Jose Farias
06ea38a9f7
Denormalize event data
2024-10-23 13:38:00 -06:00
Jose Farias
b0565fbf20
Spike workflows
2024-10-21 15:33:30 -06:00
David Heinemeier Hansson
b1f5498914
Encapsulate tagging as a taggable domain method
...
Tag scope control should not float around in the controller
2024-10-19 20:14:59 -07:00
David Heinemeier Hansson
255435a38f
No need for a non-standard factory method for something this simple
2024-10-19 19:53:20 -07:00
David Heinemeier Hansson
7bd882f33c
Extract explaining variable and move work outside the transaction constraint
2024-10-19 17:10:32 -07:00
Jose Farias
6dc01479b7
Fix search form
2024-10-17 21:34:48 -06:00
Jose Farias
e754b5bf92
Move all of Bubble's searchable concerns into Searchable
2024-10-17 17:38:33 -06:00
Jose Farias
f4b5210ca1
Spike persisted filters
2024-10-16 16:41:11 -06:00
Jose Farias
df83c72d6e
Use dependent: :destroy for comments
2024-10-15 12:42:07 -06:00
Jose Farias
a4461d38d1
TOC order in Rollup
2024-10-12 23:28:16 -06:00
Jose Farias
1d6acb6119
Stop caching threads — YAGNI
2024-10-12 23:23:12 -06:00
Jose Farias
2c6c821e20
Use local time for rollups
2024-10-12 23:03:27 -06:00
Jose Farias
9e64f3d62a
Remove unused boost_count
2024-10-12 22:49:36 -06:00