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 Fix list formatting alternating on edit (#7422) 2021-12-21 10:07:44 +00:00
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 fallback properly with pluralized strings (#7495) 2022-01-10 14:54:57 +01:00
img
notifications Update eslint plugin & fix silly indenting 2021-08-03 17:07:37 +01:00
settings/watchers Unit tests for getEffectiveTheme (#7051) 2021-10-29 09:11:55 +01:00
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 Revert "Start a conference in a room with 2 people + invitee rather than a 1:1 call (#7557)" (#7641) 2022-01-26 13:31:00 +00:00
createRoom-test.js Upgrade to jest 27 (#7699) 2022-02-02 13:02:17 +01:00
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
globalSetup.js Fix TimeZone to be UTC in Jest tests (#7082) 2021-11-04 10:39:49 +00:00
KeyBindingsManager-test.ts Work towards unifying KeyboardShortcuts and KeyBindingsDefaults #2 (#7674) 2022-01-31 15:55:45 +00:00
linkify-matrix-test.ts Upgrade linkifyjs to fix schemes as domain prefixes (#7628) 2022-01-25 17:37:54 +00:00
Markdown-test.ts Refactor matrix-linkify module (#7279) 2021-12-03 14:00:56 +00:00
minimal-sdk.js Fix right panel data flow (#7811) 2022-02-16 11:19:28 +00:00
PosthogAnalytics-test.ts Fix spacing errors (#7484) 2022-01-10 12:57:20 +00:00
ScalarAuthClient-test.js
setupTests.js Add customisation point to disable space creation (#7766) 2022-02-09 17:21:40 +01:00
skinned-sdk.js Add configuration to disable relative date markers in timeline (#7405) 2021-12-21 10:08:22 +01:00
Terms-test.js
test-utils.js Tear down AppTile using lifecycle tracking (#7833) 2022-02-17 16:30:36 +00:00
TextForEvent-test.ts Fix right panel data flow (#7811) 2022-02-16 11:19:28 +00:00
UserActivity-test.js Auto fix 2021-10-22 17:23:37 -05:00