Skip to content

fix(overlay): remove dead full-page CTAs from team + match overlays#290

Merged
0800tim merged 1 commit into
mainfrom
fix/remove-fullpage-ctas
Jun 5, 2026
Merged

fix(overlay): remove dead full-page CTAs from team + match overlays#290
0800tim merged 1 commit into
mainfrom
fix/remove-fullpage-ctas

Conversation

@0800tim

@0800tim 0800tim commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Tim 2026-06-05: the team + match popups on the bracket picker were advertising "Full page →", "View match preview", "Open full team page →" and "Open full preview (Predict / H2H / Form / Lineup / Stats) →" CTAs that point at routes we haven't built yet. Removed all five so the overlays only show what they can actually deliver. Fixture-row clicks inside TeamOverlay still open the MatchOverlay (same kind of popup, not a route) so navigation between the two overlays is preserved.

Same behaviour applies to the "upcoming matches" tap-target since that opens the same MatchOverlay component.

Tim 2026-06-05: the bracket-picker popups for teams and matches were
advertising full pages ("Full page →", "View match preview", "Open
full team page →", "Open full preview (Predict / H2H / Form / Lineup /
Stats) →") that don't exist yet as publishable surfaces. Users
clicking those landed on stub routes / 404-ish content, so Tim asked
to strip every one of them. The overlays themselves ARE the team /
match preview surface for now.

MatchOverlay:
* drop the header "Full page →" Link
* drop the footer "Open full preview (...)" Link
* drop the now-unused `Link` import + `fullPageHref` variable

TeamOverlay:
* drop the header "Full page →" Link
* drop the "View match preview" button under Next Match
  (the fixture rows below still open the MatchOverlay, so navigation
  between team + match overlays continues to work)
* drop the footer "Open full team page →" Link

`Link` stays imported in TeamOverlay for the team-not-found fallback
that links back to /world-cup-2026.

Signed-off-by: Tim Thomas <0800tim@gmail.com>
@0800tim 0800tim merged commit 2d41f6d into main Jun 5, 2026
11 of 12 checks passed
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

DRY-RUN — this verdict is informational; CI is not blocked.

Auto-triage: GREEN — auto-triage clear

Risk score: 0/100

Metric Value
Files changed 2
Lines added 14
Lines removed 69
Apps touched apps/web
New dependencies 0
New 3rd-party hosts 0

No flags raised by the automated scanners. A human reviewer will still take a look.

Labels applied: area:overlay, auto-triage:green

Posted by @vtorn/pr-triage-bot. How this works: docs/security/01-pr-triage-process.md. Disagree with the verdict? Comment /triage override <reason> and a maintainer will re-review.

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