mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 06:23:43 +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 | ||
discourse_dev | ||
email_controller_helper | ||
onebox/templates | ||
tasks |