fix: coach bottom nav — Team/Plays/Sign Out #34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "33-coach-bottom-nav-fix"
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
Replaces the coach page bottom nav items. "My Team" becomes "Team", "My Player" becomes "Plays" (links to the plays tab on the same page), and "Sign Out" stays unchanged.
Changes
coach.html: Replaced bottom nav "My Team | My Player | Sign Out" with "Team | Plays | Sign Out". The Plays nav item uses the gear icon (matching the plays tab header) and activates the plays tab via an onclick handler instead of navigating to parent.html.Test Plan
Review Checklist
Related
plan-wkqReview-Fix Loop
Finding: The Plays nav item had
href="coach.html"which would reload the page before theonclickhandler could switch tabs. Since the user is already on coach.html, this would cause a full page reload and the tab switch would never happen.Fix (
a8a2c2b): Changed tohref="#"withevent.preventDefault()so the Plays button stays on the current page and switches to the plays tab without reloading.No other issues found. Diff is minimal (4 additions, 4 deletions across 1 file), scoped exactly to the bottom nav replacement.