Commit Graph
14 Commits
Author SHA1 Message Date
Quentin Gliech 2976bee2ab Only show email form if the user is allowed to modify emails 2024-04-30 13:33:47 +02:00
Quentin Gliech d178a63281 Apply prettier to all files in the frontend 2024-04-03 12:04:18 +02:00
Quentin Gliech 017ef2fd43 Revamp the confirmation dialog 2024-02-16 15:11:31 +01:00
Quentin Gliech dd6f1cbc9b Update the email list to match the new design 2024-02-16 15:11:31 +01:00
Quentin GliechandGitHub e041f47dfe Replace Jotai with @tanstack/router (#2359)
* Start replacing jotai with @tanstack/router

* Remove jotai completely

* Move the common layout & reimplement the ?action parameter

This also makes sure everything is properly loaded in the route loader,
and we use fragment where it makes sense

* Change the default error component

* GraphQL API: make the sessions fetchable through node(id: ID!)
2024-02-15 17:19:05 +01:00
Quentin Gliech 0591fbfb2b Replace all GraphQL mutations with urql 2024-02-15 14:17:20 +01:00
Quentin Gliech f734d9c21f Frontend cleanups
Including:

  - use a readonly field for the email list
  - use the MFA control
  - compound upgrade
  - stopped using deprecated compound exports/components
2023-10-30 15:55:15 +01:00
43648052e2 Wire up i18n for the React frontend (#1962)
Co-authored-by: Quentin Gliech <quenting@element.io>
2023-10-19 12:41:38 +00:00
Quentin Gliech d7e98c4564 Update the svgr imports 2023-09-26 14:51:23 +02:00
e19002a0ca Confirm destructive actions (#1759)
Co-authored-by: Quentin Gliech <quenting@element.io>
2023-09-14 12:35:09 +00:00
17f8dc4e00 Implement MSC2965 action parameter (#1673)
* redirect session_end action to session detail

* fix react key warning in oauth session detail

* move Route type to /routing

* test getRouteActionRedirection

* comment

* frontend: Split the routing-related stuff in multiple files under routing/

* frontend: Cover all the redirections defined by MSC2965

* frontend: fix test

* Make the backend keep query parameters through login to the /account/ interface

* Fix frontend tests & clippy lints

---------

Co-authored-by: Quentin Gliech <quenting@element.io>
2023-09-01 09:42:50 +00:00
Kerry ArchibaldandQuentin Gliech a3b7cc27bf add button-style variant to Link 2023-08-30 19:40:59 +02:00
Quentin Gliech d98e75f7b2 frontend: write stories and tests for the user home 2023-08-08 18:35:32 +02:00
Quentin Gliech 6002a6b929 frontend: move the email verification form to a dedicated page 2023-08-08 18:35:32 +02:00