discourse/plugins/chat/lib
Martin Brennan 274b21663e
FIX: Experimental hashtag search result matching and limit fixes (#19144)
This changes the hashtag search to first do a lookup to find
results where the slug exactly matches the
search term. Now when we search for hashtags, the
exact matches will be found first and put at the top of
the results.

`ChatChannelFetcher` has also been modified here to allow
for more options for performance -- we do not need to
query DM channels for secured IDs when looking up or searching
channels for hashtags, since they should never show in
results there (they have no slugs). Nor do we need to include
the channel archive records.

Also changes the limit of hashtag results to 20 by default
with a hidden site setting, and makes it so the scroll for the
results is overflowed.
2022-11-24 10:07:59 +10:00
..
discourse_dev
email_controller_helper
extensions DEV: Make summary subject logic more explicit (#19167) 2022-11-23 14:29:41 -03:00
onebox/templates
tasks
validators
chat_channel_archive_service.rb
chat_channel_fetcher.rb FIX: Experimental hashtag search result matching and limit fixes (#19144) 2022-11-24 10:07:59 +10:00
chat_channel_hashtag_data_source.rb FIX: Experimental hashtag search result matching and limit fixes (#19144) 2022-11-24 10:07:59 +10:00
chat_channel_membership_manager.rb
chat_mailer.rb FIX: Deliver chat summaries when allowed groups include "everyone" (#18955) 2022-11-09 10:54:47 -03:00
chat_message_bookmarkable.rb
chat_message_creator.rb FEATURE: Generic hashtag autocomplete lookup and markdown cooking (#18937) 2022-11-21 08:37:06 +10:00
chat_message_processor.rb
chat_message_rate_limiter.rb
chat_message_reactor.rb
chat_message_updater.rb FIX: Make ChatMessageUpdater check editing access for guardian (#18902) 2022-11-08 09:04:18 +10:00
chat_notifier.rb
chat_review_queue.rb
chat_seeder.rb
chat_statistics.rb
chat_transcript_service.rb
direct_message_channel_creator.rb FEATURE: introduces chat_max_direct_message_users setting (#18997) 2022-11-15 10:40:28 +01:00
duplicate_message_validator.rb
guardian_extensions.rb FEATURE: Allow staff to flag chat messages (#18919) 2022-11-22 12:14:15 -03:00
message_mover.rb FIX: Make chat editor IDs not null (#18903) 2022-11-08 09:06:13 +10:00
post_notification_handler.rb
secure_uploads_compatibility.rb
slack_compatibility.rb