Commit Graph

12 Commits

Author SHA1 Message Date
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
Kerry 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