discourse/plugins/chat/app
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
..
controllers/chat UI: refines thread list item (#23207) 2023-08-24 18:45:20 +02:00
helpers/chat FEATURE: Mark all chat channels read with a shortcut (#20629) 2023-03-22 13:24:07 +10:00
jobs DEV: moves logic from job to a service (#22691) 2023-07-27 10:25:41 +02:00
models DEV: Move 'ignore and delete' action under 'ignore' menu for chat flags (#23304) 2023-08-30 10:51:32 +08:00
policies FIX: correctly display max users message error (#23178) 2023-08-22 12:42:35 +02:00
queries/chat FEATURE: thread pagination (#22624) 2023-07-27 09:57:03 +02:00
serializers/chat UI: refines thread list item (#23207) 2023-08-24 18:45:20 +02:00
services DEV: Use Notice API for mention warnings (#23238) 2023-09-01 09:07:23 -05:00
validators/chat DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
views