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
Suguru Hirahara
1b426ce0c8
Organize style rules of AccessSecretStorageDialog to avoid visual bugs ( #8395 )
...
* .mx_AccessSecretStorageDialog
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* .mx_AccessSecretStorageDialog_primaryContainer
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* .mx_AccessSecretStorageDialog_titleWithIcon
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Adopt BEM style
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* yarn run lint:style --fix
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2022-06-15 09:47:25 -06: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
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
Janne Mareike Koschinski
dbcb56f75e
Fix: Avatar preview does not update when same file is selected repeatedly ( #8288 )
...
* Fix: Avatar preview does not update when same file is selected repeatedly
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2022-04-12 14:21:17 +02:00
Travis Ralston
115ae198c8
Step 5: Fix newly-discovered TS issues
2022-03-28 14:02:31 -06:00
Travis Ralston
b667ef9f18
Step 3.2: Stop using getComponent in code
2022-03-28 14:02:31 -06:00
Travis Ralston
997d6d40bf
Step 1: Remove all usage of @replaceableComponent
2022-03-28 14:02:31 -06:00
Kerry
d98a73b003
Revert "replace all require(.svg) with esm import" ( #7969 )
...
* Revert "replace all require(svgs) with esm import (#7948 )"
This reverts commit 61cd463a3b .
* add .default to svg icon inline requires
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add shameful eslint ignore
Signed-off-by: Kerry Archibald <kerrya@element.io >
* format eslintrc
Signed-off-by: Kerry Archibald <kerrya@element.io >
* add missed MFileBody change
Signed-off-by: Kerry Archibald <kerrya@element.io >
* one more broken svg
Signed-off-by: Kerry Archibald <kerrya@element.io >
* and ignore it
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-03 17:51:38 +00:00
Kerry
61cd463a3b
replace all require(svgs) with esm import ( #7948 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-03-02 17:14:33 +01:00
Šimon Brandner
30aee97b78
Give secret key field an id ( #7489 )
2022-01-10 08:43:32 +00:00
Kerry
fed53a268b
A11y - fix anchors-as-buttons ( #7444 )
...
* add link_inline accessiblebutton variant
* valid anchors in SecurityRoomSettingsTab
Signed-off-by: Kerry Archibald <kerrya@element.io >
* new room intro link button
Signed-off-by: Kerry Archibald <kerrya@element.io >
* replace anchor with button in rerequest encryption keys message
Signed-off-by: Kerry Archibald <kerrya@element.io >
* inline button in UrlPreviewSettings
Signed-off-by: Kerry Archibald <kerrya@element.io >
* ButtonResetDefault mixin
Signed-off-by: Kerry Archibald <kerrya@element.io >
* inline link buttons in TextForEvent
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix anchors in InviteDialog
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix anchors in DevToolsDialog
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix anchors in login/registration/reset pword flows
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix types after fixing anchors in devtools
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix anchors in MemberEventListSummary
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix anchors in ReactionsRow and RoomUpgrade
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix anchors in ReplyChain
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix more anchors
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix anchors in auth comps
* stylelint fixes
Signed-off-by: Kerry Archibald <kerrya@element.io >
* remove ignore of jsx-a11y rule that is not added yet
Signed-off-by: Kerry Archibald <kerrya@element.io >
* devtools style important explainer
Signed-off-by: Kerry Archibald <kerrya@element.io >
* translate button alt in devtools dialog
Signed-off-by: Kerry Archibald <kerrya@element.io >
* AccessibleButton is reactionsrow
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix viewsourcevent button placement, use AccessibleButton
Signed-off-by: Kerry Archibald <kerrya@element.io >
* use AccessibleButton in EventTile
Signed-off-by: Kerry Archibald <kerrya@element.io >
* unignore jsx-a11y/anchor-is-valid
Signed-off-by: Kerry Archibald <kerrya@element.io >
* fix lint issue in test jsx
Signed-off-by: Kerry Archibald <kerrya@element.io >
* update coment
Signed-off-by: Kerry Archibald <kerrya@element.io >
2022-01-07 10:40:53 +01:00
Aaron Raimist
bdc56be863
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist >
2021-10-22 17:23:37 -05:00
Rafael Gonçalves
12ad01db51
Show passphrase input label ( #6992 )
2021-10-22 15:50:11 +01:00
Ekaterina Gerasimova
695e110794
Improve capitalisation in string
...
Remove random mid-sentence capitalisation in Security Phrase dialog. The
dialog will change at some point but for now lets make it more human
readable.
Fixes #19429
2021-10-18 15:28:07 +01:00
Dariusz Niemczyk
5e73a212f4
Replace console.error with logger.error
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-18 14:08:23 +02:00
Šimon Brandner
d3e340e7ce
Merge remote-tracking branch 'upstream/develop' into task/dialogs-ts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-22 10:42:02 +02:00
Dariusz Niemczyk
2d1d42b90e
Globally replace all console.logs via codemod ( #6827 )
...
This commit replaces all the `console.log` to `logger.log` via an automated script.
Related: vector-im/element-web#18425
2021-09-21 09:48:09 -06:00
Šimon Brandner
71e84ccb75
Iterate PR first round
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-13 18:03:05 +02:00
Šimon Brandner
6e11f2478c
Use IDialogProps
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-10 19:01:05 +02:00
Šimon Brandner
3c9ded5a9a
Convert RestoreKeyBackupDialog to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-05 08:30:23 +02:00
Šimon Brandner
6aefd9318f
Convert BaseDialog to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-05 08:19:19 +02:00
Michael Telatynski
f5630acea7
Adhere to better eslint rules
2021-07-23 10:35:10 +01:00
Michael Telatynski
ce78cdf4ad
Conform to new react and typescript eslint rules
2021-07-19 22:43:11 +01:00
David Baker
72acd5a611
Merge pull request #6330 from matrix-org/dbkr/tsify_secretstorage
...
Update import location for types
2021-07-08 09:18:31 +01:00
David Baker
086a8cbbb3
Update import location for types
...
Apparently all the types themselves are fine, even though some of
the function signatures have been updated to return Promises... we
were alreaady await-ing on them.
2021-07-07 20:19:52 +01:00
Šimon Brandner
916589e2b9
Eighth batch of burning
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-07-03 11:24:33 +02:00
Michael Telatynski
6250d9ba61
Merge branch 'develop' into t3chguy/ts/4
2021-06-29 22:24:47 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Michael Telatynski
231b40473b
fix the upset CI
2021-06-24 21:22:56 +01:00
Germain Souquet
d22617c422
More specific type definition and adhering to code style better
2021-06-18 12:44:15 +01:00
Germain Souquet
5f2ab50a90
migrate SetupEncryptionStore to TypeScript
2021-06-14 20:58:20 +01:00
Germain Souquet
68db2438ea
Migrate SetupEncryptionDialog to TypeScript
2021-06-14 20:41:26 +01:00
Germain Souquet
0909112fa9
Migrate CreateCrossSigningDialog to TypeScript
2021-06-14 20:21:11 +01:00
Germain Souquet
6b746b5d1d
Migrate ConfirmDestroyCrossSigningDialog to TypeScript
2021-06-14 20:15:05 +01:00
Šimon Brandner
ce4439e118
Add mx to passPhraseInput
2021-05-15 16:13:02 +02:00
Šimon Brandner
37348375a2
Add id for passpharase
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-05-15 15:07:35 +02:00
Šimon Brandner
232b87a3b4
Improve formatting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-29 19:57:02 +02:00
Šimon Brandner
46bfbbadf9
Enable indent rule and fix indent
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-27 17:23:27 +02:00
Travis Ralston
72a9bda3b7
One less try/catch
2021-04-12 14:57:21 -06:00
Travis Ralston
f2e2f1699b
Add some catches
2021-04-08 18:09:41 -06:00
Travis Ralston
f86e090b8a
Update src/components/views/dialogs/security/AccessSecretStorageDialog.tsx
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com >
2021-04-01 08:23:32 -06:00
Travis Ralston
262475f96e
Add a button to reset personal encryption state during login
2021-03-30 15:37:06 -06:00
Travis Ralston
60e05d2e8c
Revert back to using sdk.getComponent()
2021-03-25 23:41:35 -06:00
Travis Ralston
550fba49f7
Appease the eternal linter
2021-03-25 23:37:23 -06:00
Travis Ralston
92ee1ad3cc
Convert AccessSecretStorageDialog to TypeScript
...
This is to make upcoming changes a bit easier to do.
2021-03-25 23:34:45 -06:00
Travis Ralston
1d9d0cd7be
Convert a bunch more js-sdk imports to absolute paths
...
Turns out a lot of the typescript warnings about improper warnings were correct. TypeScript appears to be pulling in two copies of the js-sdk when we do this, which can lead to type conflicts (or worse: the wrong code entirely). We fix this at the webpack level by explicitly importing from `src`, but some alternative build structures have broken tests because of this - jest ends up pulling in the "wrong" js-sdk, breaking things.
2021-03-18 20:50:34 -06:00