feat(ui): message action bar -> icon toolbar + overflow menu (LC-376) #385
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/lc-376-message-action-menu"
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-376. Part of the LC-375 room-view deep-polish epic. The headline item from the
data/room0619.pngreview.What
Replaces the long horizontal run of mixed-color text links that floated over each message (Reply, Thread, Copy link, Copy text, Pin, Save, Remind, Mark unread, Forward, Report, Flag, Edit, Delete) with a compact icon toolbar anchored top-right.
.lc-msg-actiontreatment with LC-370 tooltips....overflow menu for the long tail (copy link, copy text, pin/unpin, save/unsave, remind, mark-unread, forward, report, edit). Native<details>+.lc-menu-itemrows (the LC-368 menu styling) - no per-row JS.room/messages.htmlcloses the menu on Escape / outside-click and closes others when one opens. Copy actions keep their menu open so the in-place "Copied" feedback stays visible. The chip stays visible while a menu is open via.lc-msg-actions:has(details[open]), on top of the existing hover / focus-within reveal.Preserved
Every action keeps its exact route,
hx-*wiring, target id (#msg-{id}, modals, sidebar), and confirm. The quick-react MRU bar is unchanged. The shame-tag Flag stays an inline icon rather than a menu row, because its popover lazy-loads throughtoggle ... from:closest details, which a nested<details>inside the menu would break (noted in the template).i18n / tests
room-msg-moreinen+es../dev/cargo check,just build-css,just test,just test-saas- all green.Note
LC-377 (the sibling ticket) will refine the quick-react
+into a proper add-reaction affordance and handle row grouping; this PR deliberately leaves the quick-react bar as-is.🤖 Generated with Claude Code