Repository navigation
web: Add path-router navigation layer. - #23988
Merged
Merged
Conversation
Hash-only (`#section`) and same-URL clicks resolve to the current path and query, differing at most by fragment. The interceptor now falls through to native handling for these, restoring fragment scroll and native reload instead of claiming them as dead in-app navigations.
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ 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. |
GirlBossRush
force-pushed
the
web/router-core
branch
from
July 13, 2026 22:24
081d46e to
ac570da
Compare
The href builders, click interceptor, and hash shim each built the base-plus-interface prefix independently. formatInterfacePrefix is now the single source, with a direct test pinning the base-without-trailing- slash case.
GirlBossRush
force-pushed
the
web/router-core
branch
from
July 13, 2026 22:46
ac570da to
0735fbc
Compare
2 tasks
❌ 3 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
This was referenced Jul 13, 2026
GirlBossRush
force-pushed
the
web/router-core
branch
from
July 13, 2026 23:52
0735fbc to
d5f4683
Compare
GirlBossRush
force-pushed
the
web/router-core
branch
from
August 7, 2026 17:28
d5f4683 to
c978cba
Compare
Contributor
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-72931c99c45d0c852d01ed2de3599dbc62bbd9b2
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-72931c99c45d0c852d01ed2de3599dbc62bbd9b2Afterwards, run the upgrade commands from the latest release notes. |
GirlBossRush
force-pushed
the
web/router-core
branch
from
August 7, 2026 21:58
c978cba to
0eec75d
Compare
GirlBossRush
force-pushed
the
web/router-core
branch
from
August 7, 2026 22:31
0eec75d to
b437dc7
Compare
GirlBossRush
force-pushed
the
web/router-core
branch
from
August 11, 2026 14:00
b437dc7 to
72931c9
Compare
BeryJu
approved these changes
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
What does this PR change?
Completes the router core (stacked on #23990, which sits on #23989) with the navigation layer, all new files except one import line:
interfaces.ts— cross-interface href builders (toAdminInterface,toUserInterface,toFlowInterface) that respect a non-rootweb.path;formatInterfacePrefixis the single source of prefix constructionnavigation.ts— history-APInavigate()and a document-level click interceptor that claims a click only when it confidently resolves to an in-interface path; modified clicks, other origins, downloads,target=_blank, and fragment-only links all fall through to the browserhash-shim.ts— temporary translator for legacy#/path;paramsURLs (both the JSON andURLSearchParamsencodings), marked for removal two releases after the admin interface flipsurlpattern-polyfillin the polyfill bundle, self-guarded behindglobalThis.URLPattern(Safari ≤ 25, Firefox ≤ 141)Still no runtime wiring: the hash router is untouched, and the interfaces flip in follow-up PRs (user first, then admin), each with Playwright coverage including a non-root
web.pathdeployment.Why is this change needed?
Same migration as the rest of the stack: replacing hash routing with real paths. This layer is what the upcoming outlet and interface flips call into.
How was this tested?
31 unit tests for these modules (href builders under
/and/auth/bases, the click-interception decision matrix, the hash translation table), 57 for the router core overall, full Unit Tests project (98) and typecheck green.Linked issues
Checklist
make all)make docs)