fix: use frontend_url for user-facing registration links #196
No reviewers
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!196
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "105-fix-base-url-to-frontend-url-in-emails"
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
base_url) instead of the frontend app (frontend_url)settings.frontend_urlChanges
src/basketball_api/services/email.pyline 83: changedsettings.base_urltosettings.frontend_urlin registration email linksrc/basketball_api/routes/tryouts.pyline 795: changedsettings.base_urltosettings.frontend_urlin admin dashboard copy-link buttontryouts.py:509(photo_url) intentionally usesbase_url— MinIO photo URL served by the APITest Plan
test_reconciliation.pydue to missinggroupme_sdk— same on main)westsidekingsandqueens.tail5b443a.ts.netReview Checklist
Related Notes
frontend_urlconfig; this fixes the remainingbase_urlusagesplan-wkqPhase 11 discovered scopeQA Review -- PR #196
Diff Audit
settings.base_urlcorrectly changed tosettings.frontend_urlfor the registration email link. This is a user-facing URL that parents click in their email.settings.base_urlcorrectly changed tosettings.frontend_urlfor the admin dashboard "Copy Link" button. This URL is copied and sent to parents for registration.settings.base_url. This is a MinIO photo URL served by the API, not a user-facing navigation link.Scope Check
settings.base_urlusages in the codebase are user-facing registration links (remaining usages inadmin.pyandcoach_onboarding.pyare API-internal).Test Verification
test_reconciliation.py-- missinggroupme_sdkmodule) confirmed on main as well.Nits
None.
VERDICT: APPROVE