This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins/chat/assets/javascripts/discourse
Joffrey JAFFEUX 6b0aeced7e
DEV: rework the chat-live-pane (#20519)
This PR is introducing glimmer usage in the chat-live-pane, for components but also for models. RestModel usage has been dropped in favor of native classes.

Other changes/additions in this PR:

sticky dates, scrolling will now keep the date separator of the current section at the top of the screen
better unread management, marking a channel as unread will correctly mark the correct message and not mark the whole channel as read. Tracking state will also now correctly return unread count and unread mentions.
adds an animation on bottom arrow
better scrolling behavior, we should now always correctly keep the scroll position while loading more
reactions are now more reactive, and will update their tooltip without needed to close/reopen it
skeleton has been improved with placeholder images and reactions
when making a reaction on the desktop message actions, the menu won't move anymore
simplify logic and stop maintaining a list of unloaded messages
2023-03-03 13:09:25 +01:00
..
adapters FIX: better chat-api error handling (#19550) 2022-12-21 16:11:35 +01:00
components DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
connectors UX: update user chat preference link for new nav (#20518) 2023-03-03 06:50:47 +08:00
controllers DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
helpers DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
initializers DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
lib DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
models DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
modifiers/chat DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
pre-initializers DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00
routes DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
services DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
templates DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
widgets DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
admin-chat-route-map.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-route-map.js FEATURE: Chat side panel with threads initial skeleton (#20209) 2023-02-14 11:38:41 +10:00
preferences-chat-route-map.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00