Repository navigation
web/styles: add ak-c-loading-skeleton CSS component - #21510
Conversation
Introduce `components/Skeleton/skeleton.css`, a small utility class system for loading placeholders. `.ak-c-loading-skeleton` draws a configurable grid of "bones" with a shimmer animation and an opt-in fade-in that respects `prefers-reduced-motion`. The component is configured with `--ak-c-skeleton--*` custom properties so individual wizards / forms can size and tint skeletons without bespoke CSS. No consumers yet; the follow-up wizard refactor uses it in place of the current bullseye spinner during async step loading.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #21510 +/- ##
==========================================
+ Coverage 92.07% 92.25% +0.17%
==========================================
Files 1031 1031
Lines 59375 59375
Branches 2237 2237
==========================================
+ Hits 54668 54774 +106
+ Misses 4658 4552 -106
Partials 49 49
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
✅ 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. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-92040554c939157eca7cd9997e9f7a59eedf71ae
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-92040554c939157eca7cd9997e9f7a59eedf71aeAfterwards, run the upgrade commands from the latest release notes. |
* main: (455 commits) web/e2e: accept options in NavigatorFixture.waitForPathname (#21507) web/styles: switch to upstream RedHat variable fonts and brighten orange palette (#21509) web/styles: add ak-c-loading-skeleton CSS component (#21510) core, web: update translations (#21532) core: bump lxml from 6.0.2 to 6.0.3 (#21523) core: bump library/node from `45babd1` to `9707cd4` in /lifecycle/container (#21522) tasks: better error message for Retry exceptions (#18235) web/admin: fix user list avatar (#21531) core: bump django from v5.2.12 to 5.2.13 (#21520) core: add cooldown to dependabot (#21286) web/admin: include avatar in user list page (#21518) events: add index on Event.user.pk (#19576) ci: always run apt update (#21516) enterprise/search: move QL to open source] (#21484) core: add logging when session decode fails (#21514) website/docs: Refactor email configuration (#21130) core: bump types-ldap3 from 2.9.13.20260402 to 2.9.13.20260408 (#21493) packages/ak-common/db: init (#21357) packages/ak-axum/extract/host: init (#21323) web: bump knip from 6.3.0 to 6.3.1 in /web (#21505) ...
web/styles: add ak-c-loading-skeleton component Introduce `components/Skeleton/skeleton.css`, a small utility class system for loading placeholders. `.ak-c-loading-skeleton` draws a configurable grid of "bones" with a shimmer animation and an opt-in fade-in that respects `prefers-reduced-motion`. The component is configured with `--ak-c-skeleton--*` custom properties so individual wizards / forms can size and tint skeletons without bespoke CSS. No consumers yet; the follow-up wizard refactor uses it in place of the current bullseye spinner during async step loading.
web/styles: add ak-c-loading-skeleton component Introduce `components/Skeleton/skeleton.css`, a small utility class system for loading placeholders. `.ak-c-loading-skeleton` draws a configurable grid of "bones" with a shimmer animation and an opt-in fade-in that respects `prefers-reduced-motion`. The component is configured with `--ak-c-skeleton--*` custom properties so individual wizards / forms can size and tint skeletons without bespoke CSS. No consumers yet; the follow-up wizard refactor uses it in place of the current bullseye spinner during async step loading.
Summary
styles/authentik/components/Skeleton/skeleton.csswith the.ak-c-loading-skeletonutility class--ak-c-skeleton--*custom properties for width, height, border-radius, and shimmer animationprefers-reduced-motionby disabling the shimmer when reduced motion is preferredTest plan
.ak-c-loading-skeletonto a placeholder element and verify the shimmer animation rendersprefers-reduced-motion: reduceSplit from web/a11y: Modal revisions, behavior fixes #21206 to ease review.