Skip to content

web/flows: fix layout shift once initial challenge is loaded - #26758

Merged
BeryJu merged 1 commit into
mainfrom
web/flow/fix-layout-shift-flow-load
Oct 7, 2026
Merged

BeryJu merged 1 commit into
mainfrom
web/flow/fix-layout-shift-flow-load

Conversation

@BeryJu

@BeryJu BeryJu commented Oct 7, 2026

Copy link
Copy Markdown
Member

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

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]>
@BeryJu
BeryJu requested a review from a team as a code owner October 7, 2026 16:25
@BeryJu BeryJu added the backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 label Oct 7, 2026
@netlify

netlify Bot commented Oct 7, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 726e855
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ac6728e619bcb000848255d
😎 Deploy Preview https://deploy-preview-26758--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 Oct 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.31%. Comparing base (d610776) to head (726e855).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

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              
Flag Coverage Δ
conformance 32.88% <ø> (+<0.01%) ⬆️
e2e 37.66% <ø> (-0.01%) ⬇️
integration 29.21% <ø> (-0.49%) ⬇️
rust 46.45% <ø> (ø)
unit 93.76% <ø> (+<0.01%) ⬆️
unit-migrate 93.76% <ø> (+<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 Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download 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-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

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)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-726e85535f23a27cf7e16ea78b2b4a26e0f29f67

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

@BeryJu
BeryJu merged commit 599121e into main Oct 7, 2026
145 of 146 checks passed
@BeryJu
BeryJu deleted the web/flow/fix-layout-shift-flow-load branch October 7, 2026 17:22
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.8 created: #26759

BeryJu added a commit that referenced this pull request Oct 7, 2026
…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]>
@dewi-tik

Copy link
Copy Markdown
Contributor

Maybe related to #27183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants