mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 22:33:55 +08:00
9c65e2140a
This PR swaps out the custom pathway to publishing and rendering mention warnings after a message is sent. ChatPublisher#publish_notice is used, and expanded. Now, instead of only accepting text_content as an argument, component and component_args are accepted and there is a renderer for these components. Translations moved to server, as notices expect text to be passed in unless a component is rendered The warnings are rendered at the top now, outside of the scope of the single message that sent it. I entirely removed the jit_messages_spec b/c it's duplicate testing of other parts of the app. IMO we don't need a backend test for a feature, a component test for the feature AND a system test (that is slow and potentially even flakey due to timing issues with wait) to test the same thing. So jit_messages_spec is gone.
66 lines
2.0 KiB
SCSS
66 lines
2.0 KiB
SCSS
@import "chat-unread-indicator";
|
|
@import "chat-height-mixin";
|
|
@import "chat-thread-header-buttons";
|
|
@import "base-common";
|
|
@import "sidebar-extensions";
|
|
@import "chat-browse";
|
|
@import "chat-channel";
|
|
@import "chat-channel-card";
|
|
@import "chat-channel-info";
|
|
@import "chat-channel-preview-card";
|
|
@import "chat-channel-settings-saved-indicator";
|
|
@import "chat-channel-title";
|
|
@import "chat-composer-dropdown";
|
|
@import "chat-composer-upload";
|
|
@import "chat-composer-uploads";
|
|
@import "chat-composer";
|
|
@import "chat-composer-button";
|
|
@import "chat-drawer";
|
|
@import "chat-emoji-picker";
|
|
@import "chat-form";
|
|
@import "chat-index";
|
|
@import "chat-mention-warnings";
|
|
@import "chat-message-actions";
|
|
@import "chat-message-collapser";
|
|
@import "chat-message-images";
|
|
@import "chat-message-info";
|
|
@import "chat-message-left-gutter";
|
|
@import "chat-message-separator";
|
|
@import "chat-message-thread-indicator";
|
|
@import "chat-message";
|
|
@import "chat-notices";
|
|
@import "chat-onebox";
|
|
@import "chat-reply";
|
|
@import "chat-replying-indicator";
|
|
@import "chat-selection-manager";
|
|
@import "chat-side-panel";
|
|
@import "chat-skeleton";
|
|
@import "chat-tabs";
|
|
@import "chat-thread";
|
|
@import "chat-side-panel-resizer";
|
|
@import "chat-upload-drop-zone";
|
|
@import "chat-transcript";
|
|
@import "core-extensions";
|
|
@import "dc-filter-input";
|
|
@import "full-page-chat-header";
|
|
@import "incoming-chat-webhooks";
|
|
@import "reviewable-chat-message";
|
|
@import "chat-thread-list-item";
|
|
@import "chat-threads-list";
|
|
@import "chat-composer-separator";
|
|
@import "chat-thread-header";
|
|
@import "chat-thread-list-header";
|
|
@import "chat-thread-unread-indicator";
|
|
@import "chat-thread-participants";
|
|
@import "chat-message-error";
|
|
@import "chat-message-creator";
|
|
@import "chat-user-avatar";
|
|
@import "chat-modal-new-message";
|
|
@import "chat-modal-archive-channel";
|
|
@import "chat-modal-edit-channel-description";
|
|
@import "chat-modal-create-channel";
|
|
@import "chat-modal-create-channel";
|
|
@import "chat-modal-channel-summary";
|
|
@import "chat-modal-move-message-to-channel";
|
|
@import "chat-scroll-to-bottom";
|