Commit Graph
19 Commits
Author SHA1 Message Date
Quentin Gliech 4ebe5687cf Reformat frontend code, fix a few new linting errors 2025-07-07 15:07:57 +02:00
Quentin Gliech 3d96dc9d47 Update license headers to match the actual license 2025-06-12 10:32:16 +02:00
Quentin Gliech fd38f45728 Remove unnecessary @ts-expect-error 2025-03-07 10:39:11 +01:00
Quentin Gliech 1d0b0ab548 Fix unit tests using the dummy router 2025-01-06 09:39:00 +01:00
Quentin Gliech ff9c4c05a8 Finish removing urql and use new test render wrapper 2024-11-15 09:51:16 +01:00
Quentin Gliech ed4b6c42a7 Remove (C) 2024-09-10 14:28:55 +02:00
Quentin Gliech f6bb100c0a License headers change 2024-09-05 13:25:42 +02:00
Quentin Gliech d07150db11 frontend: use RouterContextProvider instead of RouterProvider in tests 2024-08-02 10:36:37 +02:00
Quentin Gliech 3b83b11607 frontend: add filter for inactive sessions 2024-07-19 13:40:27 +02:00
Quentin Gliech 4501bfb504 Fix typings post-router upgrade 2024-04-30 16:20:29 +02:00
Quentin Gliech a03728743b Bump most frontend dependencies 2024-03-29 19:28:30 +01:00
Quentin Gliech 9a6439a7c5 Make sure the dummy router finished loading in the test environment 2024-02-27 11:25:01 +01:00
Quentin Gliech 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 b82db7a3de frontend: use in-memory history in test environments
This removes the flakiness of location-based tests
2023-10-23 14:52:27 +02:00
Quentin Gliech 9b5c8fb44b Allow running the authentication service on a different base path 2023-10-06 14:07:55 +02:00
Kerry 680c89acb9 DM: Last active timestamp UI (#1793) 2023-09-19 11:48:10 +02:00
KerryandQuentin Gliech 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 da8a489748 Make Profile page the default route (#1653)
* make profile the default route

* src/pages/Home.tsx -> src/pages/SessionsOverview.tsx

* UserHome -> UserSessionsOverview

* update snapshots, fix session overview button alignment
2023-08-30 23:27:39 +00:00
Kerry Archibald 7bc13ab536 move unverified email alert to header 2023-08-30 19:40:59 +02:00