element-web/src
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
..
@types Merge pull request #4956 from matrix-org/t3chguy/ts/1 2020-07-21 17:55:20 +01:00
accessibility Fixup ContextMenuTooltipButton.tsx 2020-07-17 18:15:08 +01:00
actions Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into joriks/eslint-config 2020-07-20 16:22:32 +01:00
async-components/views/dialogs
autocomplete Fix Query Matcher regression with certain unhomoglyph'd characters like `M` vs `m` 2020-07-27 12:08:51 +01:00
components Ensure sublists are updated when rooms are removed from them 2020-07-30 15:06:04 -06:00
contexts
dispatcher Clean up types properly 2020-07-30 11:51:10 +05:30
editor Merge branches 'develop' and 't3chguy/fix/13641' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/13641 2020-07-24 08:18:20 +01:00
emojipicker Sort recent emoji in descending order 2020-07-17 16:27:25 +01:00
hooks Use variable name instead of _ 2020-07-20 20:55:35 +01:00
i18n/strings string order changed 2020-07-30 10:42:46 +02:00
indexing Update src/indexing/BaseEventIndexManager.ts 2020-07-21 16:22:17 +01:00
integrations Fix lint issues in new code 2020-07-20 20:43:55 +01:00
mjolnir
notifications Fix lint issues in new code 2020-07-20 20:43:55 +01:00
rageshake
resizer Remove legacy resizing code 2020-07-17 15:18:42 -06:00
settings Merge pull request #5036 from swapnilraj/swapnilraj/right-panel-ts 2020-07-30 13:37:01 +01:00
stores Ensure sublists are updated when rooms are removed from them 2020-07-30 15:06:04 -06:00
toasts
usercontent
utils Ensure list visibility changes get counted as list changes 2020-07-30 14:18:54 -06:00
widgets
ActiveRoomObserver.js
AddThreepid.js
Analytics.js Remove base domain from instance name 2020-07-14 14:32:52 +01:00
AsyncWrapper.js
Avatar.js change accent color 2020-07-14 20:36:27 +02:00
BasePlatform.ts
CallHandler.js
CallMediaHandler.js
ContentMessages.tsx Merge pull request #4956 from matrix-org/t3chguy/ts/1 2020-07-21 17:55:20 +01:00
CrossSigningManager.js
DateUtils.js
DecryptionFailureTracker.js
DeviceListener.ts Fix lint issues in new code 2020-07-20 20:43:55 +01:00
FromWidgetPostMessageApi.js
GroupAddressPicker.js
HtmlUtils.tsx don't syntax highlight languages that begin with "_" 2020-07-21 12:47:40 -04:00
IdentityAuthClient.js
ImageUtils.js
Keyboard.ts
Lifecycle.js add logging for keytar/pickle key 2020-07-28 17:31:27 -04:00
Login.js
Markdown.js
MatrixClientPeg.ts
Modal.tsx
Notifier.js
ObjectUtils.js
PageTypes.js
PasswordReset.js
PhasedRollOut.js
PlatformPeg.ts Fix lint issues in new code 2020-07-20 20:43:55 +01:00
Presence.js
RebrandListener.tsx Add dismiss button to rebrand toast 2020-07-23 17:33:14 +01:00
Registration.js
Resend.js
Roles.js
RoomAliasCache.js
RoomInvite.js
RoomListSorter.js
RoomNotifs.js Replace countRoomsWithNotif with a dedicated NotificationState 2020-07-21 20:24:44 -06:00
RoomNotifsTypes.ts
Rooms.js
ScalarAuthClient.js
ScalarMessaging.js
SdkConfig.ts
Searching.js
SendHistoryManager.js
Skinner.js
SlashCommands.tsx Merge branches 'develop' and 't3chguy/ts/1' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/1 2020-07-20 15:38:48 +01:00
Terms.js
TextForEvent.js
Tinter.js
ToWidgetPostMessageApi.js
Unread.js
UserActivity.js
UserAddress.js
VectorConferenceHandler.js
Velociraptor.js
VelocityBounce.js
WhoIsTyping.js
WidgetMessaging.js
WidgetMessagingEndpoint.js
boundThreepids.js
createRoom.ts FIx coment 2020-07-20 20:50:12 +01:00
email.js
emoji.ts Fix emoji filterString 2020-07-17 16:03:07 +01:00
extend.js
groups.js
index.js
languageHandler.tsx
linkify-matrix.js
phonenumber.ts
ratelimitedfunc.js
shouldHideEvent.js
theme.js rename traces of element(-dark) theme in code 2020-07-14 18:40:32 +02:00
verification.js Replaced string actions with their corresponding types 2020-07-22 15:14:50 +05:30