riot-web/test
Kerry 08a0c6f86c
Don't aggregate rooms and users in SpaceStore (#7723)
* add direct child maps

* track rooms, users and space children in flat hierarchy in spacestore

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update spacefiltercondition to use new spacestore

* remove unused code

Signed-off-by: Kerry Archibald <kerrya@element.io>

* typos

Signed-off-by: Kerry Archibald <kerrya@element.io>

* only build flattened rooms set once per space when updating notifs

* copyright

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove unnecessary currying

Signed-off-by: Kerry Archibald <kerrya@element.io>

* rename SpaceStore spaceFilteredRooms => roomsIdsBySpace, spaceFilteredUsers => userIdsBySpace

Signed-off-by: Kerry Archibald <kerrya@element.io>

* cache aggregates rooms and users by space

Signed-off-by: Kerry Archibald <kerrya@element.io>

* emit events recursively up parent spaces on changes

Signed-off-by: Kerry Archibald <kerrya@element.io>

* exclude meta spaces from aggregate cache

Signed-off-by: Kerry Archibald <kerrya@element.io>

* stray log

* fix emit on member update

Signed-off-by: Kerry Archibald <kerrya@element.io>

* call order

Signed-off-by: Kerry Archibald <kerrya@element.io>

* extend existing getKnownParents fn

Signed-off-by: Kerry Archibald <kerrya@element.io>

* refine types and comments

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-17 21:24:05 +01:00
..
accessibility Don't change `KEYBOARD_SHORTCUTS` and do some refactoring (#7818) 2022-02-16 15:24:00 +00:00
autocomplete
components Tear down AppTile using lifecycle tracking (#7833) 2022-02-17 16:30:36 +00:00
editor
end-to-end-tests Bump ajv from 6.10.0 to 6.12.6 in /test/end-to-end-tests (#7792) 2022-02-15 13:52:35 -07:00
i18n
i18n-test
img
notifications
settings/watchers
stores Don't aggregate rooms and users in SpaceStore (#7723) 2022-02-17 21:24:05 +01:00
utils Add customisation point to disable space creation (#7766) 2022-02-09 17:21:40 +01:00
.eslintrc.js
CallHandler-test.ts
DecryptionFailureTracker-test.js Wire up new fields on the ViewRoom posthog event and more interactions (#7787) 2022-02-14 19:31:13 +00:00
DeviceListener-test.ts Add config option to autorageshake when key backup is not enabled (#7741) 2022-02-11 14:00:37 +01:00
KeyBindingsManager-test.ts Work towards unifying `KeyboardShortcuts` and `KeyBindingsDefaults` #2 (#7674) 2022-01-31 15:55:45 +00:00
Markdown-test.ts
PosthogAnalytics-test.ts
ScalarAuthClient-test.js
Terms-test.js
TextForEvent-test.ts Fix right panel data flow (#7811) 2022-02-16 11:19:28 +00:00
UserActivity-test.js
createRoom-test.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
globalSetup.js
linkify-matrix-test.ts
minimal-sdk.js Fix right panel data flow (#7811) 2022-02-16 11:19:28 +00:00
setupTests.js Add customisation point to disable space creation (#7766) 2022-02-09 17:21:40 +01:00
skinned-sdk.js
test-utils.js Tear down AppTile using lifecycle tracking (#7833) 2022-02-17 16:30:36 +00:00