element-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
.eslintrc.js
CallHandler-test.ts
DecryptionFailureTracker-test.js
DeviceListener-test.ts
KeyBindingsManager-test.ts
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
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
skinned-sdk.js
test-utils.js Tear down AppTile using lifecycle tracking (#7833) 2022-02-17 16:30:36 +00:00