feat(ui): room header notify pill + title polish (LC-378) #387
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/lc-378-room-header-notify"
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-378. Part of the LC-375 room-view deep-polish epic.
What
The room header's structural alignment landed in LC-373 (shared
.lc-headerskeleton,lc-h1title,lc-smalltopic,.lc-header-actionbuttons). This finishes the remaining hierarchy items..lc-header-actiontreatment so it matches Info / Moderators in height and hover. Muted state tints warning at rest; the open state tints sunken (via thearia-expandedvariant). The bell-slash icon carries the state independent of color.#becomes a muted prefix span so the name reads as the primary identity.Preserved
The notify disclosure menu, its radio form, the
hx-posttonotify-prefs, and the#lc-room-headerswap target are all unchanged. No backend or i18n changes (reuses theroom-notify-*keys).Tests
./dev/cargo check,just build-css(confirmed thearia-expanded:variant generates),just test,just test-saas- all green. The room header is not part of the LC-77 message fixtures, so none needed regenerating.🤖 Generated with Claude Code
Restyle the room header's notification control from a plain bordered word ("Unmuted") into a proper header pill: a bell icon (or a bell with a slash when muted) plus the current state label, on the shared .lc-header-action treatment so it aligns in height and hover with the Info / Moderators actions. The muted state tints warning at rest and the open state tints sunken (aria-expanded variant); the bell-slash icon carries the state independent of color. The disclosure menu, its radio form, the hx-post to notify-prefs, and the #lc-room-header swap target are all unchanged. Also tighten the title block: the room-name `#` becomes a muted prefix span so the name itself reads as the primary identity, leaving the lc-h1 name + lc-small topic subline from LC-373 intact. No backend or i18n changes; reuses the existing room-notify-* keys. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>