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
Martin Brennan 387693e889
FIX: Improve error reporting and failure modes for channel archiving (#19791)
There was an issue with channel archiving, where at times the topic
creation could fail which left the archive in a bad state, as read-only
instead of archived. This commit does several things:

* Changes the ChatChannelArchiveService to validate the topic being
  created first and if it is not valid report the topic creation errors
  in the PM we send to the user
* Changes the UI message in the channel with the archive status to reflect
  that topic creation failed
* Validate the new topic when starting the archive process from the UI,
  and show the validation errors to the user straight away instead of
  creating the archive record and starting the process

This also fixes another issue in the discourse_dev config which was
failing because YAML parsing does not enable all classes by default now,
which was making the seeding rake task for chat fail.
2023-01-12 10:04:46 +10:00
..
user-menu DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
channels-list.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
channels-list.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +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 DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-about-view.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01: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: Apply prettier to hbs files 2022-12-28 13:11:12 +00: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: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +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 DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00: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: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-metadata.js FIX: ensures chat channel metadata date is updated (#19314) 2022-12-05 14:47:01 +01:00
chat-channel-preview-card.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-preview-card.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-channel-row.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00: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 FIX: at this point in time component can be destroyed (#19677) 2023-01-02 19:17:10 +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 DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-channel-settings-view.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-channel-status.hbs FIX: various fixes to channel archive status (#19649) 2022-12-29 11:45:40 +01:00
chat-channel-status.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-channel-title.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +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: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-composer-dropdown.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03: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 REFACTOR: naming and state refactor (#19187) 2022-11-25 14:15:38 +01:00
chat-composer.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-composer.js UX: Hashtag autocomplete styling (#19426) 2022-12-19 12:31:45 +01:00
chat-draft-channel-screen.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-draft-channel-screen.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-drawer.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-drawer.js FIX: correctly handles navigating to a message (#19614) 2022-12-23 19:48:14 +01:00
chat-emoji-avatar.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-emoji-picker.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-emoji-picker.js UX: improves arrow support in chat emoji picker (#19038) 2022-11-16 08:52:48 +01:00
chat-header-icon-unread-indicator.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-header-icon-unread-indicator.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-header-icon.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-header-icon.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-live-pane.hbs FIX: various fixes to channel archive status (#19649) 2022-12-29 11:45:40 +01:00
chat-live-pane.js FIX: more stable system tests (#19678) 2023-01-03 14:53:41 +10:00
chat-mention-warnings.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-mention-warnings.js FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
chat-message-actions-desktop.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-message-actions-desktop.js PERF: do not cancel debounce and prevents popper on scroll (#19280) 2022-12-01 14:33:46 +01:00
chat-message-actions-mobile.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-message-actions-mobile.js REFACTOR: chat-msgactions (#18969) 2022-11-10 15:08:14 +01:00
chat-message-avatar.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-message-avatar.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-message-collapser.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-message-collapser.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-message-info.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-message-info.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-message-left-gutter.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-message-move-to-channel-modal-inner.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-message-move-to-channel-modal-inner.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-message-reaction.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-message-reaction.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-message-separator.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-message-separator.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-message-text.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-message-text.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-message.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-message.js FIX: Bookmark auto delete preference usage and default value (#19707) 2023-01-05 08:43:58 +10:00
chat-replying-indicator.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-replying-indicator.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-retention-reminder.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-retention-reminder.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-selection-manager.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-selection-manager.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-skeleton.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00: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 DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
chat-upload.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03: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-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 DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00: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 REFACTOR: handles every chat resource as an URL (#18961) 2022-11-11 06:39:15 +01:00
full-page-chat.hbs DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
full-page-chat.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +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: Apply prettier to hbs files 2022-12-28 13:11:12 +00: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: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
sidebar-channels.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03: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 DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
user-card-chat-button.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00