0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-15 17:24:47 +08:00
discourse/plugins/chat/assets/javascripts/discourse/components/chat-channel-chooser-header.hbs
Joffrey JAFFEUX 09277bc543
FEATURE: my threads page (#24771)
This commit adds a new "My threads" link in sidebar and drawer. This link will open the "/chat/threads" page which contains all threads where the current user is a member. It's ordered by activity (unread and then last message created).

Moreover, the threads list of a channel page is now showing every threads of a channel, and not just the ones where you are a member.
2023-12-11 07:38:07 +01:00

9 lines
No EOL
259 B
Handlebars
Vendored

<div class="select-kit-header-wrapper">
{{#if this.selectedContent}}
<ChannelTitle @channel={{this.selectedContent}} />
{{else}}
{{i18n "chat.incoming_webhooks.channel_placeholder"}}
{{/if}}
{{d-icon this.caretIcon class="caret-icon"}}
</div>