mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 23:04:27 +08:00
ccb1861ada
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. |
||
---|---|---|
.. | ||
chat | ||
chat_sdk | ||
service_runner_spec.rb | ||
site_setting_extension_spec.rb | ||
statistics_spec.rb |