Andy Balaam
abbc39cdec
Add a high contrast theme (a variant of the light theme) ( #7036 )
...
* Enable choosing a high contrast variant of the Light theme
* Updates to high contrast theme to match design and show focus
* Adjust the outline-offset to match designs
* Don't draw an outline around the active tab
* Prevent cropping of outlines on buttons
* Use the correct colour for links
* Change light grey text to be darker in high contrast theme
* Use a darker text colour in admin panel
* Adjust background colours of back button and font slider
2021-10-27 14:31:54 +01: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
Travis Ralston
39e98b9d7f
Always render disabled settings as disabled ( #7014 )
...
This is to prevent user confusion about whether or not a setting exists, or even what its value is. By rendering it with `disabled=true` the user is at least aware that the setting is set to a specific value, though we could (and should) do better in the future to communicate *why* a setting is disabled.
2021-10-22 11:30:14 -06:00
Andy Balaam
c73127c35c
Remove unused code left from extracting ThemeChoicePanel ( #7002 )
2021-10-21 09:59:34 +01:00
Andy Balaam
4b903b9fbd
Break ThemeChoicePanel into a separate component ( #6998 )
...
* Break ThemeChoicePanel into a separate component
* Tests for ThemeChoicePanel
* i18n fixes
* Fix copyright for ThemeChoicePanel
2021-10-20 14:58:27 +00:00
Travis Ralston
d188d32423
Add a developer mode flag and use it for accessing space timelines ( #6994 )
...
Fixes https://github.com/vector-im/element-web/issues/19416
2021-10-20 06:55:22 -06:00
CicadaCinema
23295718e3
Position toggle switch more clearly ( #6914 )
...
* Position toggle switch more clearly
* attempt to revert changes, align switch to title instead
* remove unused import, add missing property
Co-authored-by: ColonisationCaptain <52425971+ColonisationCaptain@users.noreply.github.com>
2021-10-19 15:28:11 -06:00
Andy Balaam
79edceca89
Remove unused fields
2021-10-19 15:23:45 +01:00
Andy Balaam
4ad32b16ea
Break out font size settings to a separate component
2021-10-19 14:50:09 +01:00
Andy Balaam
4f3d761984
Merge pull request #6968 from andybalaam/cryptographypanel-table
...
Convert CryptographyPanel to a table
2021-10-18 13:26:16 +01:00
Dariusz Niemczyk
5290afcc4c
Replace console.warn with logger.warn
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-18 14:08:23 +02: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
Dariusz Niemczyk
12632318ef
Add missing parenthesis for await calls
2021-10-18 14:08:23 +02:00
Andy Balaam
13d6456200
Convert CryptographyPanel to a table
2021-10-18 09:36:16 +01:00
Andy Balaam
f05e35bd94
Merge pull request #6958 from andybalaam/separate-cryptography-setting-component
...
Break 'Cryptography' settings into a separate component
2021-10-18 09:34:55 +01:00
CicadaCinema
a9c9e5b778
appease the linter
2021-10-16 14:58:10 +01:00
CicadaCinema
7b893366f2
Add spacing to Room settings - Notifications subsection
2021-10-16 14:52:29 +01:00
Andy Balaam
0941b38b5d
Name CryptographyPanel CSS classes consistent with style
2021-10-15 16:09:36 +01:00
Andy Balaam
a547ee4654
Break 'Cryptography' settings into a separate component
2021-10-15 16:02:44 +01:00
Andy Balaam
7edec291ac
Switch DevicesPanel to use table (for screen readers)
2021-10-15 11:50:49 +01:00
Michael Telatynski
a37c10b256
Merge pull request #6920 from matrix-org/t3chguy/fix/17410
2021-10-14 09:58:45 +01:00
Michael Telatynski
2a3c483f96
Merge pull request #6919 from matrix-org/t3chguy/fix/19146
2021-10-14 09:58:19 +01:00
Michael Telatynski
c4d4229340
hide leave section if you aren't in the room instead of disabling
2021-10-11 13:50:34 +01:00
Michael Telatynski
8cb4454ea3
Disable leave room button if user isn't in the room e.g peeking
2021-10-08 13:43:06 +01:00
Michael Telatynski
2483f1dc90
Add progress bar to restricted room upgrade dialog
2021-10-08 12:20:43 +01:00
Vitor Eller
0b64dfa59a
Alter phone verification button disable label
2021-10-07 15:23:54 -03:00
Michael Telatynski
02c5b7e28d
Pluck out some more applicable styles
2021-09-28 16:36:25 +01:00
Michael Telatynski
4335cd03c5
Pluck out JoinRuleSettings styles so they apply in space settings too
2021-09-28 16:30:17 +01:00
videogame hacker
d323bc4c07
Fix Notifications settings view when threepids is undefined
...
Signed-off-by: Charlotte Som <half-kh-hacker@hackery.site>
2021-09-22 13:17:49 +01:00
Šimon Brandner
8bbaf642bf
Avoid self = this
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-22 08:11:26 +02:00
Šimon Brandner
7f8c0e99ea
Merge remote-tracking branch 'upstream/develop' into task/settings-ts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 19:35:42 +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
0bae01c824
Convert SecureBackupPanel to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 15:10:23 +02:00
Šimon Brandner
9051df45c1
Convert ChangePassword to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 15:00:08 +02:00
Šimon Brandner
073eff4c71
Convert SecurityUserSettingsTab to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 13:59:29 +02:00
Šimon Brandner
222427dae8
Convert GeneralUserSettingsTab to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 13:45:38 +02:00
Šimon Brandner
e88227dac8
Convert LabsUserSettingsTab to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 13:19:13 +02:00
Šimon Brandner
f62e0795f0
Convert NotificationsSettingsTab to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:51:47 +02:00
Šimon Brandner
c5a1de961b
Convert GeneralRoomSettingsTab to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:44:40 +02:00
Šimon Brandner
76f8543c22
Convert PhoneNumber to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:40:32 +02:00
Šimon Brandner
2ebbda482d
Convert EmailAddress to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:33:11 +02:00
Šimon Brandner
39f92c4ddc
Convert PhoneNumbers to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:22:14 +02:00
Šimon Brandner
a2ecf18096
Convert EmailAddresses to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 12:22:07 +02:00
Šimon Brandner
24df63abd7
Improve typing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-21 09:09:21 +02:00
Michael Telatynski
fd24511d42
Merge pull request #6805 from matrix-org/t3chguy/fix/18858
2021-09-16 10:48:20 +01:00
Michael Telatynski
e17318a364
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088
2021-09-16 10:05:20 +01:00
Michael Telatynski
b8ee2d2b5b
Add warning that some spaces may not be relinked to the newly upgraded room
2021-09-14 16:14:25 +01:00
Michael Telatynski
ca0d8116ad
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18908
2021-09-10 18:02:48 +01:00
Michael Telatynski
d15ea932f6
fix unrelated issues
2021-09-10 15:35:35 +01:00
Michael Telatynski
cd73bbf2f5
Merge pull request #6724 from matrix-org/t3chguy/fix/18798
2021-09-10 09:56:56 +01:00