riot-web/test
Boluwatife Omosowon 739eec8555
Allows search to recognize full room links (#8275)
* fix matrix search link

* fix matrix search link

Signed-off-by: Boluwatife Omosowon <boluomosowon@gmail.com>

* fix: allow full link search

Signed-off-by: Boluwatife Omosowon <boluomosowon@gmail.com>

* fix: allow full link search on new search feature

Signed-off-by: Boluwatife Omosowon <boluomosowon@gmail.com>

* improve transformSearchTerm function

Signed-off-by: Boluwatife Omosowon <boluomosowon@gmail.com>

* improve transformSearchTerm function

Signed-off-by: Boluwatife Omosowon <boluomosowon@gmail.com>

* add review changes

* Signed-off-by: Boluwatife Omosowon <boluomosowon@gmail.com>

added review correction

changed the transformSearchTerm function to use parsePermaLink
removed extra spaces

* add angle brackets to copyright email title

* removed extra space

Signed-off-by: Boluwatife Omosowon <boluomosowon@gmail.com>

* Update src/utils/SearchInput.ts

Co-authored-by: Travis Ralston <travpc@gmail.com>

* fixed spolight dialog search for room and user links

* added tests for transformSearchTerm

* removed transformSearchTerm from room search bar

* replaces two test cases to one that should return the primaryEntityId if the search term was a permalink

* corrected ts issues

* changed type of transformSearchTerm to string

* changed return value from empty string to the original search term if the primaryEntityId of the parsedLink is null

* changed return value from empty string to the original search term if the primaryEntityId of the parsedLink is null

* refactored transformSearchTerm and added a new test case

* rewrote transformSearchTerm doc

* changed mocked return values of test case - should return the original search term if the search term is a permalink and the primaryEntityId is null

* lint corrections

---------

Signed-off-by: Boluwatife Omosowon <boluomosowon@gmail.com>
Co-authored-by: Boluwatife Omosowon <boluwatifeomosowon@Jesus-Loves-You.local>
Co-authored-by: Travis Ralston <travpc@gmail.com>
2023-05-09 07:55:50 +00:00
..
@types
__snapshots__
accessibility
actions/handlers
audio Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00
autocomplete
components Fix: Threads button is highlighted when I create a new room (#10819) 2023-05-08 20:58:27 +00:00
contexts
dispatcher
editor Fix autocomplete not resetting properly on message send (#10741) 2023-04-28 13:31:02 +00:00
events
hooks
i18n
i18n-test
images
img
models Fix a crash when a call ends while you're in it (#10681) 2023-04-21 13:54:27 +00:00
modules
notifications
settings Honour feature toggles in guest mode (#10651) 2023-04-24 10:02:17 +00:00
setup
stores set default activity ordering to natural for room list (#10820) 2023-05-08 20:58:53 +00:00
test-utils add push rules test utility (#10712) 2023-04-27 01:18:19 +00:00
toasts Revert "Implement new toast UI (#10467)" (#10740) 2023-04-28 14:56:26 +00:00
utils Allows search to recognize full room links (#8275) 2023-05-09 07:55:50 +00:00
voice-broadcast Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
Avatar-test.ts
ContentMessages-test.ts
DecryptionFailureTracker-test.js
DeviceListener-test.ts Replace uses of `checkDeviceTrust` with `getDeviceVerificationStatus` (#10663) 2023-04-24 14:19:46 +01:00
HtmlUtils-test.tsx Merge pull request from GHSA-xv83-x443-7rmw 2023-04-25 09:30:32 +01:00
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
Markdown-test.ts
MatrixClientPeg-test.ts Handle IDB `closed` event by showing modal with prompt to reload app (#10395 2023-03-31 10:08:45 +01:00
MediaDeviceHandler-test.ts
Notifier-test.ts
PosthogAnalytics-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
PreferredRoomVersions-test.ts
Reply-test.ts
RoomNotifs-test.ts
Rooms-test.ts
ScalarAuthClient-test.ts
SdkConfig-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
SlashCommands-test.tsx
SlidingSyncManager-test.ts
Terms-test.tsx
TestSdkContext.ts
TextForEvent-test.ts
Unread-test.ts Add unread fallback logging (#10509) 2023-04-11 07:41:59 +00:00
UserActivity-test.ts
WorkerManager-test.ts Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00
createRoom-test.ts Element-R: Starting a DMs with a user (#10673) 2023-04-24 14:19:08 +00:00
email-test.ts
globalSetup.js
languageHandler-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
linkify-matrix-test.ts Update finite automate to match user identifiers as per spec (#10798) 2023-05-09 07:46:19 +00:00
setupTests.js
slowReporter.js
theme-test.ts
useTopic-test.tsx