mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:39:43 +08:00
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> |
||
|---|---|---|
| .. | ||
| controllers/chat | ||
| jobs | ||
| models | ||
| queries/chat | ||
| serializers/chat | ||
| services/chat | ||
| validators/chat | ||
| views | ||