discourse/plugins/chat/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
discourse_dev DEV: Migrate Chat::MessageCreator to a service (#22390) 2023-09-07 08:57:29 +02:00
email_controller_helper
onebox/templates FiX: Update date url for thread oneboxes (#24172) 2023-10-31 08:04:40 -03:00
tasks DEV: Reintroduce chat rake dev generate tasks (#21164) 2023-04-20 10:53:10 +10:00