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 |
||
---|---|---|
.. | ||
@types | ||
__snapshots__ | ||
accessibility | ||
actions/handlers | ||
audio | ||
autocomplete | ||
components | ||
contexts | ||
dispatcher | ||
editor | ||
events | ||
hooks | ||
i18n | ||
i18n-test | ||
images | ||
img | ||
models | ||
modules | ||
notifications | ||
settings | ||
setup | ||
stores | ||
test-utils | ||
toasts | ||
utils | ||
voice-broadcast | ||
Avatar-test.ts | ||
ContentMessages-test.ts | ||
DecryptionFailureTracker-test.js | ||
DeviceListener-test.ts | ||
HtmlUtils-test.tsx | ||
Image-test.ts | ||
KeyBindingsManager-test.ts | ||
LegacyCallHandler-test.ts | ||
Markdown-test.ts | ||
MatrixClientPeg-test.ts | ||
MediaDeviceHandler-test.ts | ||
Notifier-test.ts | ||
PosthogAnalytics-test.ts | ||
PreferredRoomVersions-test.ts | ||
Reply-test.ts | ||
RoomNotifs-test.ts | ||
Rooms-test.ts | ||
ScalarAuthClient-test.ts | ||
SdkConfig-test.ts | ||
SlashCommands-test.tsx | ||
SlidingSyncManager-test.ts | ||
Terms-test.tsx | ||
TestSdkContext.ts | ||
TextForEvent-test.ts | ||
Unread-test.ts | ||
UserActivity-test.ts | ||
WorkerManager-test.ts | ||
createRoom-test.ts | ||
email-test.ts | ||
globalSetup.js | ||
languageHandler-test.ts | ||
linkify-matrix-test.ts | ||
setupTests.js | ||
slowReporter.js | ||
theme-test.ts | ||
useTopic-test.tsx |