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/components
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
..
chat-drawer DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
user-menu DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
channels-list.hbs DEV: Rename all uses of PluginOutlet @args in core 2023-01-31 13:51:25 +00:00
channels-list.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-browse-view.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-browse-view.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-channel-about-view.hbs FEATURE: Allow editing channel slug (#19948) 2023-01-30 13:18:34 +10:00
chat-channel-about-view.js FIX: Change wording from title -> name in channel about page (#19889) 2023-01-18 09:13:33 +10:00
chat-channel-archive-modal-inner.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-archive-modal-inner.js FIX: various fixes to channel archive status (#19649) 2022-12-29 11:45:40 +01:00
chat-channel-archive-status.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-archive-status.js FIX: Improve error reporting and failure modes for channel archiving (#19791) 2023-01-12 10:04:46 +10:00
chat-channel-card.hbs DEV: refactors routes to simplify using outlet (#20179) 2023-02-07 13:59:32 +01:00
chat-channel-card.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-channel-chooser-header.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-chooser-header.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-channel-chooser-row.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-chooser-row.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-channel-chooser.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-channel-delete-modal-inner.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-delete-modal-inner.js DEV: introduces documentation for chat (#19772) 2023-01-18 12:36:16 +01:00
chat-channel-leave-btn.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-leave-btn.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-channel-members-view.hbs FIX: Chat member user card rendered out of view (#20332) 2023-02-17 10:14:00 -03:00
chat-channel-members-view.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-channel-metadata.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-channel-metadata.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-channel-preview-card.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-channel-preview-card.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-channel-row.hbs DEV: refactors routes to simplify using outlet (#20179) 2023-02-07 13:59:32 +01:00
chat-channel-row.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-channel-selection-row.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-selection-row.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-channel-selector-modal-inner.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-selector-modal-inner.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-channel-settings-saved-indicator.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-settings-saved-indicator.js FEATURE: channels can allow/disallow @all/@here mentions (#19317) 2022-12-05 17:03:51 +01:00
chat-channel-settings-view.hbs REFACTOR: channel retention reminder text (#20310) 2023-02-15 14:50:01 +01:00
chat-channel-settings-view.js DEV: introduces documentation for chat (#19772) 2023-01-18 12:36:16 +01:00
chat-channel-status.hbs DEV: /channel -> /c chat route rename (#19782) 2023-01-27 09:58:12 -03:00
chat-channel-status.js REFACTOR: Fix pluralized strings in chat plugin (#20357) 2023-02-20 10:31:02 +01:00
chat-channel-title.hbs DEV: Rename all uses of PluginOutlet @args in core 2023-01-31 13:51:25 +00:00
chat-channel-title.js UX: reworks channel index (drawer and mobile) (#18892) 2022-11-28 18:38:05 +01:00
chat-channel-toggle-view.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-toggle-view.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-channel-unread-indicator.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-composer-dropdown.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-composer-inline-buttons.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-composer-inline-buttons.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-composer-message-details.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-composer-message-details.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-composer-upload.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-composer-upload.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-composer-uploads.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-composer-uploads.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-composer.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-composer.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-draft-channel-screen.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-draft-channel-screen.js DEV: routable chat part 2 (#20232) 2023-02-14 11:27:07 +01:00
chat-drawer.hbs DEV: routable chat part 2 (#20232) 2023-02-14 11:27:07 +01:00
chat-drawer.js DEV: routable chat part 2 (#20232) 2023-02-14 11:27:07 +01:00
chat-emoji-avatar.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-emoji-picker.hbs FIX: Allow keyboard navigation when searching emojis in chat (#20157) 2023-02-03 11:36:45 -03:00
chat-emoji-picker.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-full-page-header.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-full-page-header.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-header-icon-unread-indicator.hbs FEATURE: Chat header icon indicator preference (#20474) 2023-03-01 11:01:44 +10:00
chat-header-icon-unread-indicator.js FEATURE: Chat header icon indicator preference (#20474) 2023-03-01 11:01:44 +10:00
chat-header-icon.hbs A11Y: Header icons should be buttons, not links (#20242) 2023-02-10 13:55:51 -05:00
chat-header-icon.js UX: brings back URL on chat icon when in full page (#20092) 2023-01-31 10:16:45 +01:00
chat-live-pane.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-live-pane.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-mention-warnings.hbs REFACTOR: Move mention warnings logic into a separate service. (#19465) 2023-02-03 15:38:30 -03:00
chat-mention-warnings.js REFACTOR: Fix pluralized strings in chat plugin (#20357) 2023-02-20 10:31:02 +01:00
chat-message-actions-desktop.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-actions-desktop.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-actions-mobile.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-actions-mobile.js DEV: Glimmerize ChatMessageActionsDesktop/Mobile components (#20325) 2023-02-16 11:24:29 +01:00
chat-message-avatar.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-collapser.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-collapser.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-in-reply-to-indicator.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-in-reply-to-indicator.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-info.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-info.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-left-gutter.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-left-gutter.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-move-to-channel-modal-inner.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-move-to-channel-modal-inner.js DEV: routable chat part 2 (#20232) 2023-02-14 11:27:07 +01:00
chat-message-reaction.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-reaction.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-separator-date.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-separator-new.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-text.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-text.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-replying-indicator.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-replying-indicator.js REFACTOR: Fix pluralized strings in chat plugin (#20357) 2023-02-20 10:31:02 +01:00
chat-retention-reminder-text.hbs REFACTOR: channel retention reminder text (#20310) 2023-02-15 14:50:01 +01:00
chat-retention-reminder-text.js REFACTOR: channel retention reminder text (#20310) 2023-02-15 14:50:01 +01:00
chat-retention-reminder.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-retention-reminder.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-scroll-to-bottom-arrow.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-selection-manager.hbs DEV: Correct hbs prettier violations 2023-02-02 13:03:11 +00:00
chat-selection-manager.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-side-panel.hbs FEATURE: Chat side panel with threads initial skeleton (#20209) 2023-02-14 11:38:41 +10:00
chat-side-panel.js FEATURE: Chat side panel with threads initial skeleton (#20209) 2023-02-14 11:38:41 +10:00
chat-skeleton.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-skeleton.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-thread.hbs FEATURE: Chat side panel with threads initial skeleton (#20209) 2023-02-14 11:38:41 +10:00
chat-thread.js DEV: Move ChatThreadsManager to channel (#20304) 2023-02-16 10:00:40 +10:00
chat-to-topic-selector.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-to-topic-selector.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-upload.hbs FEATURE: Inline audio player for chat uploads (#20175) 2023-02-06 16:00:03 +10:00
chat-upload.js FEATURE: Inline audio player for chat uploads (#20175) 2023-02-06 16:00:03 +10:00
chat-user-avatar.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-user-avatar.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-user-display-name.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-user-display-name.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-user-info.hbs FIX: Chat member user card rendered out of view (#20332) 2023-02-17 10:14:00 -03:00
chat-user-info.js FIX: Chat member user card rendered out of view (#20332) 2023-02-17 10:14:00 -03:00
chat-vh.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
collapser.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
collapser.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
d-progress-bar.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
d-progress-bar.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
dc-filter-input.hbs FIX: Emoji autocomplete “more” button not working in chat (#20113) 2023-02-02 15:04:52 -03:00
dc-filter-input.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
direct-message-creator.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
direct-message-creator.js DEV: routable chat part 2 (#20232) 2023-02-14 11:27:07 +01:00
full-page-chat.hbs DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
full-page-chat.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
on-visibility-action.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
on-visibility-action.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
reviewable-chat-message.hbs DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
reviewable-chat-message.js DEV: Enable @cached decorator for themes and plugins (#19261) 2022-11-30 15:53:54 +00:00
sidebar-channels.hbs DEV: routable chat part 2 (#20232) 2023-02-14 11:27:07 +01:00
sidebar-channels.js DEV: routable chat part 2 (#20232) 2023-02-14 11:27:07 +01:00
toggle-channel-membership-button.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
toggle-channel-membership-button.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
user-card-chat-button.hbs UX: hide chat button on user card when suspended (#20292) 2023-02-14 21:12:50 +01:00
user-card-chat-button.js DEV: routable chat part 2 (#20232) 2023-02-14 11:27:07 +01:00