Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Use query parameters for sessions pagination #2369

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

sandhose
Copy link
Member

@sandhose sandhose commented Feb 19, 2024

This means that next/previous buttons are actually links, and that browser history works as expected.
It also means we can load everything in route loaders, which means we can preload next pages and almost never show a loading spinner

Also reverses the order of the sessions to show the most recent ones first.

Fixes #1497

Also reverses the order of the sessions to show the most recent ones first.

Fixes #1497
@sandhose sandhose added A-Frontend Changes on the React frontend A-Device-Management Related to sessions and device management labels Feb 19, 2024
@sandhose sandhose requested a review from t3chguy February 19, 2024 15:35
Copy link

cloudflare-workers-and-pages bot commented Feb 19, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3394e0d
Status: ✅  Deploy successful!
Preview URL: https://7793fd75.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://quenting-frontend-better-ses.matrix-authentication-service-docs.pages.dev

View logs

This means we should almost never see a loading spinner when navigating
@sandhose sandhose changed the title Set the session pagination to use query parameters Use query parameters for sessions pagination Feb 19, 2024
@sandhose sandhose merged commit e769453 into main Feb 20, 2024
17 of 18 checks passed
@sandhose sandhose deleted the quenting/frontend/better-sessions-pagination branch February 28, 2024 16:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Device-Management Related to sessions and device management A-Frontend Changes on the React frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DM: Set default ordering of sessions to latest active
2 participants