fix: coach bottom nav — Team/Plays/Sign Out #34

Merged
forgejo_admin merged 2 commits from 33-coach-bottom-nav-fix into main 2026-03-16 23:17:42 +00:00

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

  • Open coach.html in a browser
  • Verify bottom nav shows "Team | Plays | Sign Out"
  • Tap "Team" — stays on coach.html with team tab active
  • Tap "Plays" — switches to the plays tab on the same page
  • Tap "Sign Out" — navigates to index.html

Review Checklist

  • Passed automated review-fix loop
  • No secrets committed
  • No unnecessary file changes
  • Commit messages are descriptive
  • Closes #33
  • plan-wkq
## 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 - [ ] Open coach.html in a browser - [ ] Verify bottom nav shows "Team | Plays | Sign Out" - [ ] Tap "Team" — stays on coach.html with team tab active - [ ] Tap "Plays" — switches to the plays tab on the same page - [ ] Tap "Sign Out" — navigates to index.html ## Review Checklist - [ ] Passed automated review-fix loop - [ ] No secrets committed - [ ] No unnecessary file changes - [ ] Commit messages are descriptive ## Related - Closes #33 - `plan-wkq`
Closes #33

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use href="#" with event.preventDefault() so clicking Plays switches
tabs without reloading the page.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Owner

Review-Fix Loop

Finding: The Plays nav item had href="coach.html" which would reload the page before the onclick handler 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 to href="#" with event.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.

## Review-Fix Loop **Finding:** The Plays nav item had `href="coach.html"` which would reload the page before the `onclick` handler 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 to `href="#"` with `event.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.
forgejo_admin deleted branch 33-coach-bottom-nav-fix 2026-03-16 23:17:43 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo_admin/westside-playground!34
No description provided.