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
actions/handlers
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
events
hooks
i18n
i18n-test
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
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
DecryptionFailureTracker-test.js
DeviceListener-test.ts
HtmlUtils-test.tsx
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts
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
SdkConfig-test.ts
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
Unread-test.ts
UserActivity-test.ts
createRoom-test.ts
globalSetup.js
languageHandler-test.ts
linkify-matrix-test.ts
setupTests.js
theme-test.ts
useTopic-test.tsx