discourse/plugins/chat/test/javascripts/components
Mark VanLandingham 9c65e2140a
DEV: Use Notice API for mention warnings (#23238)
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.
2023-09-01 09:07:23 -05:00
..
chat-channel-card-test.js DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
chat-channel-leave-btn-test.js DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
chat-channel-metadata-test.js DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
chat-channel-preview-card-test.js DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
chat-channel-row-test.js DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
chat-channel-settings-saved-indicator-test.js FEATURE: channels can allow/disallow @all/@here mentions (#19317) 2022-12-05 17:03:51 +01:00
chat-channel-settings-view-test.js REFACTOR: channel retention reminder text (#20310) 2023-02-15 14:50:01 +01:00
chat-channel-status-test.js DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
chat-channel-test.js FEATURE: thread pagination (#22624) 2023-07-27 09:57:03 +02:00
chat-channel-title-test.js Revert "FIX: correctly respects full name settings in channel title (#22566)" (#22569) 2023-07-12 18:46:19 +02:00
chat-composer-dropdown-test.js DEV: Modernize chat's component tests (#19577) 2022-12-22 14:35:18 +01:00
chat-composer-message-details-test.js DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
chat-composer-placeholder-test.js UX: improves composer and thread panel (#21210) 2023-04-25 10:23:03 +02:00
chat-composer-upload-test.js UX: improves composer and thread panel (#21210) 2023-04-25 10:23:03 +02:00
chat-composer-uploads-test.js DEV: Correct the app-events service injections (#21413) 2023-05-08 10:48:56 +02:00
chat-emoji-avatar-test.js DEV: Modernize chat's component tests (#19577) 2022-12-22 14:35:18 +01:00
chat-emoji-picker-test.js FIX: relies on native focus behavior in chat emoji picker (#21092) 2023-04-13 20:35:13 +02:00
chat-header-icon-test.js FIX: correctly handles mobile and default (#23152) 2023-08-18 22:32:43 +02:00
chat-message-avatar-test.js REFACTOR: <ChatMessage> component (#22172) 2023-06-19 09:50:54 +02:00
chat-message-collapser-test.js DEV: Remove lazy-yt and replace with lazy-videos (#20722) 2023-03-29 11:54:25 -04:00
chat-message-info-test.js REFACTOR: <ChatMessage> component (#22172) 2023-06-19 09:50:54 +02:00
chat-message-left-gutter-test.js REFACTOR: <ChatMessage> component (#22172) 2023-06-19 09:50:54 +02:00
chat-message-reaction-test.js DEV: Refactoring chat message actions for ChatMessage component usage in thread panel (#20756) 2023-04-06 15:19:52 +02:00
chat-message-separator-date-test.js FEATURE: Scroll to first message when clicking date in chat (#21926) 2023-06-20 15:58:38 +02:00
chat-message-separator-new-test.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-message-test.js REFACTOR: <ChatMessage> component (#22172) 2023-06-19 09:50:54 +02:00
chat-message-text-test.js DEV: Remove lazy-yt and replace with lazy-videos (#20722) 2023-03-29 11:54:25 -04:00
chat-modal-archive-channel-test.js DEV: makes chat modals use the new <DModal /> component (#22495) 2023-07-10 13:43:33 +02:00
chat-modal-delete-channel-test.js DEV: makes chat modals use the new <DModal /> component (#22495) 2023-07-10 13:43:33 +02:00
chat-modal-move-message-to-channel-test.js DEV: makes chat modals use the new <DModal /> component (#22495) 2023-07-10 13:43:33 +02:00
chat-notices-test.js DEV: Use Notice API for mention warnings (#23238) 2023-09-01 09:07:23 -05:00
chat-replying-indicator-test.js DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
chat-retention-reminder-test.js DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
chat-retention-reminder-text-test.js DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
chat-thread-participants-test.js UX: hides original message user in thread participants (#23350) 2023-08-31 14:46:37 +02:00
chat-upload-test.js FEATURE: Inline audio player for chat uploads (#20175) 2023-02-06 16:00:03 +10:00
chat-user-avatar-test.js FIX: makes chat user avatar show presence by default (#22490) 2023-07-10 09:36:20 +02:00
chat-user-card-button-test.js DEV: makes user-card-chat-button uses glimmer (#22496) 2023-07-10 14:04:26 +02:00
chat-user-display-name-test.js DEV: Modernize chat's component tests (#19577) 2022-12-22 14:35:18 +01:00
chat-user-info-test.js FIX: Chat member user card rendered out of view (#20332) 2023-02-17 10:14:00 -03:00
collapser-test.js DEV: Modernize chat's component tests (#19577) 2022-12-22 14:35:18 +01:00
dc-filter-input-test.js DEV: Modernize chat's component tests (#19577) 2022-12-22 14:35:18 +01:00