element-web/src
kenwuuu dc4bb237d4
Replace hardcoded strings with MsgType constants ()
* replace hardcoded strings with MsgType constants

* fix import and revert comments

Signed-off-by: Ken Wu kenqiwu@gmail.com

* fix import

Signed-off-by: Ken Wu kenqiwu@gmail.com

---------

Signed-off-by: Ken Wu kenqiwu@gmail.com
2023-04-17 09:37:29 +00:00
..
@types Update dependency typescript to v5 () 2023-04-06 13:17:50 +01:00
accessibility Make composer format bar an aria toolbar () 2023-04-12 13:58:38 +00:00
actions Conform more of the codebase to `strictNullChecks` ( 2023-03-10 14:55:06 +00:00
async-components/views/dialogs Fix import e2e key dialog staying disabled after paste () 2023-03-15 09:20:20 +00:00
audio Conform more of the codebase to `strictNullChecks` ( 2023-03-10 14:55:06 +00:00
autocomplete Conform more of the codebase to `strictNullChecks` () 2023-04-17 08:31:58 +01:00
components Replace hardcoded strings with MsgType constants () 2023-04-17 09:37:29 +00:00
contexts Improve context types () 2023-04-04 14:01:04 +01:00
customisations Conform more of the codebase to `strictNullChecks` () 2023-04-17 08:31:58 +01:00
dispatcher Conform more code to `strictNullChecks` () 2023-03-16 11:07:29 +00:00
editor Conform more of the codebase to `strictNullChecks` () 2023-04-13 08:52:57 +01:00
effects Make TS strict the effects folder () 2023-02-08 13:12:14 +01:00
emojipicker Enable `@typescript-eslint/explicit-function-return-type` in /src () 2023-01-12 13:25:14 +00:00
events Update dependency typescript to v5 () 2023-04-06 13:17:50 +01:00
hooks Conform more of the codebase to `strictNullChecks` () 2023-04-13 08:52:57 +01:00
i18n/strings Fix WebGL disabled error message () 2023-04-17 04:25:04 +00:00
indexing Make more code conform to strict null checks ( 2023-02-24 15:28:40 +00:00
integrations Apply `strictNullChecks` to src/stores/widgets/* () 2023-03-08 11:48:58 +00:00
mjolnir Apply `strictNullChecks` around the codebase ( 2023-03-07 13:19:18 +00:00
models Conform more code to strict null checking () 2023-02-15 13:36:22 +00:00
modules Merge branch 'master' into develop 2023-03-28 14:30:52 +01:00
notifications Apply `strictNullChecks` around the codebase ( 2023-03-07 13:19:18 +00:00
performance Conform more of the code base to strict null checking () 2023-02-13 17:01:43 +00:00
rageshake Remove dependency on `org.matrix.e2e_cross_signing` unstable feature () 2023-04-14 10:14:05 +00:00
resizer Conform more of the codebase to `strictNullChecks` () 2023-04-17 08:31:58 +01:00
settings Update setting description to match reality () 2023-04-14 08:58:08 +00:00
stores Conform more of the codebase to strictNullChecks () 2023-04-17 09:25:00 +01:00
toasts Simplify `isDeviceVerified` definitions () 2023-04-14 09:46:37 +00:00
usercontent Apply prettier formatting 2022-12-12 12:24:14 +01:00
utils Replace hardcoded strings with MsgType constants () 2023-04-17 09:37:29 +00:00
voice-broadcast Conform more of the codebase to `strictNullChecks` ( 2023-04-04 11:41:46 +01:00
widgets Apply `strictNullChecks` around the codebase ( 2023-03-07 13:19:18 +00:00
workers
AddThreepid.ts Properly translate errors in `AddThreepid.ts` () 2023-04-14 15:40:19 +01:00
AsyncWrapper.tsx Explicitly specify all `children` props () 2023-03-08 13:28:07 +00:00
Avatar.ts Fix bug on Avatar.ts for custom theme avatar background color () 2023-04-14 13:38:54 +00:00
BasePlatform.ts Clear electron data when logging out () 2023-03-15 15:56:29 +00:00
BlurhashEncoder.ts Enable `@typescript-eslint/explicit-function-return-type` in /src () 2023-01-12 13:25:14 +00:00
ContentMessages.ts Implement MSC3952: intentional mentions () 2023-03-23 11:47:40 +00:00
DateUtils.ts Display relative timestamp for threads on the same calendar day () 2023-03-27 20:22:46 +00:00
DecryptionFailureTracker.ts Conform more code to strict null checking () 2023-02-16 17:21:44 +00:00
DeviceListener.ts Remove dependency on `org.matrix.e2e_cross_signing` unstable feature () 2023-04-14 10:14:05 +00:00
Editing.ts Enable `@typescript-eslint/explicit-function-return-type` in /src () 2023-01-12 13:25:14 +00:00
HtmlUtils.tsx Apply `strictNullChecks` to `src/components/views/elements/*` ( 2023-03-29 08:23:54 +01:00
IConfigOptions.ts Remove hosting link provider from Element () 2023-03-02 17:36:16 +00:00
IdentityAuthClient.tsx Conform more code to strict null checking () 2023-02-16 17:21:44 +00:00
ImageUtils.ts Conform more of the codebase to `strictNullChecks` () 2023-04-13 08:52:57 +01:00
KeyBindingsDefaults.ts Apply `strictNullChecks` around the codebase ( 2023-03-07 13:19:18 +00:00
KeyBindingsManager.ts Conform more code to `strictNullChecks` () 2023-03-16 11:07:29 +00:00
Keyboard.ts Comply with noImplicitAny () 2023-02-13 11:39:16 +00:00
LegacyCallHandler.tsx Conform more of the codebase to `strictNullChecks` ( 2023-04-04 11:41:46 +01:00
Lifecycle.ts Conform more of the codebase to `strictNullChecks` ( 2023-04-06 11:10:14 +01:00
Livestream.ts Enable `@typescript-eslint/explicit-function-return-type` in /src () 2023-01-12 13:25:14 +00:00
Login.ts Apply `strictNullChecks` to `src/components/auth/*` ( 2023-03-31 09:26:15 +01:00
Markdown.ts Apply strictNullChecks to Markdown.ts () 2023-04-17 07:41:51 +00:00
MatrixClientPeg.ts Conform more of the codebase to `strictNullChecks` ( 2023-04-06 11:10:14 +01:00
MediaDeviceHandler.ts Make more code conform to strict null checks ( 2023-02-24 15:28:40 +00:00
Modal.tsx Better error handling in jump to date () 2023-03-24 14:39:24 -05:00
NodeAnimator.tsx Apply `strictNullChecks` around the codebase ( 2023-03-07 13:19:18 +00:00
Notifier.ts Apply `strictNullChecks` around the codebase ( 2023-03-07 13:19:18 +00:00
PageTypes.ts
PasswordReset.ts Fix some inconsistencies in error messages () 2023-02-09 10:04:54 +00:00
PlatformPeg.ts Enable `@typescript-eslint/explicit-function-return-type` in /src () 2023-01-12 13:25:14 +00:00
PosthogAnalytics.ts Conform more code to strict null checking () 2023-02-15 13:36:22 +00:00
PosthogTrackers.ts Make more code conform to strict null checks ( 2023-02-24 15:28:40 +00:00
Presence.ts Conform more of the code base to strict null checking () 2023-02-13 17:01:43 +00:00
Registration.tsx Fix UIFeature.Registration not applying to all paths () 2023-03-14 15:20:38 +00:00
Resend.ts Conform more of the code base to strict null checking () 2023-02-13 17:01:43 +00:00
Roles.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
RoomAliasCache.ts Conform more of the code base to strict null checking () 2023-02-13 17:01:43 +00:00
RoomInvite.tsx Properly type Modal props to ensure useful typescript checking ( 2023-02-28 10:31:48 +00:00
RoomNotifs.ts Conform more of the code base to strict null checking () 2023-02-13 17:01:43 +00:00
Rooms.ts Apply `strictNullChecks` around the codebase ( 2023-03-07 13:19:18 +00:00
ScalarAuthClient.ts Conform more code to strict null checking () 2023-02-16 17:21:44 +00:00
ScalarMessaging.ts Apply `strictNullChecks` around the codebase ( 2023-03-07 13:19:18 +00:00
SdkConfig.ts Apply `strictNullChecks` to `src/components/views/auth/*` ( 2023-03-07 10:45:55 +00:00
Searching.ts Conform more code to `strictNullChecks` () 2023-03-16 11:07:29 +00:00
SecurityManager.ts Apply `strictNullChecks` around the codebase ( 2023-03-07 13:19:18 +00:00
SendHistoryManager.ts Enable `@typescript-eslint/explicit-function-return-type` in /src () 2023-01-12 13:25:14 +00:00
SlashCommands.tsx Replace `newTranslatableError` with `UserFriendlyError` ( 2023-03-31 08:30:43 +01:00
SlidingSyncManager.ts More tests 2023-01-20 12:38:58 +00:00
Terms.ts Apply `strictNullChecks` around the codebase ( 2023-03-07 13:19:18 +00:00
TextForEvent.tsx Conform more code to strict null checking () 2023-02-16 17:21:44 +00:00
Unread.ts Add unread fallback logging () 2023-04-11 07:41:59 +00:00
UserActivity.ts Comply with noImplicitAny () 2023-02-13 11:39:16 +00:00
UserAddress.ts
Views.ts
VoipUserMapper.ts Conform more of the code base to strict null checking () 2023-02-13 17:01:43 +00:00
WhoIsTyping.ts TypeScript strict fixes () 2023-02-10 18:11:57 +00:00
boundThreepids.ts Conform more of the codebase to `strictNullChecks` ( 2023-03-10 14:55:06 +00:00
call-types.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
createRoom.ts Conform more of the codebase to `strictNullChecks` ( 2023-04-06 11:10:14 +01:00
email.ts Factor out basic email check () 2023-02-28 10:39:35 +01:00
emoji.ts Conform more of the code base to strict null checking () 2023-02-13 17:01:43 +00:00
identifiers.ts
index.ts
languageHandler.tsx Replace `newTranslatableError` with `UserFriendlyError` ( 2023-03-31 08:30:43 +01:00
linkify-matrix.ts Make more code conform to strict null checks ( 2023-02-24 15:28:40 +00:00
phonenumber.ts Enable `@typescript-eslint/explicit-function-return-type` in /src () 2023-01-12 13:25:14 +00:00
sendTimePerformanceMetrics.ts Enable `@typescript-eslint/explicit-function-return-type` in /src () 2023-01-12 13:25:14 +00:00
sentry.ts Remove dependency on `org.matrix.e2e_cross_signing` unstable feature () 2023-04-14 10:14:05 +00:00
shouldHideEvent.ts Comply with noImplicitAny () 2023-02-13 11:39:16 +00:00
theme.ts Update all non-major dependencies () 2023-03-06 17:21:09 +00:00
verification.ts TypeScript strict fixes () 2023-02-10 18:11:57 +00:00