Add missing parent_phone/parent_email to admin CRM response models #281
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/basketball-api#281
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
Related to forgejo_admin/basketball-api#278 (spike: audit API response contract mismatches with westside-landing frontend)
Repo
forgejo_admin/basketball-api
User Story
As an admin/coach/parent, I want the app to display complete player, parent, and coach information so that I can manage the program without missing data.
Context
Spike Mismatches 2, 5, 7: Several admin CRM response models are missing parent contact fields that the frontend expects.
IncompletePlayerItem— missingparent_phone(Mismatch 5)TeamPlayerItem— missingparent_phoneandparent_email(Mismatch 7)Note:
AdminPlayerItem.parent_phonewas already fixed in #276, so this ticket covers the remaining two models.File Targets
src/basketball_api/routes/admin.py—IncompletePlayerItem,TeamPlayerItemmodelsAcceptance Criteria
IncompletePlayerItemincludesparent_phone: Optional[str]TeamPlayerItemincludesparent_phone: Optional[str]andparent_email: Optional[str]Test Expectations
Constraints
AdminPlayerItem.parent_phonealready shipped in #276 — do not duplicateChecklist
ruff formatandruff checkcleanRelated
Scope Review: READY
Review note:
review-741-2026-04-03Single-repo, single-file. IncompletePlayerItem (line 403) missing parent_phone, TeamPlayerItem (line 651) missing parent_phone + parent_email. Correctly avoids duplicating AdminPlayerItem fix from #276.
[SCOPE]Create architecture note arch-basketball-apiforgejo_admin referenced this issue2026-04-03 23:22:50 +00:00