discourse/plugins/chat/lib/chat
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
..
bookmark_extension.rb
category_extension.rb
channel_archive_service.rb FEATURE: Add threads support to chat archives (#24325) 2023-11-27 15:47:35 +01:00
channel_fetcher.rb DEV: Dedicated route for current user notification counts (#26106) 2024-03-15 12:08:37 -04:00
channel_hashtag_data_source.rb FEATURE: Async load of category and chat hashtags (#25526) 2024-02-12 12:07:14 +02:00
channel_membership_manager.rb
duplicate_message_validator.rb
engine.rb DEV: Update chat scheduled job loading to match skeleton (#26853) 2024-05-02 19:20:00 +01:00
group_extension.rb DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
guardian_extensions.rb DEV: Use site setting mandatory_values for chat allowed groups (#26994) 2024-05-13 14:38:26 +10:00
mailer.rb FEATURE: prevent chat emails for messages created via SDK (#27875) 2024-07-12 10:57:14 +04:00
message_bookmarkable.rb FIX: Show deleted bookmark reminders in user bookmarks menu (#25905) 2024-02-29 09:03:49 +10:00
message_mover.rb FEATURE: Add thread support to the chat message mover (#26147) 2024-04-08 09:03:46 -03:00
message_processor.rb DEV: Rename with_secure_uploads? to should_secure_uploads? on Post (#26549) 2024-04-09 13:23:11 +10:00
message_rate_limiter.rb
message_reactor.rb
messages_exporter.rb FIX: Chat messages exporter (#25461) 2024-01-30 18:37:11 +04:00
notification_levels.rb
notifier.rb FIX: delay chat notify watching job (#28386) 2024-08-15 18:08:30 +04:00
onebox_handler.rb DEV: Revert guardian changes (#24742) 2023-12-06 16:37:32 +10:00
outgoing_web_hook_extension.rb FEATURE: granular webhooks (#23070) 2023-10-09 03:35:31 +00:00
parsed_mentions.rb DEV: better highlighting of mentions (#28403) 2024-08-20 14:37:28 +02:00
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 DEV: Add new chat metrics (#23872) 2024-01-04 16:10:03 +04:00
transcript_service.rb FIX: Do not display chat replies as threads in transcripts (#24768) 2023-12-15 09:50:43 -03:00
user_extension.rb DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
user_notifications_extension.rb FIX: show group based notifications in chat summary email (#27641) 2024-07-01 12:47:38 +04:00
user_option_extension.rb FEATURE: encourage users to set chat thread titles (#26617) 2024-04-29 17:20:01 +08:00