Cleanup: Keycloak console link nits from PR #68 #69
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-landing#69
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Type
Feature
Lineage
plan-wkq→ Phase 11 — QA nits from PR #68Repo
forgejo_admin/westside-appUser Story
As a developer
I want Keycloak URLs DRY and links accessible to all roles
So that maintenance is easier and coaches aren't left out
Context
QA nits from PR #68 (Keycloak console links). None were merge-blocking but should be cleaned up.
File Targets
src/routes/(app)/+layout.svelte— import Keycloak URL constants from$lib/keycloak.jsinstead of hardcoding, add Account link for coach role navsrc/routes/(app)/admin/+page.svelte— import Keycloak URL constants, replace inline style with CSS class, add aria-label for external linksrc/lib/keycloak.js— exportKEYCLOAK_URLandREALMconstants (needed by the above imports)Acceptance Criteria
$lib/keycloak.jsconstants (DRY)$lib/keycloak.jsexportsKEYCLOAK_URLandREALMconstantsTest Expectations
npm run buildnpm run buildConstraints
KEYCLOAK_URLandREALMconstants from$lib/keycloak.jsChecklist
Related
Scope Review: NEEDS_REFINEMENT
Review note:
review-269-2026-03-27File paths in the ticket are wrong — SvelteKit route group
(app)is missing from both paths, and a required file target is absent.Issues found:
src/routes/+layout.svelteshould besrc/routes/(app)/+layout.svelte(the root layout is only 7 lines with no Keycloak refs)src/routes/admin/+page.sveltedoes not exist — should besrc/routes/(app)/admin/+page.sveltesrc/lib/keycloak.js—KEYCLOAK_URLandREALMare module-private (const, notexport const), so the agent must export them before they can be imported elsewherestory:Xandarch:Xtraceability labelsIssue body updated per scope review corrections.