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/test/javascripts/acceptance
Martin Brennan 8437081d94
FIX: Add MessageBust.last_id to chat channel subscriptions (#19255)
This commit adds variousMessageBus.last_ids to serializer payloads
for chat channels and the chat view (for chat live pane) so
we can use those IDs when subscribing to MessageBus channels
from chat.

This allows us to ensure that any messages created between the
server being hit and the UI loaded and subscribing end up being
delivered to the client, rather than just silently dropped.

This commit also fixes an issue where we were subscribing to
the new-messages and new-mentions MessageBus channels multiple
times when following/unfollowing a channel multiple times.
2022-12-02 10:57:53 +10:00
..
chat-browse-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-channel-info-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-channel-slug-test.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-channels-list-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-composer-test.js DEV: skip breaking tests (#19226) 2022-11-28 20:33:49 +01:00
chat-flagging-test.js REFACTOR: chat-msgactions (#18969) 2022-11-10 15:08:14 +01:00
chat-keyboard-shortcuts-test.js REFACTOR: naming and state refactor (#19187) 2022-11-25 14:15:38 +01:00
chat-live-pane-collapse-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-live-pane-mobile-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-live-pane-silenced-user-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-live-pane-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-message-bookmarking-test.js REFACTOR: chat-msgactions (#18969) 2022-11-10 15:08:14 +01:00
chat-message-test.js REFACTOR: chat-msgactions (#18969) 2022-11-10 15:08:14 +01:00
chat-move-message-to-channel-test.js REFACTOR: chat-msgactions (#18969) 2022-11-10 15:08:14 +01:00
chat-preferences-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-quoting-test.js REFACTOR: naming and state refactor (#19187) 2022-11-25 14:15:38 +01:00
chat-sidebar-user-status-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-status-test.js REFACTOR: naming and state refactor (#19187) 2022-11-25 14:15:38 +01:00
chat-test.js UX: removes silence from chat message actions (#19282) 2022-12-01 15:32:22 +01:00
chat-transcript-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-user-menu-notifications-test.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
composer-hashtag-autocomplete-test.js DEV: skip breaking tests (#19226) 2022-11-28 20:33:49 +01:00
core-sidebar-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
create-channel-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
delete-chat-channel-modal-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
mobile-chat-test.js REFACTOR: handles every chat resource as an URL (#18961) 2022-11-11 06:39:15 +01:00
user-card-chat-test.js REFACTOR: naming and state refactor (#19187) 2022-11-25 14:15:38 +01:00