discourse/plugins/chat
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
..
app DEV: Use Notice API for mention warnings (#23238) 2023-09-01 09:07:23 -05:00
assets DEV: Use Notice API for mention warnings (#23238) 2023-09-01 09:07:23 -05:00
config DEV: Use Notice API for mention warnings (#23238) 2023-09-01 09:07:23 -05:00
db FEATURE: implements user based sidebar mode (#23078) 2023-08-18 20:33:07 +02:00
lib DEV: Use Notice API for mention warnings (#23238) 2023-09-01 09:07:23 -05:00
public DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
spec DEV: Use Notice API for mention warnings (#23238) 2023-09-01 09:07:23 -05:00
test/javascripts DEV: Use Notice API for mention warnings (#23238) 2023-09-01 09:07:23 -05:00
README.md DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00
plugin.rb FIX: Hide core plugins from the admin Plugins list (#23328) 2023-08-31 10:01:01 +10:00

README.md

This plugin is still in active development and may change frequently

Documentation

The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.

For user documentation, see Discourse Chat.

For developer documentation, see Discourse Documentation.