feat(ui): refine the day / unread divider styling (LC-379) #388
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/lc-379-day-divider"
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-379. Part of the LC-375 room-view deep-polish epic.
What
Refines the "TODAY" day separator into a lighter Slack/Discord-style divider: a hairline rule on each side of a small rounded, muted pill label.
.lc-day-divider/.lc-day-rule/.lc-day-chipclasses, so the server render (room/message.html) and the client insert for live day-boundary arrivals (partials/auto_scroll.html) stay byte-identical by construction instead of by matching long Tailwind strings.role="separator"is preserved on both..lc-day-rule-danger/.lc-day-chip-danger), so the two separators read as one family. It is server-rendered only (auto_scroll just queries[data-unread-divider]for scroll positioning, never inserts it), so no client parity is needed there.Tests
./dev/cargo check,just build-css,just test,just test-saas- all green.day_label, so none needed regenerating.🤖 Generated with Claude Code