feat(ui): unify the room / DM / home headers (LC-373) #383
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/lc-373-room-header"
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-373. Part of the LC-364 redesign epic.
What
Gives the room, DM, and home/welcome panes one shared top-bar skeleton instead of three slightly different headers. Files:
partials/room_header.html,partials/dm_header.html,home/welcome.html,main.css..lc-header(consistent height, padding, bottom border, left title cluster + right action cluster) and.lc-header-action(one icon / icon+label treatment with a muted-to-content sunken hover) inmain.css, replacing the prior mix of bordered pills (room) and bare accent-hover icon buttons (DM).data-lc-density-tight="header"(the compact rule still wins on padding by specificity), the in-room search (LC-268), jump-to-date, info, moderators, and notify controls. Title uses thelc-h1scale; topic useslc-small..lc-header-actionscluster on the shared treatment (block tinted danger on hover).Preserved
All existing actions, routes, htmx wiring, call
data-*attributes, mute/block forms, and the LC-370 tooltips. The DM call buttons' nativetitle=is migrated to the styled tooltip. No backend or i18n changes.Testing
./dev/cargo check -p lets-chat-server- clean.just build-css- clean.just testandjust test-saas- both green.🤖 Generated with Claude Code