element-web/test
kegsay dcf497d013
sliding-sync: spider all rooms on the user's account for search (#9514)
* sliding-sync: spider all rooms on the user's account for search

On startup, slowly accumulate room metadata for all rooms on the
user's account. This is so we can populate the local search cache
with enough data for it to function, obviating the need to have
separate code paths for sliding sync searches.

This will allow spotlight search to work with slow/no network
connectivity, though clicking on the room will still require a
round trip.

This is an explicit request from @ara4n to improve the snapiness
of room searches, despite the unbounded bandwidth costs requesting
all N rooms on the user's account.

* Comments and tweak defaults

* Review comments; remove SS search code

* bugfix: use setListRanges once the list has been set up

If we don't, then we send needless extra data and can cause
bugs because setList will wipe the index->room_id map, which
trips up SlidingRoomListStore.
2022-11-01 10:27:03 +00:00
..
__snapshots__ Location (live) share replies now provide a fallback content (#8949) 2022-07-01 08:01:22 +02:00
accessibility Convert some Enzyme tests to RTL (#9163) 2022-08-11 00:00:53 +00:00
actions/handlers Device manager - promote to beta (#9380) 2022-10-11 11:10:55 +02:00
audio Fix voice broadcast recording limit (#9478) 2022-10-22 13:07:39 +02:00
autocomplete Use "frequently used emojis" for autocompletion in composer (#8998) 2022-07-21 15:27:11 +02:00
components Fix NotificationBadge unsent color (#9522) 2022-10-31 09:45:02 +00:00
editor Fix soft crash around unknown room pills (#9301) 2022-09-20 17:00:31 +00:00
events Voice Broadcast live state / extract RelationsHelper (#9432) 2022-10-17 13:31:03 +01:00
hooks Add a larger buffer to useLatestResult's test (#9178) 2022-08-25 14:49:39 -06:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Migrate KeyboardShortcut tests from Enzyme to RTL (#9405) 2022-10-13 14:32:45 +01:00
images Add support for Animated (A)PNG (#8158) 2022-03-28 09:38:54 +01:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
models Fix embedded Element Call screen sharing (#9485) 2022-10-24 18:54:24 +01:00
modules Convert some tests from Enzyme to RTL (#9483) 2022-10-24 09:06:20 +01:00
notifications Typescriptification - notification utils (#8209) 2022-04-01 08:45:50 +02:00
settings Fix crash when drawing blurHash for portrait videos PSB-139 (#8855) 2022-06-17 11:03:29 +00:00
setup Improve fetch mock setup (#9511) 2022-10-26 14:54:45 +00:00
stores Make thread replies trigger a room list re-ordering (#9510) 2022-10-27 13:50:05 +01:00
test-utils Loading threads with server-side assistance (#9356) 2022-10-28 13:48:15 +02:00
toasts Device manager - silence call ringers when local notifications are silenced (#9420) 2022-10-17 09:16:04 +00:00
utils Loading threads with server-side assistance (#9356) 2022-10-28 13:48:15 +02:00
voice-broadcast Display voice broadcast total length (#9517) 2022-10-31 17:35:02 +00:00
Avatar-test.ts Ensure spaces in the spotlight dialog have rounded square avatars (#9480) 2022-10-24 08:58:36 +00:00
ContentMessages-test.ts Move from browser-request to fetch (#9345) 2022-10-12 18:59:07 +01:00
createRoom-test.ts Move from browser-request to fetch (#9345) 2022-10-12 18:59:07 +01:00
DecryptionFailureTracker-test.js Fix all megolm error reported as unknown (#8916) 2022-06-30 08:55:05 +01:00
DeviceListener-test.ts Device manager - remove client information events when disabling setting (#9384) 2022-10-10 19:00:46 +00:00
globalSetup.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
HtmlUtils-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
Image-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
KeyBindingsManager-test.ts Work towards unifying KeyboardShortcuts and KeyBindingsDefaults #2 (#7674) 2022-01-31 15:55:45 +00:00
languageHandler-test.ts Add support for overriding strings in the app (#7886) 2022-03-01 11:53:09 -07:00
LegacyCallHandler-test.ts Device manager - silence call ringers when local notifications are silenced (#9420) 2022-10-17 09:16:04 +00:00
linkify-matrix-test.ts Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
Markdown-test.ts Fix formatting not being applied after links (#7990) 2022-03-08 13:12:36 +00:00
MatrixClientPeg-test.ts Use doMaybeLocalRoomAction (#9038) 2022-07-13 07:56:36 +02:00
Notifier-test.ts Show thread notification if thread timeline is closed (#9495) 2022-10-25 16:53:31 +00:00
PosthogAnalytics-test.ts Replace deprecated String#substr with String#slice (#8314) 2022-04-14 07:52:42 +00:00
PreferredRoomVersions-test.ts Replace MSC3244 support with in-client room version checking (#9018) 2022-07-08 00:32:38 -06:00
Reply-test.ts Location (live) share replies now provide a fallback content (#8949) 2022-07-01 08:01:22 +02:00
RoomNotifs-test.ts Add thread notification with server assistance (MSC3773) (#9400) 2022-10-24 07:50:21 +01:00
ScalarAuthClient-test.ts Move from browser-request to fetch (#9345) 2022-10-12 18:59:07 +01:00
SdkConfig-test.ts Implement Voice Broadcast recording (#9307) 2022-10-11 22:31:28 +00:00
setupTests.js Move from browser-request to fetch (#9345) 2022-10-12 18:59:07 +01:00
SlashCommands-test.tsx Store refactor: use non-global stores in components (#9293) 2022-10-19 13:07:03 +01:00
SlidingSyncManager-test.ts sliding-sync: spider all rooms on the user's account for search (#9514) 2022-11-01 10:27:03 +00:00
Terms-test.tsx Test typescriptification - Terms/ScalarAuthClient (#8480) 2022-05-03 15:09:07 +00:00
TestSdkContext.ts Store refactor: convert WidgetPermissionStore (#9458) 2022-10-19 22:00:53 +02:00
TextForEvent-test.ts Add notifications and toasts for Element Call calls (#9337) 2022-10-06 14:27:12 +00:00
theme-test.ts Test querySelectorAll call 2022-09-28 15:25:32 +02:00
Unread-test.ts Remove deprecated m.room.aliases references (#9431) 2022-10-17 10:58:46 +01:00
UserActivity-test.ts Typescriptification - notification utils (#8209) 2022-04-01 08:45:50 +02:00
useTopic-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00