Repository navigation
web/elements: Add location to sessions - #24422
Conversation
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your 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)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your 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-9ccb93ef56e08c4ebee72d8ca33826fb9ef650b0Afterwards, run the upgrade commands from the latest release notes. |
Removed the comment block explaining the formatLocation function. Signed-off-by: Connor Peshek <[email protected]>
Signed-off-by: Jens Langhammer <[email protected]>
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
kensternberg-authentik
left a comment
There was a problem hiding this comment.
A bit magical (all those Boolean filters), but obvious at a second glance.
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
make all)make docs)