Commit Graph

5512 Commits

Author SHA1 Message Date
Jose Farias f782b43ef5 find_or_create_next_summary -> find_or_create_active_summary 2024-10-27 12:36:37 -06:00
Jose Farias 4cd5dc0b35 Fix event tests 2024-10-27 12:33:51 -06:00
Jose Farias ede04d6d96 Fix search tests 2024-10-27 12:33:33 -06:00
Jose Farias 993870c10c Messageable concerns aren't actually dependent on Messages 2024-10-27 12:23:47 -06:00
Jose Farias 5601949f3b Only tally boosts if there are any 2024-10-27 12:16:36 -06:00
Jose Farias 45ba9b7a70 Use helpers instead of partials for events 2024-10-27 12:13:03 -06:00
Jose Farias f9712ea53f Messageables don't belong to bubble directly 2024-10-27 11:57:33 -06:00
Jose Farias 5ea2004adb Use tag helper for current-user meta 2024-10-27 11:50:42 -06:00
Jose Farias ee96d4425e Inline selector method in created-by-user-controller 2024-10-25 16:14:16 -06:00
Jose Farias 8cbd9d0316 Prune stale brakeman ignore re: threads 2024-10-25 16:10:00 -06:00
Jose Farias 17dab8e310 Remove references to thread 2024-10-25 16:09:20 -06:00
Jose Farias 1b2df2200f Unnecessary after_touch 2024-10-25 16:06:43 -06:00
Jose Farias a3edee6e58 Extract grouping of boosts 2024-10-25 16:06:34 -06:00
Jose Farias 9855ae5b16 Remove min-height on event summary
This was for when we were bundling the boosts client-side and event summaries could be empty
2024-10-25 15:50:41 -06:00
Jose Farias e85f688e35 Remove JS extensions 2024-10-25 15:46:05 -06:00
Jose Farias 66fab4d0b0 Index events con summary + action 2024-10-25 15:45:04 -06:00
Jose Farias 7b104287ba Roll up boosts server-side 2024-10-25 15:39:54 -06:00
Jose Farias 9eb07c559b Bucket views already filter for status 2024-10-25 15:28:23 -06:00
Jose Farias 46c2b450da has_one allows for touch: true 2024-10-25 15:25:57 -06:00
Jose Farias 9a562d8ab1 differentiator -> mine 2024-10-25 15:08:22 -06:00
Jose Farias a1c7de721b Remove remaining rollup references 2024-10-25 15:05:07 -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 d88d9437f8 Clean up bubble tests 2024-10-24 18:21:06 -06:00
Jose Farias 4e3eee57f5 map -> pluck 2024-10-24 18:16:41 -06:00
Jose Farias 2387abbe7c Merge branch 'main' into threadables
* main:
  Stub bookmark buttons
  Move delete to filters index
  Move edit to the index
2024-10-24 18:15:54 -06:00
Jose Farias 78232fabf8 map -> pluck 2024-10-24 18:15:23 -06:00
Jose Farias f5b01415aa Bubble events can be deleted 2024-10-24 18:01:32 -06:00
Jose Farias b16d2ed2d8 Pull out .#isBoosted() in rollup-controller 2024-10-24 17:53:36 -06:00
Jose Farias 652ec68e9c Threadables should thread entry 2024-10-24 17:48:32 -06:00
Jose Farias 2a4a07f00a Typo in rollup-controller 2024-10-24 17:45:35 -06:00
Jose Farias 3db14a117c Store stage ids in event particulars 2024-10-24 17:36:40 -06:00
Jose Farias 2dd719e94b Don't summarize boosts if there are none 2024-10-24 17:36:26 -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 7132fdd962 Might be ok for some events not to have rollups
e.g. if we add events that don't get rolled up
2024-10-24 16:04:12 -06:00
Jose Farias 3543121d3d thread-controller -> created-by-current-user-controller 2024-10-24 16:00:09 -06:00
Jose Farias ad88f90302 Fine not to denormalize user names in events 2024-10-24 15:50:00 -06:00
Jose Farias e2f608eb71 Remove *_names accessors for bucket views 2024-10-24 15:47:39 -06:00
Jose Farias 08184d0ec8 Give rollups a min height 2024-10-24 15:14:19 -06:00
Jose Farias d1f70ae2f8 Write template dependency comments 2024-10-24 15:14:10 -06:00
Jose Farias 28a024b1da Pull out Threadable::TYPES 2024-10-24 11:36:24 -06:00
Jose Farias 86e69c3989 Reorder events fixtures attributes 2024-10-24 11:33:06 -06:00
Jose Farias 042bc2c10e Use Proc for Threadable after_create 2024-10-24 11:31:06 -06:00
Jose Farias 70ff52f883 Move inverse_of further up 2024-10-24 11:28:59 -06:00
Jose Farias e3db8e8700 Inline thread entry creation 2024-10-24 11:25:50 -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 60f8ae7c4c Remove boost_event_tag helper 2024-10-23 19:22:26 -06:00