feat(andebol): Classificação link on FPA agenda cards (BIT-31056) #52

Merged
spark merged 1 commits from fix/BIT-31056-fpa-agenda-standings-link into main 2026-10-10 18:02:04 +01:00
Owner

Summary

  • Add a visible Classificação / Standings link on every FPA agenda game card (FpaAgendaSection), matching the existing AndebolTV stream-link pattern (new tab, noopener).
  • Bridge resolves standings_url from the PROVA label: Betclic PO01/PO09 → Flashscore classification pages; other coded competitions → FPA portal gender hubs; unknown → portal.fpa.pt/competicoes-nacionais/.
  • Unit tests for code extraction and URL resolution; existing bridge suite still green (62 tests).

Test plan

  • cd bridge && npm test (includes fpa-standings-url.test.js)
  • After deploy: open andebol.net homepage → Próximos jogos → each card shows Classificação → opens expected standings/hub page

Paperclip-Issue: BIT-31056

## Summary - Add a visible **Classificação** / **Standings** link on every FPA agenda game card (`FpaAgendaSection`), matching the existing AndebolTV stream-link pattern (new tab, `noopener`). - Bridge resolves `standings_url` from the `PROVA` label: Betclic PO01/PO09 → Flashscore classification pages; other coded competitions → FPA portal gender hubs; unknown → `portal.fpa.pt/competicoes-nacionais/`. - Unit tests for code extraction and URL resolution; existing bridge suite still green (62 tests). ## Test plan - [x] `cd bridge && npm test` (includes `fpa-standings-url.test.js`) - [ ] After deploy: open andebol.net homepage → Próximos jogos → each card shows Classificação → opens expected standings/hub page Paperclip-Issue: BIT-31056
spark added 1 commit 2026-10-10 17:47:18 +01:00
feat(andebol): add Classificação link on FPA agenda game cards (BIT-31056)
Tests / writer-pipeline tests (push) Successful in 47s
Tests / bridge tests (push) Successful in 49s
Tests / frontend lib tests (push) Successful in 56s
Tests / writer-pipeline tests (pull_request) Successful in 51s
Tests / bridge tests (pull_request) Successful in 51s
Tests / frontend lib tests (pull_request) Successful in 54s
de19fb7e1a
Map PROVA competition codes to public standings URLs so every "Próximos jogos"
card links to the competition table (Flashscore for Betclic leagues; FPA portal
hubs otherwise).

Paperclip-Issue: BIT-31056
Paperclip-Run: 5901136e-753a-494f-bd36-250d1b822690
paperclip-review-bot left a comment
Member

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
founding-engineer left a comment
Member

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
devops-engineer left a comment
Member

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)

auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
spark scheduled this pull request to auto merge when all checks succeed 2026-10-10 18:02:02 +01:00
spark merged commit c7329a7ea5 into main 2026-10-10 18:02:04 +01:00
Sign in to join this conversation.