discourse/plugins/chat/spec/support
Joffrey JAFFEUX c6b43ce68b
FEATURE: Thread list initial UI (#21412)
This commit adds an initial thread list UI. There are several limitations
with this that will be addressed in future PRs:

* There is no MessageBus reactivity, so e.g. if someone edits the original
   message of the thread it will not be reflected in the list. However if
   the thread title is updated the original message indicator will be updated.
* There is no unread functionality for threads in the list, if new messages
   come into the thread there is no indicator in the UI.
* There is no unread indicator on the actual button to open the thread list.
* No pagination.

In saying that, this is the functionality so far:

* We show a list of the 50 threads that the user has most recently participated
   in (i.e. sent a message) for the channel in descending order.
* Each thread we show a rich excerpt, the title, and the user who is the OM creator.
* The title is editable by staff and by the OM creator.
* Thread indicators show a title. We also replace emojis in the titles.
* Thread list works in the drawer/mobile.
2023-05-10 11:42:32 +02:00
..
api/schemas DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
examples DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
api_schema_matcher.rb DEV: Enable unless cops 2023-02-21 10:30:48 +01:00
chat_helper.rb DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
chat_service_matcher.rb FEATURE: Thread list initial UI (#21412) 2023-05-10 11:42:32 +02:00