riot-web/test
Milton Moura d240f06810
Include non-matching DMs in Spotlight recent conversations when the DM's userId is part of the search API results (#11374)
* This addresses two issues:

     1. Include non-matching DMs in Spotlight suggestions if the userId of the DM is included in the user directory search results
     2. The user directory search results order is kept when there is no relevant activity between users, instead of sorting by MXID

* Applying feedback from PR:
1. Updated comments
2. Renamed users to userDirectorySearchResults
3. Makes sure linter is happy
2023-08-10 17:27:24 +00:00
..
@types
__snapshots__
accessibility
actions/handlers
audio
autocomplete
components Include non-matching DMs in Spotlight recent conversations when the DM's userId is part of the search API results (#11374) 2023-08-10 17:27:24 +00:00
contexts
dispatcher
editor
events
hooks
i18n
i18n-test
images
img
models
modules
notifications
settings
setup
stores
test-utils
toasts
utils
voice-broadcast
widgets
Avatar-test.ts
ContentMessages-test.ts
DecryptionFailureTracker-test.js
DeviceListener-test.ts
HtmlUtils-test.tsx
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts
Lifecycle-test.ts
Markdown-test.ts
MatrixClientPeg-test.ts
MediaDeviceHandler-test.ts
Notifier-test.ts
PosthogAnalytics-test.ts
PreferredRoomVersions-test.ts
Reply-test.ts
RoomNotifs-test.ts
Rooms-test.ts
ScalarAuthClient-test.ts
SdkConfig-test.ts
SlashCommands-test.tsx
SlidingSyncManager-test.ts
Terms-test.tsx
TestSdkContext.ts
TextForEvent-test.ts
Unread-test.ts
UserActivity-test.ts
WorkerManager-test.ts
createRoom-test.ts
email-test.ts
globalSetup.ts
languageHandler-test.ts
linkify-matrix-test.ts
predictableRandom.ts
setupTests.ts
slowReporter.js
theme-test.ts
useTopic-test.tsx