This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins/chat/spec
Martin Brennan 3fdb8ffb57
FEATURE: Allow showing hashtag autocomplete results without term (#19219)
This commit allows us to type # in the UI and present autocomplete
results immediately with the following logic for the topic composer,
and reversed for the chat composer:

* Categories the user can access and has not muted sorted by `topic_count`
* Tags the user can access and has not muted sorted by `topic_count`
* Chat channels the user is a member of sorted by `messages_count`

So in effect, we allow searching for hashtags without a search term.
To do this we add a new `search_without_term` to each data source so
each one can define how it wants to handle this logic.
2022-12-08 13:47:59 +10:00
..
components FIX: webhook should touch channel’s last_message_sent_at (#19342) 2022-12-06 19:33:39 +01:00
fabricators FIX: Automatically generate category channel slugs (#18879) 2022-11-09 10:28:31 +10:00
integration DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
jobs DEV: Add messages_count to ChatChannel table (#19295) 2022-12-06 08:40:46 +10:00
lib FEATURE: Allow showing hashtag autocomplete results without term (#19219) 2022-12-08 13:47:59 +10:00
mailers REFACTOR: Make chat summary email notifications easier to translate (#19354) 2022-12-07 15:45:02 +01:00
models DEV: Add messages_count to ChatChannel table (#19295) 2022-12-06 08:40:46 +10:00
queries DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
requests FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
serializer FEATURE: channels can allow/disallow @all/@here mentions (#19317) 2022-12-05 17:03:51 +01:00
services FEATURE: Deleting a user with their posts also deletes chat messages. (#19194) 2022-11-28 13:32:57 -03:00
support FIX: Allow deletion of categories when chat channel is not present 2022-11-08 10:25:39 +01:00
system DEV: Migrate sidebar site settings (#19336) 2022-12-08 09:44:29 +08:00
validators DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
plugin_helper.rb FEATURE: Generic hashtag autocomplete lookup and markdown cooking (#18937) 2022-11-21 08:37:06 +10:00
plugin_spec.rb FEATURE: Deleting a user with their posts also deletes chat messages. (#19194) 2022-11-28 13:32:57 -03:00