Skip to content

web: Flow overlays cleanup - #27028

Merged
BeryJu merged 5 commits into
mainfrom
web/flow-overlays-cleanup
Oct 26, 2026
Merged

BeryJu merged 5 commits into
mainfrom
web/flow-overlays-cleanup

Conversation

@GirlBossRush

@GirlBossRush GirlBossRush commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Details

This PR fixes several issues which prevented a consistent visual experience when viewing a flow from a smaller viewport, such as mobile, tablet, and native OS authentication window e.g. iPadOS, Windows, macOS

The CSS changes are mix of art and science, opting for an experience that doesn't shift during loading, and is capable of rendering quickly on mobile data.

Changes

  • Moved the flow, authenticated and shared stylesheets into styles/if/ to match the backend pattern.
  • Widened the flow card to match a common breakpoint across various OSs and viewports.
  • Pulled the spinner out into its own template
  • Loading overlays now come from flow.html as slots avoiding the layout shift of ak-loading-overlay during element registration.

Screenshots

The changes are subtle, but most visible at some awkward viewports where mobile layouts activate and the loading overlay is active. The color-coding on the after-shots are illustrative and not in the branch.

Before

Screenshot 2026-10-19 at 18 37 48 Screenshot 2026-10-19 at 18 36 46

After

Screenshot 2026-10-19 at 14 44 53 Screenshot 2026-10-19 at 14 44 48 Screenshot 2026-10-19 at 14 45 46 Screenshot 2026-10-19 at 14 45 02

Groups the entrypoints and flow stylesheets under styles/if/{authenticated,flow,shared}. Renames and path updates only.
Bumps the card width from 35rem to 36.25rem (matching the small dialog), raises the background-image height cutoff to 27.5rem, and makes the small/large media queries use <= and > consistently so no viewport size matches both.
Also makes the spinner's aria-valuetext translatable.
@GirlBossRush
GirlBossRush requested review from a team as code owners October 19, 2026 17:26
@GirlBossRush GirlBossRush changed the title Web/flow overlays cleanup web: Flow overlays cleanup Oct 19, 2026
@netlify

netlify Bot commented Oct 19, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit f932f74
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ad652d27d58668aadee7213
😎 Deploy Preview https://deploy-preview-27028--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 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.33%. Comparing base (72d5a74) to head (cc2c414).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #27028      +/-   ##
==========================================
- Coverage   92.36%   92.33%   -0.03%     
==========================================
  Files        1188     1188              
  Lines       80005    80005              
  Branches     4351     4351              
==========================================
- Hits        73893    73872      -21     
- Misses       6046     6067      +21     
  Partials       66       66              
Flag Coverage Δ
conformance 32.29% <ø> (+<0.01%) ⬆️
e2e 36.99% <ø> (+<0.01%) ⬆️
integration 28.68% <ø> (-0.49%) ⬇️
rust 44.42% <ø> (ø)
unit 94.01% <ø> (+<0.01%) ⬆️
unit-migrate 94.01% <ø> (+<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.

The flow template now ships card and viewport overlays as slotted light DOM, replacing ak-loading-overlay. The executor only exposes their slots while a challenge is reloading, and overlay.css picks which one is visible per layout and viewport size.
@GirlBossRush
GirlBossRush force-pushed the web/flow-overlays-cleanup branch from b2a14f9 to cc2c414 Compare October 19, 2026 17:55
@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download this run's HTML report and traces, then open the report:

gh run download 39298178875 -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-cc2c4147da0c7304577ab509454f1d10ad1ddb15
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-cc2c4147da0c7304577ab509454f1d10ad1ddb15

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

@GirlBossRush
GirlBossRush requested a review from BeryJu October 19, 2026 20:09
@GirlBossRush GirlBossRush added the area:frontend Features or issues related to the browser, TypeScript, Node.js, etc label Oct 19, 2026
@BeryJu
BeryJu merged commit 2ad8933 into main Oct 26, 2026
147 checks passed
@BeryJu
BeryJu deleted the web/flow-overlays-cleanup branch October 26, 2026 19:53
kensternberg-authentik added a commit that referenced this pull request Oct 26, 2026
* main:
  web: Flow overlays cleanup (#27028)
  website/integrations: add agent-claude code doc (#27195)
kensternberg-authentik added a commit that referenced this pull request Oct 30, 2026
…estamp' into web/elements/ak-timestamp

* refs/remotes/origin/web/elements/ak-timestamp: (119 commits)
  Potential fix for pull request finding 'Implicit operand conversion'
  Move constant to be, y'know, a constant.
  web/elements: formalize the timestamp display
  web/elements: rebuild ak-checkbox-group as a form-associated element (#27048)
  web/elements: re-arrange sidebar footer dependency (#27033)
  web/elements: rebuild ak-array-input as a form-associated element (#27046)
  web/admin: Simplify sidebar entries handling (#27112)
  revert: core: bump paramiko from 5.0.1 to 5.1.0 (#27258)
  web: Flow overlays cleanup (#27028)
  website/integrations: add agent-claude code doc (#27195)
  providers/oauth2: support saml token exchange (#27135)
  root: bump rust deps (#27190)
  root: bump Go to 1.27.3 (#27151)
  website/docs: update ha and LDAP provider docs (#27119)
  website/docs: events: change sidebar title and ordering (#27130)
  core: bump library/golang from `1896654` to `fbb7ae4` in /lifecycle/container (#27157)
  core: bump library/node from `1653c74` to `36793bc` in /lifecycle/container (#27158)
  core: bump library/node from `62314d9` to `a98e6fd` in /website (#27159)
  core: bump library/nginx from 1.31.6-trixie to 1.31.8-trixie in /website (#27160)
  ci: bump the codeql group across 1 directory with 3 updates (#27165)
  ...
kensternberg-authentik added a commit that referenced this pull request Oct 30, 2026
…ntab' into web/elements/ak-crontab

* refs/remotes/origin/web/elements/ak-crontab: (221 commits)
  web/elements: introduce the crontab component
  Potential fix for pull request finding 'Implicit operand conversion'
  Move constant to be, y'know, a constant.
  web/elements: formalize the timestamp display
  web/elements: rebuild ak-checkbox-group as a form-associated element (#27048)
  web/elements: re-arrange sidebar footer dependency (#27033)
  web/elements: rebuild ak-array-input as a form-associated element (#27046)
  web/admin: Simplify sidebar entries handling (#27112)
  revert: core: bump paramiko from 5.0.1 to 5.1.0 (#27258)
  web: Flow overlays cleanup (#27028)
  website/integrations: add agent-claude code doc (#27195)
  providers/oauth2: support saml token exchange (#27135)
  root: bump rust deps (#27190)
  root: bump Go to 1.27.3 (#27151)
  website/docs: update ha and LDAP provider docs (#27119)
  website/docs: events: change sidebar title and ordering (#27130)
  core: bump library/golang from `1896654` to `fbb7ae4` in /lifecycle/container (#27157)
  core: bump library/node from `1653c74` to `36793bc` in /lifecycle/container (#27158)
  core: bump library/node from `62314d9` to `a98e6fd` in /website (#27159)
  core: bump library/nginx from 1.31.6-trixie to 1.31.8-trixie in /website (#27160)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend Features or issues related to the browser, TypeScript, Node.js, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants