element-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 Use server side relations for voice broadcasts (#9534) 2022-11-07 14:19:49 +00:00
__snapshots__ add fallback reply for poll start (#10380) 2023-03-16 21:27:56 +00:00
accessibility Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
actions/handlers Apply prettier formatting 2022-12-12 12:24:14 +01:00
audio Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00
autocomplete Support dynamic room predecessor in SpaceProvider (#10348) 2023-03-10 11:01:45 +00:00
components Fix: Threads button is highlighted when I create a new room (#10819) 2023-05-08 20:58:27 +00:00
contexts Add UserProfilesStore, LruCache and cache for user permalink profiles (#10425) 2023-03-27 10:07:43 +02:00
dispatcher Remove flux dependency (#10313) 2023-03-08 14:19:05 +00:00
editor Fix autocomplete not resetting properly on message send (#10741) 2023-04-28 13:31:02 +00:00
events Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
hooks Convert remaining hook tests to RTL (#10166) 2023-02-16 14:13:05 +00:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Add ESLint Jest (#10261) 2023-03-01 16:23:35 +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 a crash when a call ends while you're in it (#10681) 2023-04-21 13:54:27 +00:00
modules Fixes user authentication when registering via the module API (#10257) 2023-03-07 16:24:44 +01:00
notifications Apply prettier formatting 2022-12-12 12:24:14 +01:00
settings Honour feature toggles in guest mode (#10651) 2023-04-24 10:02:17 +00:00
setup Fix some features not being configurable via features (#10276) 2023-03-03 13:31:51 +00:00
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 Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
ContentMessages-test.ts Implement MSC3952: intentional mentions (#9983) 2023-03-23 11:47:40 +00:00
createRoom-test.ts Element-R: Starting a DMs with a user (#10673) 2023-04-24 14:19:08 +00:00
DecryptionFailureTracker-test.js Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
DeviceListener-test.ts Replace uses of checkDeviceTrust with getDeviceVerificationStatus (#10663) 2023-04-24 14:19:46 +01:00
email-test.ts Factor out basic email check (#10244) 2023-02-28 10:39:35 +01:00
globalSetup.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
HtmlUtils-test.tsx Merge pull request from GHSA-xv83-x443-7rmw 2023-04-25 09:30:32 +01:00
Image-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
KeyBindingsManager-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
languageHandler-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
LegacyCallHandler-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
Markdown-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
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 Apply prettier formatting 2022-12-12 12:24:14 +01:00
Notifier-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
PosthogAnalytics-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +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 add fallback reply for poll start (#10380) 2023-03-16 21:27:56 +00:00
RoomNotifs-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
Rooms-test.ts Prevent unnecessary m.direct updates (#9805) 2022-12-21 09:30:08 -07:00
ScalarAuthClient-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
SdkConfig-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
setupTests.js Kill off enzyme in preference of react testing library (#10255) 2023-03-06 15:17:46 +00:00
SlashCommands-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
SlidingSyncManager-test.ts Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
slowReporter.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
Terms-test.tsx Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
TestSdkContext.ts Add voice broadcast playback pip (#9603) 2022-11-24 09:08:41 +01:00
TextForEvent-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
theme-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
Unread-test.ts Add unread fallback logging (#10509) 2023-04-11 07:41:59 +00:00
UserActivity-test.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
useTopic-test.tsx Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
WorkerManager-test.ts Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00