0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-14 13:58:53 +08:00
discourse/plugins/chat/spec/system/shortcuts
Renato Atilio 7f90056811
FEATURE: Sticky bar for pinned messages in chat channels (#41091)
Surfaces pinned messages directly in the channel instead of only behind
a side panel. A sticky bar at the top of the message list shows the most
recently pinned message; when several messages are pinned a position
indicator appears and tapping the bar cycles through them, jumping to
each pinned message in the conversation.

<img width="413" height="174" alt="image"
src="https://github.com/user-attachments/assets/f01f38cd-bd4d-4b97-9aa1-354a62cda7d5"
/>

The bar's list icon opens the full pinned-messages panel, replacing the
navbar pinned-messages button, which is removed to declutter the header.
The bar refreshes from the committed pin/unpin message bus events so it
stays in sync as messages are pinned and unpinned.

---------

Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
Co-authored-by: Martin Brennan <martin@discourse.org>
2026-08-02 11:40:44 -03:00
..
drawer_spec.rb DEV: Make visit() wait for the app to boot (#39659) 2026-04-30 17:33:57 +02:00
full_page_spec.rb FEATURE: Sticky bar for pinned messages in chat channels (#41091) 2026-08-02 11:40:44 -03:00
mark_all_read_spec.rb
sidebar_spec.rb