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 Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Travis Ralston
8d6a67e67d
Fully move auth types to js-sdk ( #9499 )
...
* Fully move auth types to js-sdk
The SSO buttons were the only consumer of these types, so let's just move them. They've been in the js-sdk for a while now, and webpack is screaming about missing exports (because they're all interfaces and types, which don't exist after transpiling).
* Fix the other cases too
2022-10-25 17:00:23 -06:00
Michael Telatynski
8036985204
Update matrix-analytics-events to @matrix-org/analytics-events ( #8778 )
...
* Update matrix-analytics-events to @matrix-org/analytics-events
* Update install-deps.sh
* Update layered.sh
* Update BeaconMarker-test.tsx.snap
* Update BeaconStatus-test.tsx.snap
2022-06-07 20:08:36 +01:00
Hugh Nimmo-Smith
60cd740b66
Fix crash on null idp for SSO buttons ( #8650 )
...
* Add test case for null identity_providers for SSO
* Fix typing for identity_providers
* Make null idp explicit and handle in analytics
* chore: whitespace fix
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-20 10:08:57 +01:00
Germain
1ed68a718f
Add new user signup event tracking in PostHog ( #8412 )
2022-04-28 11:46:02 +01: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
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Michael Telatynski
f11a7083ae
Switch to stable endpoint/fields for MSC2858
2021-06-01 11:01:09 +01:00
Travis Ralston
8bc2356fd0
Fix crash on login when using social login
...
We weren't passing a matrix client through, and the peg wasn't set at this point. Just need to thread it through to the media endpoints.
Fixes https://github.com/vector-im/element-web/issues/16765
2021-03-25 22:22:43 -06:00
Travis Ralston
1ac12479ca
Convert cases of mxcUrlToHttp to new media customisation
2021-03-10 12:32:18 -07:00
Michael Telatynski
0167c3cefb
Iterate SSO auth ux styling
2021-01-29 13:04:05 +00:00
Michael Telatynski
1eb88c988c
Add tooltips to mini sso buttons
2021-01-29 12:05:15 +00:00
Michael Telatynski
34ae766893
Wire up MSC2858 brand attribute
...
For better brand adherance.
Also removes old support for https IdP icons.
2021-01-27 16:15:47 +00:00
Michael Telatynski
928ddeb718
Improve styling of SSO Buttons for multiple IdPs
2021-01-21 13:33:25 +00:00
Michael Telatynski
2567fcd045
add brackets for operator precedence
2020-12-17 12:02:16 +00:00
Michael Telatynski
1b2cfa5f05
Social Login support both https and mxc icons
2020-12-17 10:34:49 +00:00
Michael Telatynski
940fdb8e2f
Better adhere to MSC process
2020-12-16 10:07:07 +00:00
Michael Telatynski
0fd9b55b95
Fix SSO buttons for Social Logins
2020-12-03 11:08:16 +00:00
Michael Telatynski
86025459f4
Remove unused dialog, todo comments and other tiny tweaks
2020-11-26 15:01:12 +00:00
Michael Telatynski
1d53a5cf23
Initial support for MSC2858
2020-11-24 11:18:11 +00:00