0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/plugins/chat/spec/models
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
..
chat FEATURE: Sticky bar for pinned messages in chat channels (#41091) 2026-08-02 11:40:44 -03:00
category_spec.rb DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
user_option_spec.rb FEATURE: Make the message send shortcut a core user option (#42105) 2026-07-28 13:58:12 -07:00
user_spec.rb