riot-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__
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
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
i18n-test Migrate KeyboardShortcut tests from Enzyme to RTL (#9405) 2022-10-13 14:32:45 +01:00
images
img
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
settings
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
DecryptionFailureTracker-test.js
DeviceListener-test.ts Device manager - remove client information events when disabling setting (#9384) 2022-10-10 19:00:46 +00:00
HtmlUtils-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts Device manager - silence call ringers when local notifications are silenced (#9420) 2022-10-17 09:16:04 +00:00
Markdown-test.ts
MatrixClientPeg-test.ts
Notifier-test.ts Show thread notification if thread timeline is closed (#9495) 2022-10-25 16:53:31 +00:00
PosthogAnalytics-test.ts
PreferredRoomVersions-test.ts
Reply-test.ts
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
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
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
Unread-test.ts Remove deprecated `m.room.aliases` references (#9431) 2022-10-17 10:58:46 +01:00
UserActivity-test.ts
createRoom-test.ts Move from `browser-request` to `fetch` (#9345) 2022-10-12 18:59:07 +01:00
globalSetup.js
languageHandler-test.ts
linkify-matrix-test.ts
setupTests.js Move from `browser-request` to `fetch` (#9345) 2022-10-12 18:59:07 +01:00
theme-test.ts Test querySelectorAll call 2022-09-28 15:25:32 +02:00
useTopic-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00