riot-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
auth
avatars
beacon
beta
context_menus
dialogs
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
messages Fall back from server generated thumbnail to original image (#10853) 2023-05-11 09:20:14 +00:00
polls/pollHistory
right_panel
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
toasts
typography
user-onboarding
voip
Validation-test.ts