Email: Local teams — no Monday practice first week, first practice Tuesday Apr 7 #313
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#313
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
Standalone — local teams (16U/17U Local Kings) need to know first practice is Tuesday not Monday due to parent-player meeting.
Repo
forgejo_admin/basketball-apiUser Story
As an admin,
I want to email local team parents about the first-week exception
So that no one shows up Monday Apr 6 expecting practice.
Context
16U Local Kings and 17U Local Kings normally practice Monday at BWill. But first week has no Monday practice — parent-player meeting + first practice is Tuesday Apr 7 at West High 6-8 PM. After that, Monday schedule resumes. 12 local team parents need this specific message.
Environment
File Targets
This can reuse the welcome-practice email endpoint from basketball-api#312 with a local-teams-only filter and customized first-week messaging. If #312 is done first, this may just be a targeted send with specific copy. If not, create a standalone function.
Files to potentially modify:
src/basketball_api/services/email.py— add local-team-specific content or reuse welcome templatesrc/basketball_api/routes/admin.py— use team filter on welcome-practice endpointFiles NOT to touch:
src/basketball_api/models.pyAcceptance Criteria
Test Expectations
pytest tests/ -k emailpassespytest tests/Constraints
get_gmail_client(tenant, db)Checklist
Related
westside-basketball— project this affectsbasketball-api#312— welcome practice email (potential dependency)Scope Review: NEEDS_REFINEMENT
Review note:
review-764-2026-04-03Issue references
basketball-api#281as the welcome-practice endpoint, but #281 is actually a closed CRM issue. The correct dependency is#312.[BODY]Fix issue reference:#281→#312in File Targets and Related sections[BODY]Add note to verify team_id 6/7 map to correct Local Kings teams before hardcoding[SCOPE]Create architecture notearch-basketball-apiScope refinement (review-764-2026-04-03):
#281(closed CRM issue) to#312(welcome practice email) in File Targets and Related sections.LIKE '%Local%'), not hardcoded IDs.Scope Review: APPROVED (re-review)
Review note:
review-764-2026-04-03-r2All three issues from initial review resolved:
One non-blocking [SCOPE] item retained: Create architecture note
arch-basketball-api(applies to all basketball-api tickets).Ticket is ready for dispatch.