element-web/test/components/views/rooms
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
..
__snapshots__ Fix decryption failure bar covering the timeline (#10360) 2023-03-30 10:11:16 +01:00
EventTile Add EventTileThreadToolbar tests (#10243) 2023-02-27 16:27:13 +00:00
NotificationBadge Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
wysiwyg_composer Handle command completions in RTE (#10521) 2023-04-10 12:47:42 +00:00
BasicMessageComposer-test.tsx fix: correctly identify emoticons (#10108) 2023-02-08 17:29:12 +01:00
DecryptionFailureBar-test.tsx Improve decryption error UI by consolidating error messages and providing instructions when possible (#9544) 2022-12-15 17:24:33 +00:00
EditMessageComposer-test.tsx Properly generate mentions when editing a reply with MSC3952 (#10486) 2023-04-02 21:32:12 +00:00
EventTile-test.tsx Highlight event when any version triggered a highlight (#10502) 2023-04-05 02:46:17 +00:00
ExtraTile-test.tsx Refactor ExtraTile to use functional components (#10191) 2023-02-23 11:57:37 +00:00
MemberList-test.tsx Replace react-dom tests with react testing-library tests (#10260) 2023-03-01 15:59:27 +00:00
MessageComposer-test.tsx Better error handling in jump to date (#10405) 2023-03-24 14:39:24 -05:00
MessageComposerButtons-test.tsx Replace some enzyme tests by @testing-library/react (#9822) 2022-12-23 10:46:14 +00:00
NewRoomIntro-test.tsx Implement third-party invite waiting room (#10229) 2023-03-06 12:08:04 +01:00
ReadReceiptGroup-test.tsx Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
RoomHeader-test.tsx Apply strictNullChecks to src/stores/widgets/* (#10324) 2023-03-08 11:48:58 +00:00
RoomList-test.tsx Show room create icon if "UIComponent.roomCreation" is enabled (#10364) 2023-04-03 09:19:56 +12:00
RoomListHeader-test.tsx Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
RoomPreviewBar-test.tsx Support joining non-peekable rooms via the module API (#10154) 2023-02-23 10:29:21 +00:00
RoomPreviewCard-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
RoomTile-test.tsx Use the same avatar colour when creating 1:1 DM rooms (#9850) 2023-01-05 17:05:21 +01:00
SearchBar-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
SearchResultTile-test.tsx Fix "[object Promise]" appearing in HTML exports (#9975) 2023-01-30 14:31:32 +00:00
SendMessageComposer-test.tsx Implement MSC3952: intentional mentions (#9983) 2023-03-23 11:47:40 +00:00
VoiceRecordComposerTile-test.tsx Implement MSC3952: intentional mentions (#9983) 2023-03-23 11:47:40 +00:00