element-web/src/components/views/rooms
Travis Ralston 49abfc1fb2 Ensure sublists are updated when rooms are removed from them
Fixes https://github.com/vector-im/riot-web/issues/14798 (part 2)

This is in two parts itself: The `RoomSublist` needs to break its references to the `RoomListStore`, so it now clones the room arrays. The `Algorithm` is the other part, which is slightly more complicated.

It turns out that we weren't handling splicing as a change in the `ImportanceAlgorithm`, therefore the `Algorithm` wasn't really feeling like it needed to change anything. Further, the `Algorithm` was using the wrong reference to where it should be dumping rooms (`this.cachedRooms` is a getter which returns a different object depending on conditions), so having fixed that we need to ensure that the filtered and sticky maps are also updated when we remove a room. Because we send the new tag through a Timeline update, we'll end up updating the tag later on and don't need to update the filter and sticky collections.
2020-07-30 15:06:04 -06:00
..
AppsDrawer.js Move dispatcher into a subdirectory 2020-05-13 21:07:50 -06:00
Autocomplete.tsx Convert editor to TypeScript 2020-07-15 09:45:45 +01:00
AuxPanel.js CallView2 -> CallView 2020-07-17 15:55:30 -06:00
BasicMessageComposer.tsx Escape single quotes in composer placeholder 2020-07-22 00:47:48 +00:00
E2EIcon.js Use mouseleave instead of mouseout for hover events. Fix tooltip flicker 2020-07-18 12:01:51 +01:00
EditMessageComposer.js Add a focus_composer dispatcher action 2020-06-02 19:07:46 -06:00
EntityTile.js Switch to svg masks for the e2eicon and border it for the EntityTile avatars 2020-07-14 00:52:03 +01:00
EventTile.js Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into SuppressSpeechWhenSending 2020-07-24 00:03:55 +01:00
ForwardMessage.js Move dispatcher into a subdirectory 2020-05-13 21:07:50 -06:00
JumpToBottomButton.js Highlight "Jump to Bottom" badge when appropriate 2020-07-06 23:09:54 -04:00
LinkPreviewWidget.js Label and use UNSAFE_componentWillMount to minimize warnings 2020-03-31 14:15:23 -06:00
MemberList.js Move dispatcher into a subdirectory 2020-05-13 21:07:50 -06:00
MemberTile.js Remove feature_cross_signing 2020-05-27 10:28:25 +01:00
MessageComposer.js Add buttons to composer actions 2020-07-17 18:16:31 +01:00
MessageComposerFormatBar.js Replace non-functional Interactive Tooltip 2020-07-17 18:43:42 +01:00
NotificationBadge.tsx Remove useless if statement 2020-07-24 14:07:37 -06:00
PinnedEventsPanel.js Merge branch 'travis/babel7-wp-es6-export' into travis/sourcemaps-es6 2019-12-22 21:20:13 -07:00
PinnedEventTile.js Move dispatcher into a subdirectory 2020-05-13 21:07:50 -06:00
PresenceLabel.js Convert CommonJS exports to ES6-compatible exports 2019-12-22 21:01:02 -07:00
ReadReceiptMarker.js Use px where images use px width 2020-06-08 14:45:12 +01:00
ReplyPreview.js Move dispatcher into a subdirectory 2020-05-13 21:07:50 -06:00
RoomBreadcrumbs.tsx RoomBreadcrumbs2 -> RoomBreadcrumbs 2020-07-17 15:32:06 -06:00
RoomDetailList.js Move dispatcher into a subdirectory 2020-05-13 21:07:50 -06:00
RoomDetailRow.js Label and use UNSAFE_componentWillMount to minimize warnings 2020-03-31 14:15:23 -06:00
RoomHeader.js delint 2020-07-17 19:25:37 +01:00
RoomList.tsx Ensure list visibility changes get counted as list changes 2020-07-30 14:18:54 -06:00
RoomNameEditor.js Revert to UNSAFE_componentWillMount where componentDidMount will not work 2020-04-01 11:05:49 -06:00
RoomPreviewBar.js Remove poorly contrasted "dark style" heading in Room Preview Bar 2020-07-27 14:59:00 +01:00
RoomRecoveryReminder.js use normal accessible button, which is themed 2020-04-28 16:35:20 +02:00
RoomSublist.tsx Ensure sublists are updated when rooms are removed from them 2020-07-30 15:06:04 -06:00
RoomTile.tsx Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/room-list/desync 2020-07-27 14:42:26 +01:00
RoomTileIcon.tsx Update style of default tooltips to match the new style 2020-07-17 16:19:10 +01:00
RoomTopicEditor.js Use componentDidMount in place of componentWillMount where possible 2020-03-31 14:14:17 -06:00
RoomUpgradeWarningBar.js Use componentDidMount in place of componentWillMount where possible 2020-03-31 14:14:17 -06:00
SearchBar.js Label and use UNSAFE_componentWillMount to minimize warnings 2020-03-31 14:15:23 -06:00
SearchResultTile.js Import haveTileForEvent() from the right place 2019-12-22 21:23:07 -07:00
SendMessageComposer.js Prioritize text on the clipboard over file 2020-06-10 21:48:39 +01:00
SimpleRoomHeader.js Convert many imports to handle ES6 exports 2019-12-22 21:04:42 -07:00
Stickerpicker.js Replaced string actions with their corresponding types 2020-07-22 15:14:50 +05:30
TemporaryTile.tsx RoomTile2 -> RoomTile 2020-07-17 15:43:29 -06:00
ThirdPartyMemberInfo.js Move dispatcher into a subdirectory 2020-05-13 21:07:50 -06:00
TopUnreadMessagesBar.js Include a mark as read X under the scroll to unread button 2020-03-02 13:59:14 -06:00
WhoIsTypingTile.js Use componentDidMount in place of componentWillMount where possible 2020-03-31 14:14:17 -06:00