Repository navigation
web/elements: Add preserve-order, no-search and no-status attributes to ak-dual-select - #20749
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. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-84e0730e3e6a2121661511f89f8fd44092a4102b
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-84e0730e3e6a2121661511f89f8fd44092a4102bAfterwards, run the upgrade commands from the latest release notes. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #20749 +/- ##
==========================================
+ Coverage 93.16% 93.35% +0.18%
==========================================
Files 983 983
Lines 55475 55475
==========================================
+ Hits 51683 51787 +104
+ Misses 3792 3688 -104
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
kensternberg-authentik
left a comment
There was a problem hiding this comment.
Looks good. I made a code improvement suggestion, but it's not a requirement or a request for a change.
| <span class="pf-c-dual-list-selector__status-text" | ||
| >${selectedStatus}</span | ||
| > | ||
| </div>`} |
There was a problem hiding this comment.
Literally the same code in both Available and Selected delta some configuration details. Maybe wrap these in a function with parameters?
* main: (178 commits) lifecycle/aws: bump aws-cdk from 2.1110.0 to 2.1111.0 in /lifecycle/aws (#20847) web: bump the bundler group across 1 directory with 7 updates (#20876) web: bump @types/node from 25.4.0 to 25.5.0 in /web (#20878) web: bump flatted from 3.3.3 to 3.4.1 (#20891) web: bump flatted from 3.3.3 to 3.4.1 in /web (#20923) core: expiring model: ignore DoesNotExist error (#20922) core: bump astral-sh/uv from 0.10.9 to 0.10.10 in /lifecycle/container (#20913) core, web: update translations (#20899) core: bump goauthentik.io/api/v3 to 3.2026.5.0-rc1-1773518508 (#20897) stages/authenticator_webauthn: Update FIDO MDS3 & Passkey aaguid blobs (#20905) ci: bump softprops/action-gh-release from 2.5.0 to 2.6.1 (#20912) ci: bump actions/create-github-app-token from 2.2.1 to 3.0.0 (#20914) core: bump goauthentik/fips-python from `1ef7bd9` to `9d550e1` in /lifecycle/container (#20915) endpoints: fix tasks failing (#20904) providers/scim: use modified GroupMember class to support extra attributes on it (#20827) events: add option to configure webhook CA (#20823) stages/authenticator_webauthn: Add WebAuthn client hints support (#20700) web/elements: Add preserve-order, no-search and no-status attributes to ak-dual-select (#20749) docs: Add note on skipping object syncing (#20882) core: bump orjson from 3.11.5 to 3.11.6 (#20870) ...
Details
Add optional boolean attributes to
ak-dual-select,ak-dual-select-provider, andak-dual-select-dynamic-selectedfor preserving the insertion order instead of alphabetical (preserve-order), hiding the search bars (no-search), and item count status displays (no-status). All default tofalse, preserving existing behavior.Rationale: When we have just a few items, we want a cleaner interface. Used in the WebAuthn authenticator stage form to simplify the device type hints selector. #20700
Originally:


After this PR:
Checklist
ak test authentik/)make lint-fix)If an API change has been made
make gen-build)If changes to the frontend have been made
make web)If applicable
make docs)