Commit Graph

19 Commits

Author SHA1 Message Date
Quentin Gliech
ff6d573c93 Just use plain fetch 2024-11-15 09:51:16 +01:00
Quentin Gliech
0652a245af Setup MSW 2024-11-15 09:51:16 +01:00
Quentin Gliech
32adf83949 Switch to Tanstack Query 2024-11-15 09:51:16 +01:00
Quentin Gliech
bf305c225c Enable recommended rules and fix all linting issues 2024-10-22 14:55:33 +02:00
Quentin Gliech
0a776d64f3 Reorder imports by running biome check --fix 2024-10-22 14:55:33 +02:00
Quentin Gliech
9a946c19e7 Remove (C) 2024-09-10 14:28:55 +02:00
Quentin Gliech
9da19e2af0 License headers change 2024-09-05 13:25:42 +02:00
Quentin Gliech
defec9f412 Replace all icons by the ones exported by compound-design-tokens 2024-07-17 09:04:48 +02:00
Quentin Gliech
76cdec56f0 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
888e94bfd8 Replace all GraphQL mutations with urql 2024-02-15 14:17:20 +01:00
Quentin Gliech
22417463e3 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
Quentin Gliech
7f0acb350f frontend: integrate storybook with i18next & cleanup (#1970) 2023-10-19 15:37:29 +00:00
Michael Telatynski
af1a960c2f 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
03ef447120 Update the svgr imports 2023-09-26 14:51:23 +02:00
Quentin Gliech
535a7af774 frontend: Hide the navigation in the email verification page 2023-09-19 10:50:30 +02:00
Kerry
5a8f05e518 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
838c7d1c0a Rename 'Emails' route to 'Profile' (#1567)
* rename /account/emails route to profile

* remove support for /emails

* bad unit test for Layout

* update snapshots, fix layout test

* fix snapshots from old version of compound

* better layout test

* coverage?
2023-08-25 17:10:34 +12:00
Quentin Gliech
254edb99d8 frontend: split the various lists off the home page 2023-08-08 18:35:32 +02:00
Quentin Gliech
989763ce8b frontend: move the email verification form to a dedicated page 2023-08-08 18:35:32 +02:00