Commit Graph
342 Commits
Author SHA1 Message Date
Quentin Gliech 03eaeca8a6 Only show the password change section if the user has a password 2025-02-24 14:28:06 +01:00
Quentin Gliech b426bd5524 Update frontend test snapshots 2025-02-21 17:04:12 +01:00
Quentin Gliech bde473faf7 Update the compound design tokens, replace the error icon with error-solid 2025-02-21 17:04:11 +01:00
Quentin Gliech 50e2693f89 Readjust a few spacings 2025-02-13 16:50:02 +01:00
Quentin Gliech 189f01602f Remove unnecessary wrapper around account page header 2025-02-13 16:32:30 +01:00
Quentin Gliech 16335b15ca Make the new sign-out button translatable 2025-02-13 16:26:04 +01:00
Quentin Gliech 1ed9586cf5 Polish the session details 2025-02-13 16:15:56 +01:00
Quentin Gliech be31201e57 Move from zod to valibot to reduce the frontend bundle size 2025-02-13 10:25:19 +01:00
Quentin Gliech 44f7b46b63 Fix the rendering of the embedded API doc 2025-02-12 18:19:25 +01:00
Quentin Gliech 55325c1564 Switch to swagger-ui-dist, to avoid sharing the same react version 2025-02-12 10:05:37 +01:00
Quentin Gliech 3d36b234f3 Enable operation deep-linking in the admin API docs 2025-02-11 19:06:19 +01:00
Quentin Gliech ac533e9d15 Update generated files 2025-02-06 11:34:53 +01:00
Quentin Gliech cca4eb32c2 Switch to the new scroll restoration API & update snapshots 2025-01-31 18:27:26 +01:00
0c26dd859a 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 7e6ab8ffc3 Disclose that email is already in use after verification 2025-01-23 18:18:19 +01:00
Quentin Gliech ef077d0e51 Rate-limit email authentications 2025-01-23 12:09:26 +01:00
Quentin Gliech e0f4882e46 Use the new GraphQL APIs in the frontend to add emails 2025-01-14 15:47:54 +01:00
Quentin Gliech 0513f198d8 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 5d69b34c37 frontend: simplify email list 2025-01-13 16:59:38 +01:00
Quentin Gliech 2605d3a8e0 Adjust layout spacings 2025-01-13 16:58:42 +01:00
Quentin Gliech 99c88674ff Better collapsible sections, and use them on the account page 2025-01-13 16:58:42 +01:00
Quentin Gliech 4ca76be866 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 71b5a55c92 Fix the cross signing reset cancel and error screens 2025-01-13 16:58:42 +01:00
Quentin Gliech affb1bfb01 Render an earlier loading screen fallback 2025-01-13 16:58:42 +01:00
Quentin Gliech b51a6c02ab Tweak the login page to match the design 2025-01-07 11:49:01 +01:00
Quentin Gliech 73cbdd7e12 Fix typings 2025-01-07 10:25:21 +01:00
Quentin Gliech 824ffb7867 Update tests snapshots 2025-01-06 17:12:28 +01:00
Quentin Gliech 9601fedf70 Remove unused dependencies and symbols using knip 2025-01-06 12:39:02 +01:00
Quentin Gliech b5940b969f Additional fields in the GraphQL API for upstream providers 2025-01-06 11:59:43 +01:00
Quentin Gliech 1d0b0ab548 Fix unit tests using the dummy router 2025-01-06 09:39:00 +01:00
Quentin Gliech a97d2daa3d Make the issue optional on upstream OAuth 2.0 providers 2024-12-17 13:40:34 +01:00
Quentin GliechandGitHub 2e3b8bdd86 Allow setting an explicit upstream account name (#3600) 2024-11-29 12:30:18 +01:00
Quentin Gliech edc49fef95 Tweak some error messages & remove outdated comments 2024-11-15 09:51:16 +01:00
Quentin Gliech f9de7cf469 Full-page stories 2024-11-15 09:51:16 +01:00
Quentin Gliech da9bd49be1 Full page render tests 2024-11-15 09:51:16 +01:00
Quentin Gliech fcd9a6601f Better graphql response typing 2024-11-15 09:51:16 +01:00
Quentin Gliech 4564b6cca8 Just use plain fetch 2024-11-15 09:51:16 +01:00
Quentin Gliech 187a6029d6 Switch codegen document mode to string 2024-11-15 09:51:16 +01:00
Quentin Gliech 10321afeba Setup MSW 2024-11-15 09:51:16 +01:00
Quentin Gliech ff9c4c05a8 Finish removing urql and use new test render wrapper 2024-11-15 09:51:16 +01:00
Quentin Gliech f848e912ef Switch to Tanstack Query 2024-11-15 09:51:16 +01:00
Quentin Gliech ad891a0809 Run misc/update.sh 2024-10-29 13:03:33 +01:00
Quentin Gliech 26d945d161 Use enums as types in the GraphQL codegen 2024-10-23 17:53:04 +02:00
Quentin Gliech ab8694728a Update test snapshots 2024-10-23 17:36:43 +02:00
Quentin Gliech abb523cbc8 Prevent double-fetch of translations 2024-10-23 17:36:43 +02:00
Quentin Gliech 94aeeba844 Split the cross-signing reset pages & adapt the wording 2024-10-23 17:36:43 +02:00
Quentin GliechandGitHub 1fedb3c83f Reset/restore scroll when navigating through the app (#3410) 2024-10-23 09:04:48 +00:00
Quentin Gliech 7f41081544 Update usages of the <Badge> component 2024-10-22 16:30:55 +02:00
Quentin Gliech e991c79d0d Update snapshots and generated files 2024-10-22 14:55:33 +02:00
Quentin Gliech 9bde01df5b Simplify GraphQL setup
This removes the unified GraphQL cache, as invalidation is annoying.
It also fixes inconsistent codegen behaviors.
2024-10-22 14:55:33 +02:00