0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/chat/assets/javascripts
Kris da11a72df0
UX: allow links in pinned chat messages, update livestream (#42322)
This allows links in pinned chat messages — now that these are more
prominent they can be used to link to important information near the
chat header.

This also updates the use of pinned messages in livestream chat to
utilize the links to refer to the livestream topic. The mechanism for
hiding the first pin in the livestream topic docked chat needed to be
updated.

When viewing a livestream chat while not in the topic you see the topic
reference pin:

<img width="450" alt="image"
src="https://github.com/user-attachments/assets/ed16b592-05a9-4450-95b0-0843a653e55b"
/>

This automatically pinned message is hidden when using the docked
livestream chat, as you're already in the topic:

<img width="1000" alt="image"
src="https://github.com/user-attachments/assets/5c562154-b847-4d98-9075-afd563012673"
/>
2026-08-05 14:35:16 -04:00
..
discourse UX: allow links in pinned chat messages, update livestream (#42322) 2026-08-05 14:35:16 -04:00
lib SECURITY: Stored XSS chat-transcript username unescaped in Rich Text Editor 2026-07-28 16:40:22 +02:00