fix: DRY Keycloak URLs, add coach Account link, a11y #126
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/westside-app!126
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "69-cleanup-keycloak-console-link-nits"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Changes
src/lib/keycloak.js— exportKEYCLOAK_URLandREALMconstants (were module-private)src/routes/(app)/+layout.svelte— import constants, build Account URL from them for both player/parent and coach navs, addaria-labelon external linkssrc/routes/(app)/admin/+page.svelte— import constants, replace hardcoded Keycloak admin console URL, replacestyle="margin-top: 0.5rem;"withmt-smutility class, addaria-labelon external linkTest Plan
npm run buildpassesaria-labelindicating new tabReview Checklist
Related Notes
westside-app #68— parent PR that introduced these nitsQA Review
Acceptance Criteria Check
$lib/keycloak.jsexportsKEYCLOAK_URLandREALMconstantsstyle="margin-top: 0.5rem;"replaced withmt-smutility classaria-labelon all external links indicating new tabCode Review
exportkeyword to two existing constants.CLIENT_IDstays private (correct, not needed externally).{KEYCLOAK_URL}/realms/{REALM}/account/is correct syntax. Coach nav now matches player/parent nav with Account link. Consistent aria-label text across both coach and player/parent Account links.mt-smutility class confirmed to exist inapp.css(line 153:.mt-sm { margin-top: 0.5rem; }). aria-label added.Build
npm run buildpasses. No new warnings introduced (all warnings are pre-existing from other files).Scope
VERDICT: APPROVE -- All acceptance criteria met, no issues found.