Commit Graph

26 Commits

Author SHA1 Message Date
Quentin Gliech
77bc13fe70 Full-page stories 2024-11-15 09:51:16 +01:00
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
8b3729dad5 Clean up how pagination parameters are handled 2024-10-01 18:27:20 +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
1b0aa412e1 Use compound's <EditInPlace /> 2024-06-28 14:48:34 +02:00
Quentin Gliech
a85cdab624 Always show the primary email first
This loads the primary email with the page, reducing the number of
requests before displaying it, and reducing the layout shifts
2024-05-14 17:32:06 +02:00
Quentin Gliech
a29da1f66f Update copyright headers 2024-04-30 13:33:47 +02:00
Quentin Gliech
69c073f368 Only show email form if the user is allowed to modify emails 2024-04-30 13:33:47 +02:00
Quentin Gliech
426d1005ad Apply prettier to all files in the frontend 2024-04-03 12:04:18 +02:00
Quentin Gliech
e3964ae72b Implement the user profile edit modal 2024-02-27 13:46:36 +01:00
Quentin Gliech
576d8bb791 Move the cross signing reset UI in its own page 2024-02-17 09:48:53 +01:00
Quentin Gliech
3b4285067f Update the email list to match the new design 2024-02-16 15:11:31 +01: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
b371516bda Finish replacing jotai-urql with bare urql
Mostly remaining was pagination related stuff & fixing tests
2024-02-15 14:17:20 +01:00
Quentin Gliech
888e94bfd8 Replace all GraphQL mutations with urql 2024-02-15 14:17:20 +01:00
Quentin Gliech
eb0b3938ff Simple UI to reset cross-signing keys 2023-12-05 17:47:36 +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
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
Kerry
51581ea27e Profile: hide email pagination controls when no other pages (#1764)
* make add email button small

* hide pagination when only one page of emails

* add autohide to paginationcontrols
2023-09-13 22:07:47 +00:00
Kerry Archibald
68ad5f0fa2 UserName: switch to controlled input, disable save button when no changes 2023-09-13 18:22:07 +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
Quentin Gliech
86d40b0345 Make sure we validate passwords & emails by the policy at all stages
Also refactors the way we get the policy engines in requests
2023-08-30 19:39:39 +02:00
Kerry
c43691532c Allow user to view and change display name in My Account UI (#1628)
Co-authored-by: Quentin Gliech <quenting@element.io>
2023-08-29 13:40:00 +02:00