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
autocomplete
components
editor
end-to-end-tests
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
UserActivity-test.js
createRoom-test.js
globalSetup.js
linkify-matrix-test.ts
minimal-sdk.js
setupTests.js
skinned-sdk.js
test-utils.js