Skip to content

web/elements: Add location to sessions - #24422

Merged
PeshekDotDev merged 3 commits into
mainfrom
update-session-ui
Jul 28, 2026
Merged

PeshekDotDev merged 3 commits into
mainfrom
update-session-ui

Conversation

@PeshekDotDev

Copy link
Copy Markdown
Contributor

Details

What does this PR change?

Currently, the list of sessions shows a flag to denote location, but doesn't show city or anything else. This adds a city name next to the device information.

Why is this change needed?

Just a flag doesn't always help show that a session is one that you don't know. I may see a second session in the US and assume it's me on a different device, but if I see it's in a city I've never been to, it helps me identity a bad session faster.

How was this tested?

Built and ran locally

Linked issues


Checklist

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)

@PeshekDotDev PeshekDotDev self-assigned this Jul 28, 2026
@PeshekDotDev
PeshekDotDev requested a review from a team as a code owner July 28, 2026 00:38
@netlify

netlify Bot commented Jul 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 9ccb93e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a689267a789030008d9d090
😎 Deploy Preview https://deploy-preview-24422--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jul 28, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 00a1b31
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a67fa08ae292700084bd5a9
😎 Deploy Preview https://deploy-preview-24422--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Jul 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.57%. Comparing base (d7b37a9) to head (9ccb93e).
⚠️ Report is 8 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #24422   +/-   ##
=======================================
  Coverage   93.57%   93.57%           
=======================================
  Files        1076     1076           
  Lines       65022    65022           
  Branches      424      424           
=======================================
+ Hits        60844    60845    +1     
+ Misses       4178     4177    -1     
Flag Coverage Δ
conformance 35.13% <ø> (+0.29%) ⬆️
e2e 40.01% <ø> (+<0.01%) ⬆️
integration 31.70% <ø> (+<0.01%) ⬆️
rust 0.00% <ø> (ø)
unit 92.77% <ø> (+<0.01%) ⬆️
unit-migrate 92.80% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@github-actions

github-actions Bot commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-9ccb93ef56e08c4ebee72d8ca33826fb9ef650b0
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-9ccb93ef56e08c4ebee72d8ca33826fb9ef650b0

Afterwards, run the upgrade commands from the latest release notes.

PeshekDotDev and others added 2 commits July 27, 2026 20:11
Removed the comment block explaining the formatLocation function.

Signed-off-by: Connor Peshek <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
@netlify

netlify Bot commented Jul 28, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 9ccb93e
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a689267b1ae0b0008192109
😎 Deploy Preview https://deploy-preview-24422--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@kensternberg-authentik kensternberg-authentik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A bit magical (all those Boolean filters), but obvious at a second glance.

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core Jul 28, 2026
@PeshekDotDev
PeshekDotDev merged commit 679ace9 into main Jul 28, 2026
123 checks passed
@PeshekDotDev
PeshekDotDev deleted the update-session-ui branch July 28, 2026 16:31
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants