mirror of
https://github.com/discourse/discourse.git
synced 2025-01-08 09:23:52 +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. |
||
---|---|---|
.. | ||
bookmark_extension.rb | ||
category_extension.rb | ||
channel_archive_service.rb | ||
channel_fetcher.rb | ||
channel_hashtag_data_source.rb | ||
channel_membership_manager.rb | ||
duplicate_message_validator.rb | ||
engine.rb | ||
group_extension.rb | ||
guardian_extensions.rb | ||
mailer.rb | ||
message_bookmarkable.rb | ||
message_mover.rb | ||
message_processor.rb | ||
message_rate_limiter.rb | ||
message_reactor.rb | ||
messages_exporter.rb | ||
notification_levels.rb | ||
notifier.rb | ||
onebox_handler.rb | ||
outgoing_web_hook_extension.rb | ||
parsed_mentions.rb | ||
plugin_instance_extension.rb | ||
post_notification_handler.rb | ||
review_queue.rb | ||
reviewable_extension.rb | ||
secure_uploads_compatibility.rb | ||
seeder.rb | ||
slack_compatibility.rb | ||
statistics.rb | ||
transcript_service.rb | ||
user_extension.rb | ||
user_notifications_extension.rb | ||
user_option_extension.rb |