Michael Telatynski
d5cacff6c3
Create more `action_*` common strings ( #11438 )
2023-08-23 11:57:22 +01:00
Michael Telatynski
df4a2218d7
Align `action_*` strings with Element X project in Localazy ( #11437 )
2023-08-22 20:55:15 +01:00
Michael Telatynski
c40141cc4f
Align `common_*` strings with Element X project in Localazy ( #11434 )
2023-08-22 18:47:33 +01:00
Michael Telatynski
ac70f7ac9b
Fix instances of double translation and guard translation calls using typescript ( #11443 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-08-22 16:32:05 +01:00
Michael Telatynski
ad73b0c16e
Switch to importing most things from the main matrix-js-sdk export ( #11406 )
...
* Switch to importing most things from the main matrix-js-sdk export
* fix imports
* Iterate
* Fix tests
2023-08-15 15:00:17 +00:00
Michael Telatynski
c3574c2050
Switch to importing client from main js-sdk export ( #11370 )
2023-08-09 07:18:41 +00:00
Michael Telatynski
e67ca33c4a
Switch to importing models/Room from main js-sdk export ( #11361 )
...
* Switch to importing TypedEventEmitter from main js-sdk export
* Switch to importing js-sdk/matrix in cypress
* Remove duplicated imports
* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess
* Add lint rule
* Switch to importing models/Room from main js-sdk export
* Fix cypress-axe import
* Fix more imports
* Fix cypress-axe import
* Fix duplicated lint rule
2023-08-04 07:36:16 +00:00
Richard van der Hoff
1f3d99c25c
Improve comments on key-setup dialogs ( #11339 )
...
* Remove outdated (I think) TODO
* Improve comments on key-setup dialogs
2023-07-28 14:29:34 +00:00
Michael Telatynski
d405160080
Use PassphraseFields in ExportE2eKeysDialog to enforce minimum passphrase complexity ( #11222 )
...
* Use PassphraseFields in ExportE2eKeysDialog to enforce minimum passphrase complexity
* Tweak copy
* Iterate
* Add tests
* Improve variable naming
* Improve coverage
2023-07-27 09:21:20 +00:00
Michael Telatynski
285847560b
Conform more of the codebase to strict typing ( #11195 )
2023-07-07 09:02:13 +01:00
Michael Telatynski
8107f1d271
Conform more of the codebase to strict types ( #11191 )
2023-07-05 11:53:22 +01:00
Michael Telatynski
7b3a4e556a
Conform more of the codebase to `strictNullChecks` ( #11100 )
2023-06-22 14:39:36 +01:00
Michael Telatynski
9b5b053148
Use MatrixClientPeg::safeGet for strict typing ( #10989 )
2023-06-21 17:29:44 +01:00
Florian Duros
77da949fd4
`CreateKeyBackupDialog.tsx`: Remove logic for servers which are not supporting cross-signing ( #11076 )
2023-06-16 13:25:24 +01:00
Michael Telatynski
30429df948
Eliminate the use of MatrixClientPeg in utils ( #10910 )
2023-05-23 16:24:12 +01:00
Michael Telatynski
6a3f59cc76
Make more of the codebase conform to strict types ( #10857 )
2023-05-16 14:25:43 +01:00
Michael Telatynski
1281c0746b
Conform more of the codebase to `strictNullChecks` ( #10731 )
2023-04-28 09:45:36 +01:00
Michael Telatynski
0c38bd7beb
Fix import e2e key dialog staying disabled after paste ( #10375 )
2023-03-15 09:20:20 +00:00
Michael Telatyński
8ad21e6492
Apply strictNullChecks to src/async-components/* ( #10251
...
* Apply strictNullChecks to src/async-components/*
* Iterate
2023-02-28 10:51:27 +00:00
Michael Telatyński
629e5cb01f
Properly type Modal props to ensure useful typescript checking ( #10238
...
* Properly type Modal props to ensure useful typescript checking
* delint
* Iterate
* Iterate
* Fix modal.close loop
* Iterate
* Fix tests
* Add comment
* Fix test
2023-02-28 10:31:48 +00:00
Michael Telatyński
12dd799301
Fix double translation issue ( #10240
...
* Fix double translation issue
* Remove some redundant string concatenations
2023-02-27 09:15:27 +00:00
Michael Weimann
9b267e7bc4
Add success dialog after key backup ( #10177 )
2023-02-17 12:35:13 +00:00
Suguru Hirahara
d3923c0b8a
Capitalization of security key and phrase ( #10158 )
2023-02-14 10:05:58 +00:00
Suguru Hirahara
ea4000cf1e
Fix 'Failed check: Ellipsis' on Weblate ( #10144 )
...
* Fix 'Failed check: Ellipsis' on Weblate
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Fix tests
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove white space characters before the horizontal ellipsis from RoomPreviewBar
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* yarn run i18n
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Additional change
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-02-14 09:05:01 +00:00
Michael Telatynski
da7aa4055e
Conform more of the code base to strict null checking ( #10147 )
...
* Conform more of the code base to strict null checking
* More strict fixes
* More strict work
* Fix missing optional type
* Iterate
2023-02-13 17:01:43 +00:00
Michael Telatynski
61a63e47f4
Comply with noImplicitAny ( #9940 )
...
* Stash noImplicitAny work
* Stash
* Fix imports
* Iterate
* Fix tests
* Delint
* Fix tests
2023-02-13 11:39:16 +00:00
Suguru Hirahara
ac7f69216e
Remove duplicate translated string ( #10139 )
2023-02-13 11:31:22 +00:00
Michael Telatynski
030b7e90bf
Enable `@typescript-eslint/explicit-function-return-type` in /src ( #9788 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
* Enable `@typescript-eslint/explicit-function-return-type` in /src
* Fix types
* tsc strict fixes
* Delint
* Fix test
* Fix bad merge
2023-01-12 13:25:14 +00:00
Michael Telatynski
f1e8e7f140
Enable `@typescript-eslint/explicit-member-accessibility` on /src ( #9785 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
2022-12-16 12:29:59 +00:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Travis Ralston
1032334b20
Convert inputs on Export/Import Room Key dialogs to be real Fields ( #9350 )
...
* Convert inputs on Export/Import Room Key dialogs to be real Fields
Fixes https://github.com/vector-im/element-web/issues/18517
* Correctly label the second field
* Appease the linter
2022-10-04 23:28:57 -06:00
Michael Telatynski
b91f0ed7ba
Improve partial translation `or` to have usage context ( #9244 )
2022-09-06 13:27:36 +01:00
Suguru Hirahara
731776d189
Improve link buttons and inline link buttons styling ( #8238 )
...
* Set padding: 0 to both "link" and "link_inline"
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - _SpotlightDialog.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - JoinRuleSettings
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - _ViewSourceEvent.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - _RoomDirectory.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - _InviteDialog.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - ServerOfflineDialog
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - UpdateCheckButton
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - NonUrgentEchoFailureToast
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant settings - CallView
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove unused styles - _RoomSettingsDialogBridges.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Replace "link" with "link_inline" for inline links
- src/components/structures/UserMenu.tsx
- src/components/views/dialogs/BetaFeedbackDialog.tsx
- src/components/views/dialogs/FeedbackDialog.tsx
- src/components/views/rooms/NewRoomIntro.tsx
- src/components/views/settings/tabs/room/NotificationSettingsTab.tsx
- src/components/views/settings/tabs/user/PreferencesUserSettingsTab.tsx
- src/components/views/spaces/SpaceCreateMenu.tsx
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Replace "link_inline" with "link" for links not inline
- src/async-components/views/dialogs/security/CreateKeyBackupDialog.tsx
- src/async-components/views/dialogs/security/CreateSecretStorageDialog.tsx
- src/components/structures/auth/ForgotPassword.tsx
- src/components/structures/auth/Registration.tsx
- src/components/views/auth/InteractiveAuthEntryComponents.tsx
- src/components/views/dialogs/security/AccessSecretStorageDialog.tsx
- src/components/views/dialogs/security/RestoreKeyBackupDialog.tsx
- src/components/views/messages/TileErrorBoundary.tsx
- src/components/views/messages/ViewSourceEvent.tsx
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove a redundant declaration - _SetupEncryptionBody.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove a redundant declaration - _ReplyChain.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove a redundant declaration - _EventTile.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove an obsolete style block - _RoomPreviewCard.scss
The block was transferred from _SpaceRoomView.scss with ec24dc661edb6979ba901936067e5bc731dafa59
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove a redundant declaration - _SecurityUserSettingsTab.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove element='span' - NewRoomIntro.tsx
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove redundant declarations - _ServerPicker.scss
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Replace 'link' with 'link_inline' - AnalyticsToast.tsx
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-06-29 22:37:34 +00:00
Michael Telatynski
3c5c2bef6d
Remove Piwik support ( #8835 )
...
* Remove all mentions of Piwik
* Kill off all consumer of the old Piwik Analytics module
* Simplify ModalManager interface
* i18n
* Attempt to fix old e2e tests
* Remove unused component
* Iterate PR
2022-06-14 17:51:51 +01:00
Faye Duxovni
527da1c5e7
Followup type-check fixes for bootstrapCrossSigning callback ( #8753 )
2022-06-03 17:24:25 +00:00
Faye Duxovni
2f7f36ac85
Ensure the first device on a newly-registered account gets cross-signed properly ( #8750 )
2022-06-03 08:57:52 -04:00
Suguru Hirahara
464eb93a44
Fix visual bugs on AccessSecretStorageDialog ( #8160 )
...
* Remove duplicate mx_Dialog_buttons
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Group buttons on mx_Dialog with span
- Cancel default styling for elements inside .mx_AccessSecretStorageDialog_primaryContainer
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Move common rules of mx_Dialog_buttons_row to _common.scss
- Set 16px gap between buttons per https://github.com/vector-im/element-web/issues/19426#issuecomment-949778515
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Spacing variables
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Nesting - .mx_AccessSecretStorageDialog_reset
- Fix the reset link color
- Set $spacingStart variable
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove unnecessary rule
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-11 12:33:21 +00:00
Travis Ralston
548290b006
Run a minor code quality checker over the repo ( #8524 )
...
* Run a minor code quality checker over the repo
Largely targeted at spelling of common words and misc code issues.
* Update snapshots
2022-05-09 22:52:05 +00:00
Michael Telatynski
964c60d086
Apply corrections identified by SonarQube ( #8457 )
2022-05-03 22:04:37 +01:00
Michael Telatynski
f25e6813bb
Mandate use of js-sdk/src/matrix import over js-sdk/src ( #7933 )
2022-03-01 20:42:05 +00:00
Michael Telatynski
7fa01ffb06
Improve typing around event emitter handlers ( #7816 )
2022-02-22 12:18:08 +00:00
Michael Telatynski
76fb2abae1
Consolidate, simplify and improve copied tooltips ( #7799 )
2022-02-14 23:54:46 +00:00
Aaron Raimist
2e8a93834b
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 09:10:23 +00:00
Aaron Raimist
7b94e13a84
Merge branch 'develop' into sort-imports
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 08:34:20 +00:00
Michael Weimann
f27eb04133
Adjust recovery key button sizes depending on text width ( #7134 )
2021-11-17 09:34:59 +00:00
Travis Ralston
8742870b12
Fix js-sdk import ( #7143 )
2021-11-16 11:44:33 +00:00
Faye Duxovni
d61a83a7b9
Remove all directional quotation marks in the codebase ( #7059 )
2021-10-29 21:59:21 -04:00
Aaron Raimist
f738ad51bd
Autofix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-10-27 21:53:12 -05:00
Aaron Raimist
f3867ad0a9
Merge branch 'develop' into sort-imports
2021-10-27 21:50:56 -05:00
Šimon Brandner
c5bd1fb32d
Convert `/src/async-components/views/dialogs/security` to TS ( #6923 )
...
* Convert RecoveryMethodRemovedDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Convert NewRecoveryMethodDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Convert ImportE2eKeysDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Convert ExportE2eKeysDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Convert CreateSecretStorageDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Convert CreateKeyBackupDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix types
This is somewhat hacky though I don't know of a better way to do this
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-10-22 21:32:16 -06:00