element-web/test
alunturner 3fa6f8cbf0
Handle command completions in RTE (#10521)
* pass handleCommand prop down and use it in WysiwygAutocomplete

* allow a command to generate a query from buildQuery

* port command functionality into the sendMessage util

* tidy up comments

* remove use of shouldSend and update comments

* remove console log

* make logic more explicit and amend comment

* uncomment replyToEvent block

* update util test

* remove commented out test

* use local text over import from current composer

* expand tests

* expand tests

* handle the FocusAComposer action for the wysiwyg composer

* remove TODO comment

* remove TODO

* test for action dispatch

* fix failing tests

* tidy up tests

* fix TS error and improve typing

* fix TS error

* amend return types for sendMessage, editMessage

* fix null content TS error

* fix another null content TS error

* use as to correct final TS error

* remove undefined argument

* try to fix TS errors for editMessage function usage

* tidy up

* add TODO

* improve comments

* update comment
2023-04-10 12:47:42 +00:00
..
@types
__snapshots__ add fallback reply for poll start (#10380) 2023-03-16 21:27:56 +00:00
accessibility
actions/handlers
audio
autocomplete Support dynamic room predecessor in SpaceProvider (#10348) 2023-03-10 11:01:45 +00:00
components Handle command completions in RTE (#10521) 2023-04-10 12:47:42 +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 strict `strictNullChecks` to `src/editor/*` (#10428 2023-03-23 13:35:55 +00:00
events
hooks
i18n
i18n-test
images
img
models
modules Fixes user authentication when registering via the module API (#10257) 2023-03-07 16:24:44 +01:00
notifications
settings Add stable unstable version for jump to date before `v1.6` is fully supported on a homeserver (#10398) 2023-03-17 15:08:17 -05:00
setup
stores Conform more of the codebase to `strictNullChecks` (#10518 2023-04-06 11:10:14 +01:00
test-utils Apply `strictNullChecks` to `src/utils/*!exportUtils` (#10455 2023-04-03 09:26:55 +01:00
toasts Handle group call redaction (#10465) 2023-03-28 13:16:30 +00:00
utils test AutoDiscoveryUtils (#10501) 2023-04-04 20:49:24 +00:00
voice-broadcast Better error handling in jump to date (#10405) 2023-03-24 14:39:24 -05:00
Avatar-test.ts
ContentMessages-test.ts Implement MSC3952: intentional mentions (#9983) 2023-03-23 11:47:40 +00:00
DecryptionFailureTracker-test.js
DeviceListener-test.ts
HtmlUtils-test.tsx
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts Conform more of the codebase to `strictNullChecks` (#10504 2023-04-04 11:41:46 +01: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
PreferredRoomVersions-test.ts
Reply-test.ts add fallback reply for poll start (#10380) 2023-03-16 21:27:56 +00:00
RoomNotifs-test.ts
Rooms-test.ts
ScalarAuthClient-test.ts
SdkConfig-test.ts
SlashCommands-test.tsx
SlidingSyncManager-test.ts Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
Terms-test.tsx
TestSdkContext.ts
TextForEvent-test.ts
Unread-test.ts
UserActivity-test.ts
createRoom-test.ts Restore createRoom.canEncryptToAllUsers (#10491) 2023-04-03 11:28:17 +02:00
email-test.ts
globalSetup.js
languageHandler-test.ts Replace `newTranslatableError` with `UserFriendlyError` (#10440 2023-03-31 08:30:43 +01:00
linkify-matrix-test.ts
setupTests.js Kill off enzyme in preference of react testing library (#10255) 2023-03-06 15:17:46 +00:00
slowReporter.js
theme-test.ts
useTopic-test.tsx