feat(pins): dismissible Telegram-style pinned banner (LC-481) #485
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/LC-481-pinned-banner-dismiss"
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?
LC-481 - Pinned message as a dismissible room banner
The LC-264 pinned strip already renders top-of-room pins (collapsible, live-updated on pin/unpin). This adds the one thing it lacked: Telegram-style dismiss.
Change
data-lc-pin-latest= the most recently pinned message id (top_pinsispinned_at DESC, so the first row; 0 when there are no pins).Render-only plus a small extension to the existing pinned-strip script; reuses the
MessagePinned/MessageUnpinnedOOB re-render path (the new strip after a pin is un-dismissed automatically onhtmx:afterSettle).Tests
just check,just test,just test-saasall pass (i18n catalog parity covers the newpartials-pinned-dismisskey in en+es). No test constructs the strip view by hand, so no contract drift. No new Tailwind classes, no migration, not operator-visible.🤖 Generated with Claude Code