Skip to content

Push tap opens that game on the Scores page - #472

Merged
frizat82 merged 1 commit into
devfrom
feature/push-tap-opens-game
Oct 5, 2026
Merged

frizat82 merged 1 commit into
devfrom
feature/push-tap-opens-game

Conversation

@frizat82

@frizat82 frizat82 commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Closes #461.

  • Live pushes set Url = /scores?team=XXX. Week-result pushes set /leaderboard.
  • ScoresPage reads ?team=, scrolls that team's game card into view and outlines it in secondary (brand orange; blue is reserved for your own pick) for 4s. It does this once per link, not on every live poll.
  • sw.js notificationclick navigates an already-open app window to the link (instead of just focusing it), and falls back to openWindow.
  • Tests: findGameIdForTeam helper, ScoresPage focus and scroll from ?team=, payload Url on live and week-result pushes. Full suites green (815 frontend, 102 e2e, backend except the pre-existing live-ESPN test). Screenshot-verified at iPhone width in dark mode.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DAWjtJgXaMYbzZXYJjTEYs

Live pushes link to /scores?team=XXX; the Scores page scrolls to that team's game and outlines it
briefly. Week-result pushes link to /leaderboard. sw.js navigates an already-open app window to the
link instead of only focusing it.

Closes #461

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DAWjtJgXaMYbzZXYJjTEYs
@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ivleague Ready Ready Preview Oct 5, 2026 1:56pm UTC

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Backend Unit Test Results

✔️ Tests 1222 / 1222 - passed in 22.3s
✔️ Coverage 72.22% - passed with 30% threshold
📏 3046 / 4073 lines covered 🌿 1035 / 1578 branches covered
🔍 click here for more details

@frizat82
frizat82 merged commit f74233c into dev Oct 5, 2026
8 checks passed
@frizat82
frizat82 deleted the feature/push-tap-opens-game branch October 5, 2026 14:00

This branch was successfully deployed

1 active deployment
Preview — f2405263 Deployed Oct 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant