element-web/test/components/views
alunturner 0889dc55da
Room and user mentions for plain text editor (#10665)
* update useSuggestion

* update useSuggestion-tests

* add processMention tests

* add test

* add getMentionOrCommand tests

* change mock href for codeQL reasons

* fix TS issue in test

* add a big old cypress test

* fix lint error

* update comments

* reorganise functions in order of importance

* rename functions and variables

* add endOffset to return object

* fix failing tests

* update function names and comments

* update comment, remove delay

* update comments and early return

* nest mappedSuggestion inside Suggestion state and update test

* rename suggestion => suggestionData

* update comment

* add argument to findSuggestionInText

* make findSuggestionInText return mappedSuggestion

* fix TS error

* update comments and index check from === -1 to < 0

* tidy logic in increment functions

* rename variable

* Big refactor to address multiple comments, improve behaviour and add tests

* improve comments

* tidy up comment

* extend comment

* combine similar returns

* update comment

* remove single use variable

* fix comments
2023-05-11 14:28:42 +00:00
..
audio_messages Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00
auth Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
avatars Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
beacon Make test ID compatible with findByTestId() of Cypress Testing Library (#10617) 2023-04-17 06:10:11 +00:00
beta Apply prettier formatting 2022-12-12 12:24:14 +01:00
context_menus Add developer tools option to room list context menu (#10635) 2023-04-19 11:34:27 +00:00
dialogs Fix: No feedback when waiting for the server on a /delete_devices request with SSO (#10795) 2023-05-07 21:12:45 +00:00
elements Conform more of the codebase to strictNullChecks (#10842) 2023-05-11 09:56:56 +01:00
emojipicker Fix regression in emoji picker order mangling after clearing filter (#10854) 2023-05-11 13:24:39 +00:00
location ARIA Accessibility improvements (#10675) 2023-04-21 09:48:48 +00:00
messages Fall back from server generated thumbnail to original image (#10853) 2023-05-11 09:20:14 +00:00
polls/pollHistory replace Polls history strings with Poll history (#10454) 2023-03-28 22:13:51 +00:00
right_panel Fix long room address and name not being clipped on room info card and update _RoomSummaryCard.pcss (#10811) 2023-05-09 07:56:09 +00:00
rooms Room and user mentions for plain text editor (#10665) 2023-05-11 14:28:42 +00:00
settings Add appearance-user-settings-tab.spec.ts (#10697) 2023-05-11 06:33:50 +00:00
spaces Use semantic headings in space settings (#10751) 2023-05-03 01:55:55 +00:00
toasts Revert "Implement new toast UI (#10467)" (#10740) 2023-04-28 14:56:26 +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 Apply strictNullChecks to src/components/views/voip/* (#10692) 2023-05-05 13:26:31 +00:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00