Travis Ralston
997d6d40bf
Step 1: Remove all usage of @replaceableComponent
2022-03-28 14:02:31 -06:00
Travis Ralston
d8a939df5d
Use & enforce snake_case naming convention on config.json settings ( #8062 )
...
* Document and support the established naming convention for config opts
This change:
* Rename `ConfigOptions` to `IConfigOptions` to match code convention/style, plus move it to a dedicated file
* Update comments and surrounding documentation
* Define every single documented option (from element-web's config.md)
* Enable a linter to enforce the convention
* Invent a translation layer for a different change to use
* No attempt to fix build errors from doing this (at this stage)
* Add demo of lint rule in action
* Fix all obvious instances of SdkConfig case conflicts
* Fix tests to use SdkConfig directly
* Add docs to make unset() calling safer
* Appease the linter
* Update documentation to match snake_case_config
* Fix more instances of square brackets off SdkConfig
2022-03-18 10:12:36 -06:00
Michael Telatynski
8d4e83084c
Remove Countly analytics integration ( #7808 )
2022-02-15 16:58:30 +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
Michael Telatynski
7033f8696a
Improve typing ( #7349 )
2021-12-14 15:34:54 +00:00
Aaron Raimist
bdc56be863
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist >
2021-10-22 17:23:37 -05: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
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
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
Šimon Brandner
9d569c378e
Second batch of burning
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-07-02 17:08:27 +02:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
David Schilling
5c674365d3
Add url param defaultUsername to prefill the login username field
...
Signed-off-by: David Schilling <dschilling@churchtools.de >
2021-05-25 10:39:33 +02:00
J. Ryan Stinnett
d7e6f4b4b5
Add basic types
2021-04-23 17:05:50 +01:00
Travis Ralston
c230a75eda
Flag structural components as replaceable
2021-03-08 20:23:24 -07:00
Will Hunt
d07069238f
Merge remote-tracking branch 'origin/develop' into hs/blocked-err
2021-03-05 18:50:00 +00:00
Michael Telatynski
3e3a88116d
Fix register exploding if the server is down or we just don't have flows
2021-02-02 17:28:52 +00:00
Will Hunt
5de92b68d9
Show a specific error for hs_disabled
2021-01-27 11:39:57 +00:00
Michael Telatynski
5f03cbd88f
Iterate PR some more
2020-11-26 15:45:15 +00:00
Michael Telatynski
758b47c64d
Replace *ServerConfig and SignInToText with ServerPicker
2020-11-25 09:46:56 +00:00
Michael Telatynski
6a315e80b6
Improve auth error messages
2020-11-25 09:24:24 +00:00
Michael Telatynski
f7d7182dc9
Iterate Multi-SSO support
2020-11-24 12:09:11 +00:00
Michael Telatynski
1d53a5cf23
Initial support for MSC2858
2020-11-24 11:18:11 +00:00
Michael Telatynski
613710b75c
Iterate Auth copy
2020-11-23 17:01:35 +00:00
Michael Telatynski
7243ba0fe2
Convert Login to Typescript
2020-11-20 13:23:10 +00:00