Repository navigation
web/flows: fix layout shift once initial challenge is loaded - #26758
Conversation
currently there's a single load state before JS is loaded, then an empty card before the challenge is loaded. once the initial challenge is loaded, there's a shift since the flow title is now there. This switches directly from no js-load to empty card load with flow title, causing one less layout shift Signed-off-by: Jens Langhammer <[email protected]>
✅ 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 #26758 +/- ##
==========================================
- Coverage 92.34% 92.31% -0.04%
==========================================
Files 1176 1176
Lines 77895 77895
Branches 4129 4129
==========================================
- Hits 71934 71908 -26
- Misses 5895 5921 +26
Partials 66 66
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Playwright e2eDownload this run's HTML report and traces, then open the report: gh run download 37651962594 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-reportInstallation instructionsInstructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-726e85535f23a27cf7e16ea78b2b4a26e0f29f67
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-726e85535f23a27cf7e16ea78b2b4a26e0f29f67Afterwards, run the upgrade commands from the latest release notes. |
|
🍒 Cherry-pick to |
…pick #26758 to version-2026.8) (#26759) web/flows: fix layout shift once initial challenge is loaded (#26758) currently there's a single load state before JS is loaded, then an empty card before the challenge is loaded. once the initial challenge is loaded, there's a shift since the flow title is now there. This switches directly from no js-load to empty card load with flow title, causing one less layout shift Signed-off-by: Jens Langhammer <[email protected]> Co-authored-by: Jens L. <[email protected]>
|
Maybe related to #27183 |
currently there's a single load state before JS is loaded, then an empty card before the challenge is loaded. once the initial challenge is loaded, there's a shift since the flow title is now there.
This switches directly from no js-load to empty card load with flow title, causing one less layout shift