Repository navigation
web: Gracefully handle missing element construction. - #21787
Conversation
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-integrations 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 #21787 +/- ##
==========================================
+ Coverage 92.22% 93.18% +0.95%
==========================================
Files 1034 1024 -10
Lines 60024 59278 -746
Branches 2695 400 -2295
==========================================
- Hits 55356 55236 -120
+ Misses 4595 4042 -553
+ Partials 73 0 -73
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-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-9cb01521e1a173e8f4180f22e1d9a9d89073d210
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-9cb01521e1a173e8f4180f22e1d9a9d89073d210Afterwards, run the upgrade commands from the latest release notes. |
Show a developer-oriented hint when CanDebug is set, and an end-user-friendly suggestion (refresh / clear cache) otherwise. Co-authored-by: Agent (authentik-i21787-graceful-gross-chrome) <[email protected]>
kensternberg-authentik
left a comment
There was a problem hiding this comment.
This looks fine, but it also feels like a lot of ceremony. I'm not sure we need it. Do other applications like Spectrum, Home Assistant, and so forth have anything like this?
* main: (338 commits) root: ensure uv sync does not update uv.lock (#22084) core: bump dramatiq from 1.17.1 to 2.1.0 (#22076) web: Fix Vendored Lex package. Add Unit Tests (#22083) core, web: update translations (#22074) website: bump the build group in /website with 6 updates (#22075) web: bump ip-address from 10.1.0 to 10.2.0 in /web (#22082) web: bump the swc group across 1 directory with 11 updates (#22078) ci: bump taiki-e/install-action from 2.75.29 to 2.75.30 in /.github/actions/setup (#22077) web: bump country-flag-icons from 1.6.16 to 1.6.17 in /web (#22079) web: bump yaml from 2.8.3 to 2.8.4 in /web (#22080) core: bump sentry from 0.47.0 to 0.48.0 (#22081) packages/client-ts: Fix TypeScript config, ESBuild warnings (#21863) web: fix identification stage OUIA attributes (#22049) stages/invitation: Invitation wizard (#20399) Web/release202604/nits 2 (#22040) web: Gracefully handle missing element construction. (#21787) root: update django to 5.2.14 (#22064) tenants: add option to mark flag as deprecated (#22063) web/stages: better wording for webauthn authenticator attachments options (#22062) web: bump vite from 8.0.8 to 8.0.10 in /web (#21842) ...
Details
This PR introduces a fallback to component tag names which are provided from the server. If the component fails to load, the fallback will render an error message instead of breaking the entire page.
This can be observed when a stage has been created on another branch: