Repository navigation
feat: fix mobile header shrink, add OIDC UserInfo fallback, and build Playwright E2E suite - #9
Merged
Merged
Conversation
…k and DDNS endpoint flag
… Playwright suites
…s/resolve, and guard UserInfo email_verified
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.
Summary
Mobile UI & Component Fixes
ui/src/components/PageHeader.svelte): Addedshrink-0to<header>so<main class="flex flex-col overflow-y-auto">no longer compresses the48pxmobile header on tall scrolling views; added an AST regression test inui/src/lib/viewEffects.test.js.ui/src/components/ActionMenu.svelte): Replaced imperativemenuEl.addEventListener("click", (e) => e.stopPropagation())(which blocked Svelte 5's root-delegatedonclickhandlers on menu items) with Svelte-delegatedonclick={(e) => e.stopPropagation()}; caught by the E2E suite and covered by a regression test inui/src/lib/viewEffects.test.js.Auth & DDNS Runtime Improvements
UserInfofallback (internal/auth/oidc.go): When ID token claims omitemail,email_verified, orname(such as stock Authelia 4.39+), hydrate missing claims from the OIDCUserInfoendpoint with constant-timesubverification and a cross-emailemail_verifiedguard.main.go): Added--ddns-endpoint/WHO_DDNS_ENDPOINTso Route53 requests can be routed to a local mock sink in E2E tests while preserving the AWS default.Full-Stack Playwright E2E Suite & CI Integration
e2e/):traefik:v3.6(127.0.0.1:18443withapp.who.localhost/auth.who.localhost),ghcr.io/glauth/glauth:v2.5.4,authelia/authelia:4.39(stock OIDC + PKCES256),who(built fromDockerfile), andmock-sink(127.0.0.1:19999) capturing live Route53 XMLUPSERTand webhook requests.e2e/scripts/prepare.mjs) and lifecycle runner (e2e/scripts/run.sh) with trap-based teardown;e2eexcluded from Docker build context via.dockerignore.e2e/tests/, 5 projects, 23 tests):/assets/*401,/api/v1/*401, disallowed OIDC user denial, login/logout session revocation)./healthz,/whoami,/whoami/headers,/iam/{name},/iam/{name}/{ip},/whois/{name}, per-record bearer/header/query token auth).390×844) header-height stability before/after scroll across tall views, zero horizontal overflow, and hamburger navigation drawer.make e2e,make e2e-up,make e2e-down, updatedREADME.md, added UI checks to CItest, and added ane2ejob in.github/workflows/docker-build.ymlgatingbuild-and-push.Verification
golangci-lint run: 0 issuesgo test -count=1 -race -cover ./...: all 6 packages passpnpm --dir ui run check: 30/30 tests pass + build succeedsbash e2e/scripts/run.sh: 23/23 Playwright tests pass across all 5 projects with clean container teardown