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

Better session list #2393

Merged
merged 3 commits into from
Feb 27, 2024
Merged

Better session list #2393

merged 3 commits into from
Feb 27, 2024

Conversation

sandhose
Copy link
Member

@sandhose sandhose commented Feb 23, 2024

This makes use of the new user agent parsing on the server side to display a nice list of sessions.

It also simplifies the code a lot, removing dead code

One thing to look at when reviewing, is how the nested anchors are implemented. I had to put the "Sign out" button outside the main card link, with an absolute position. This also means I had to put a right padding on the card title to make the card title overflow correctly.

Design reference: https://www.figma.com/file/HUysJAhv6cK6p1Pc81Fxaa/Matrix-Authentication-Service-(MAS)?type=design&node-id=4345-14104&mode=design&t=0PyGBuKAJs7KhVgL-4

  • Browser session list
    image
  • App session list
    image

Story to see the card live: https://quenting-frontend-better-ses-9o12.matrix-authentication-service-docs.pages.dev/storybook/?path=/docs/ui-session-card--docs

@sandhose sandhose added A-Frontend Changes on the React frontend A-Device-Management Related to sessions and device management labels Feb 23, 2024
Copy link

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

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9cff44a
Status: ✅  Deploy successful!
Preview URL: https://0c96e815.matrix-authentication-service-docs.pages.dev
Branch Preview URL: https://quenting-frontend-better-ses-9o12.matrix-authentication-service-docs.pages.dev

View logs

@sandhose sandhose force-pushed the quenting/frontend/better-session-list branch from a740d2b to 62ea471 Compare February 27, 2024 09:17
@sandhose sandhose changed the base branch from main to quenting/frontend/dummy-router-load February 27, 2024 09:17
@sandhose sandhose force-pushed the quenting/frontend/dummy-router-load branch from f60932c to be47076 Compare February 27, 2024 10:00
@sandhose sandhose force-pushed the quenting/frontend/better-session-list branch 3 times, most recently from 3e8be6f to ecb698d Compare February 27, 2024 10:25
@sandhose sandhose changed the base branch from quenting/frontend/dummy-router-load to main February 27, 2024 10:26
@sandhose sandhose force-pushed the quenting/frontend/better-session-list branch from ecb698d to 44cd354 Compare February 27, 2024 11:29
@sandhose sandhose force-pushed the quenting/frontend/better-session-list branch from 44cd354 to 9cff44a Compare February 27, 2024 11:38
@sandhose sandhose requested a review from t3chguy February 27, 2024 12:08
Copy link
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@sandhose sandhose merged commit 4e68279 into main Feb 27, 2024
16 checks passed
@sandhose sandhose deleted the quenting/frontend/better-session-list branch February 28, 2024 15:23
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.

2 participants