element-portable/test/components/views
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
..
audio_messages Update tests to prefer RTL over Enzyme (#10247 2023-02-28 08:58:23 +00:00
auth Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
avatars Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
beacon Conform more of the codebase to strictNullChecks (#10518 2023-04-06 11:10:14 +01:00
beta Apply prettier formatting 2022-12-12 12:24:14 +01:00
context_menus Show "Invite" menu option if "UIComponent.sendInvites" is enabled. (#10363) 2023-03-28 09:10:18 +13:00
dialogs Fix send two join requests when joining a room from spotlight search (#10534) 2023-04-06 14:02:18 +00:00
elements Apply strictNullChecks to src/components/views/elements/* (#10462 2023-03-29 08:23:54 +01:00
emojipicker Sort short/exact emoji matches before longer incomplete matches (#10212) 2023-02-27 17:09:15 +00:00
location Apply strictNullChecks to src/components/views/location/* (#10249 2023-02-28 08:55:59 +00:00
messages Handle group call redaction (#10465) 2023-03-28 13:16:30 +00:00
polls/pollHistory replace Polls history strings with Poll history (#10454) 2023-03-28 22:13:51 +00:00
right_panel replace Polls history strings with Poll history (#10454) 2023-03-28 22:13:51 +00:00
rooms Handle command completions in RTE (#10521) 2023-04-10 12:47:42 +00:00
settings Conform more of the codebase to strictNullChecks (#10518 2023-04-06 11:10:14 +01:00
spaces Support dynamic room predecessors in AddExistingToSpaceDialog (#10342) 2023-03-09 17:17:28 +00:00
typography Notifications: inline error message on notifications saving error (#10288) 2023-03-13 21:59:04 +00:00
user-onboarding Remove feedback buttons from onboarding, search, and spaces (#10506) 2023-04-05 12:17:25 +01:00
voip Use the room avatar as a placeholder in calls (#10231) 2023-02-27 09:34:02 +00:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00