discourse/plugins/chat/assets/javascripts/discourse/controllers
David Battersby 4512e5652f
FEATURE: Mobile Chat Footer Redesign (#25161)
This update adds three tabs to the bottom of the chat overlay to make it easier for users to navigate chat on mobile.

As a result of this change:

- Direct Messages are now shown separately from public channels on mobile
- My Threads has now moved from the channel list to it's own tab on mobile
- My Threads can still be accessed on desktop via the sidebar and within the drawer channel list
- Chat back button has been updated to navigate to the correct tab (for both channels and threads)

Some special cases:

- If DMs are not used then the tab is not rendered
- If the user has no threads then the tab is not rendered
- If both the tabs for DMs and Threads aren't available then the whole footer will not be rendered
- Chat footer is only shown on the listing pages (DMs, Channels, My Threads)

---------

Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2024-01-16 14:29:33 +08:00
..
admin-plugins-chat.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
chat-channel-index.js
chat-channel-thread.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
chat-channel.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
chat-draft-channel.js DEV: routable chat part 2 (#20232) 2023-02-14 11:27:07 +01:00
chat-index.js DEV: routable chat part 2 (#20232) 2023-02-14 11:27:07 +01:00
chat.js FEATURE: Mobile Chat Footer Redesign (#25161) 2024-01-16 14:29:33 +08:00
preferences-chat.js FEATURE: Add new chat indicator preference for Only Mentions (#23848) 2023-10-27 15:58:19 +08:00