discourse/plugins/chat/spec/system/list_channels
David Battersby f0ea57e30e
FIX: chat channel sort order consistency in sidebar (#30180)
This change creates a shallow copy of the public message channels so we don't change the original array while sorting.

Without this change the publicMessageChannels getter cache gets invalidated and cached again with the sorted channels array instead, which causes a bug where the sidebar channel list sorting order is updated by activity when user interacts with the chat drawer.
2024-12-09 15:36:41 +04:00
..
drawer_spec.rb FIX: improve chat channel sorting for DMs (#30124) 2024-12-05 13:33:55 +04:00
mobile_spec.rb DEV: rename chat preferred mobile index to chat preferred index (#27953) 2024-07-30 10:25:22 -03:00
no_sidebar_spec.rb FIX: Display new DM button when public channels are disabled (#28306) 2024-08-12 08:44:51 -05:00
sidebar_spec.rb FIX: chat channel sort order consistency in sidebar (#30180) 2024-12-09 15:36:41 +04:00