mirror of https://github.com/vector-im/riot-web
0889dc55da
* 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 |
||
---|---|---|
.. | ||
EventTile | ||
NotificationBadge | ||
__snapshots__ | ||
wysiwyg_composer | ||
BasicMessageComposer-test.tsx | ||
DecryptionFailureBar-test.tsx | ||
EditMessageComposer-test.tsx | ||
EventTile-test.tsx | ||
ExtraTile-test.tsx | ||
MemberList-test.tsx | ||
MessageComposer-test.tsx | ||
MessageComposerButtons-test.tsx | ||
NewRoomIntro-test.tsx | ||
ReadReceiptGroup-test.tsx | ||
RoomHeader-test.tsx | ||
RoomList-test.tsx | ||
RoomListHeader-test.tsx | ||
RoomPreviewBar-test.tsx | ||
RoomPreviewCard-test.tsx | ||
RoomTile-test.tsx | ||
SearchBar-test.tsx | ||
SearchResultTile-test.tsx | ||
SendMessageComposer-test.tsx | ||
VoiceRecordComposerTile-test.tsx |