Commit Graph

358 Commits

Author SHA1 Message Date
Quentin Gliech
1e75c61bf6 Use automatic route code splitting 2025-03-24 18:11:39 +01:00
Quentin Gliech
412b993545 Allow users to deactivate their own account in the UI (#4209) 2025-03-13 12:30:41 +01:00
Quentin Gliech
8d721c14b1 Explain what the 'hsErase' parameter does 2025-03-13 11:36:53 +01:00
Quentin Gliech
c50f4eaca4 Make sure the mobile drawers can scroll if they overflow 2025-03-13 11:32:19 +01:00
Quentin Gliech
7d07241edb Adjust the avatar size and list styling to match the design 2025-03-12 16:49:42 +01:00
Quentin Gliech
06f4fe1cbb Use the react-specific packages for tanstack router 2025-03-12 16:31:46 +01:00
Quentin Gliech
2ddb2d2495 Allow users to delete their account in the UI 2025-03-12 16:01:28 +01:00
Quentin Gliech
660fea1769 Use our own implementation of the Separator component
The one in compound-web is weirdly implemented and doesn't use the right
semantic tokens
2025-03-12 16:00:13 +01:00
Quentin Gliech
1846229f34 GraphQL mutation to deactivate a user 2025-03-12 15:58:54 +01:00
Quentin Gliech
a6992b718c Config option to allow account self-deactivation 2025-03-12 15:58:54 +01:00
Quentin Gliech
90148a41b9 Merge branch 'main' into dependabot/npm_and_yarn/frontend/graphql-codegen-97975e453b 2025-03-10 10:27:46 +01:00
Quentin Gliech
b94032d624 Update generated graphql.ts 2025-03-10 09:21:31 +01:00
Quentin Gliech
9e32d42ad8 Require confirming account password before changing account emails (#4158) 2025-03-10 09:16:05 +01:00
Quentin Gliech
96ecf322dd Remove unnecessary @ts-expect-error 2025-03-07 10:39:11 +01:00
Quentin Gliech
018e9b82f6 Confirm account password before adding/removing email addresses 2025-03-07 10:15:10 +01:00
Quentin Gliech
629a194c35 Require the user password to add or remove an email address 2025-03-06 17:37:54 +01:00
Quentin Gliech
2dce10d9b4 Only show the password change section if the user has a password 2025-02-24 14:28:06 +01:00
Quentin Gliech
2322b33639 Update frontend test snapshots 2025-02-21 17:04:12 +01:00
Quentin Gliech
98f45666d7 Update the compound design tokens, replace the error icon with error-solid 2025-02-21 17:04:11 +01:00
Quentin Gliech
c7c8ecc7c4 Readjust a few spacings 2025-02-13 16:50:02 +01:00
Quentin Gliech
6845b463cc Remove unnecessary wrapper around account page header 2025-02-13 16:32:30 +01:00
Quentin Gliech
ed312b8074 Make the new sign-out button translatable 2025-02-13 16:26:04 +01:00
Quentin Gliech
8da8c95573 Polish the session details 2025-02-13 16:15:56 +01:00
Quentin Gliech
58b1e32494 Move from zod to valibot to reduce the frontend bundle size 2025-02-13 10:25:19 +01:00
Quentin Gliech
08a8774133 Fix the rendering of the embedded API doc 2025-02-12 18:19:25 +01:00
Quentin Gliech
1f12036af7 Switch to swagger-ui-dist, to avoid sharing the same react version 2025-02-12 10:05:37 +01:00
Quentin Gliech
9c515f0e0e Enable operation deep-linking in the admin API docs 2025-02-11 19:06:19 +01:00
Quentin Gliech
02b941d849 Update generated files 2025-02-06 11:34:53 +01:00
Quentin Gliech
47a4db520d Switch to the new scroll restoration API & update snapshots 2025-01-31 18:27:26 +01:00
reivilibre
87009be7e6 Support compatibility sessions that do not have devices (#3801)
Co-authored-by: Quentin Gliech <quenting@element.io>
2025-01-27 14:50:31 +00:00
Quentin Gliech
7f1b3866ba Disclose that email is already in use after verification 2025-01-23 18:18:19 +01:00
Quentin Gliech
ea6b80c5ac Rate-limit email authentications 2025-01-23 12:09:26 +01:00
Quentin Gliech
0855c3483b Use the new GraphQL APIs in the frontend to add emails 2025-01-14 15:47:54 +01:00
Quentin Gliech
9db14f6743 Rip out the email verification codes
This considers all user_emails as confirmed, and removes the verification code.
It will be replaced by a new email authentication code flow
2025-01-14 15:46:45 +01:00
Quentin Gliech
14fd660208 frontend: simplify email list 2025-01-13 16:59:38 +01:00
Quentin Gliech
6071b80f30 Adjust layout spacings 2025-01-13 16:58:42 +01:00
Quentin Gliech
9031b659ba Better collapsible sections, and use them on the account page 2025-01-13 16:58:42 +01:00
Quentin Gliech
c86f8800bd Polish the password recovery page
This includes:

 - show an error message if the recovery link is expired, with a button
   to resend the email
 - show an error message if the recovery link has already been used
 - include an invisible username field in the form, so that password
   managers can save the new password
2025-01-13 16:58:42 +01:00
Quentin Gliech
f8f815cd94 Fix the cross signing reset cancel and error screens 2025-01-13 16:58:42 +01:00
Quentin Gliech
a541e34910 Render an earlier loading screen fallback 2025-01-13 16:58:42 +01:00
Quentin Gliech
841c812ffd Tweak the login page to match the design 2025-01-07 11:49:01 +01:00
Quentin Gliech
ef9e76b69e Fix typings 2025-01-07 10:25:21 +01:00
Quentin Gliech
b5bd4b4866 Update tests snapshots 2025-01-06 17:12:28 +01:00
Quentin Gliech
6bd0fc6457 Remove unused dependencies and symbols using knip 2025-01-06 12:39:02 +01:00
Quentin Gliech
17430c21c5 Additional fields in the GraphQL API for upstream providers 2025-01-06 11:59:43 +01:00
Quentin Gliech
000657fa32 Fix unit tests using the dummy router 2025-01-06 09:39:00 +01:00
Quentin Gliech
f563daf822 Make the issue optional on upstream OAuth 2.0 providers 2024-12-17 13:40:34 +01:00
Quentin Gliech
2903ff5e7a Allow setting an explicit upstream account name (#3600) 2024-11-29 12:30:18 +01:00
Quentin Gliech
9d2e34d8b3 Tweak some error messages & remove outdated comments 2024-11-15 09:51:16 +01:00
Quentin Gliech
77bc13fe70 Full-page stories 2024-11-15 09:51:16 +01:00