discourse/plugins/chat/spec/lib
Joffrey JAFFEUX ccb1861ada
DEV: better highlighting of mentions (#28403)
This commit improves the hilight-ing of mentions in posts and chat messages.

- `@here` and `@all` will generate a `<a class="mention --wide">`
- bots will generate a `<a class="mention --bot">`
- current user will generate a `<a class="mention --current">`

To achieve this change the following value transformer has been added: "mentions-class". It will be run in posts and chat messages after the mention is rendered.

A bug were bots were not considered in mentioned users has also been fixed as part of this PR.
2024-08-20 14:37:28 +02:00
..
chat DEV: better highlighting of mentions (#28403) 2024-08-20 14:37:28 +02:00
chat_sdk FEATURE: prevent chat emails for messages created via SDK (#27875) 2024-07-12 10:57:14 +04:00
service_runner_spec.rb DEV: Allow chat services to have optional models 2023-07-20 17:27:44 +02:00
site_setting_extension_spec.rb FEATURE: Allow site settings to be edited throughout admin UI (#26154) 2024-03-18 08:50:39 +10:00
statistics_spec.rb FEATURE: participating users statistics (#28322) 2024-08-12 23:47:13 +02:00