Feature/94 user registrations tab - #120
Open
Jxl-s wants to merge 3 commits into
Open
Conversation
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.
Closes #94
Overview
New
/registrationspage (role=useronly) listing services the user is registered for — programs fromservice_bookings, private lessons fromcoaching_sessions— grouped by service, with registered children shown per service card. Read-only.Also extracted duplicated
serviceTypeLabel/DAY_NAMESintolib/service-labels.ts.Deferred (blocked on follow-up PR): sidebar entry + post-login redirect. Page is currently reachable only by direct URL.
Testing
Manual, as
jane@doe.com(role=user), seeded with 1 adult program + 1 private lesson + 1 child program with 2 kids:/registrationsredirects as expected./membershipsunaffected (regression check on middleware guard).tscandeslintclean. No unit tests added — repo has no page-level test scaffolding and this PR ships no mutation code.Screenshots / Screencasts
Checklist
Notes
TODOmarking the guard for replacement by that PR.