discourse/plugins/chat/test/javascripts
Martin Brennan b1978e7ad8
DEV: Add last_message_id to channel and thread (#22488)
Initial migration and changes to models as well as
changing the following services to update last_message_id:

* Chat::MessageCreator
* Chat::RestoreMessage
* Chat::TrashMessage

The data migration will set the `last_message_id` for all existing
threads and channels in the database.

When we query the thread list as well as the channel,
we look at the last message ID for the following:

* Channel - Sorting DM channels, and channel metadata for the list of channels
* Thread - Last reply details for thread indicators and thread list
2023-07-13 10:28:11 +10:00
..
acceptance DEV: Remove `OK` pretender helper (#22438) 2023-07-06 20:39:23 +02:00
components DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
helpers DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
integration/components/user-menu DEV: Modernize chat's component tests (#19577) 2022-12-22 14:35:18 +01:00
unit DEV: Added chat api to remove secondary actions (#21982) 2023-06-08 11:37:50 -03:00
widgets DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
chat-fixtures.js DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00