feat(ui): widen same-author message grouping to 15 min + day-break (LC-387) #398
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/lc-387-grouping-pills"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes LC-387. Part of the LC-383 room-polish-2 epic.
What
Consecutive same-author messages a few minutes apart repeated the full avatar + name + timestamp header (the noisy "Stripe Integrator x4" run in the screenshots) because the grouping window was only 5 minutes - a normal back-and-forth burst from one person breaks it.
MESSAGE_GROUPING_WINDOW_SECONDS300 -> 900, so such a burst groups under one header, with follow-ups indented and their HH:MM revealed on row hover (LC-377).is_follow_up_ofso a near-midnight follow-up cannot render headerless under the day divider the client inserts - a day change always starts a fresh header, even inside the window.Pills
Reactions already render as compact count pills (
rounded-fullchips with counts) distinct from the smiley add-reaction control (LC-374/LC-377), on the indented content column - confirmed, no change needed.Tests
window_is_fifteen_minutes, the gap/boundary cases) and a newnot_follow_up_across_day_boundary../dev/cargo check,just test,just test-saas- all green.🤖 Generated with Claude Code