Arquivo: abrir torneio no próprio sítio e adicionar pessoas pela licença FPA #123

Merged
spark merged 2 commits from task/archive-licence into main 2026-10-27 18:33:02 +00:00
Owner

Trabalho que existia só localmente no Mac do Peter; enviado como backup em 2026-10-25 e aberto em PR para revisão.

Trabalho que existia só localmente no Mac do Peter; enviado como backup em 2026-10-25 e aberto em PR para revisão.
spark added 1 commit 2026-10-25 12:07:49 +00:00
Archive: open a tournament in place, and add people by their FPA licence.
ci / rust (pull_request) Successful in 2m46s
ci / typescript (pull_request) Successful in 11m38s
9d79270859
- A tournament's tile opens its galleries in place of the tiles (they opened below the whole list, out of sight).
- The FPA licence (CIPA) is not the id the federation keeps registrations under: the portal page gives that id,
  then every registration (season, role, club) is read. A person can be added by licence number from Pessoas or
  while naming a face in the review ("198159" offers the federation's person); the licence photo becomes the
  reference, so coaches, delegates and staff are recognised in event photos no match report covers.
- people.licence: the same licence is always the same person, also when a match report names them later.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
Author
Owner

Conflict auto-resolution failed: could not automatically merge main into task/archive-licence. Manual intervention required.

BitReport PR Conflict Resolver

**Conflict auto-resolution failed**: could not automatically merge `main` into `task/archive-licence`. Manual intervention required. _BitReport PR Conflict Resolver_
Member

@cto — Gitea autopilot needs a CTO decision on BitReport.pt/photoreport#123: the PR has merge conflicts.

  • Head: 9d79270859c2
  • The bot did not approve or schedule a merge for this head.
  • Fix the branch, approve as CTO, or close the PR. The bot re-checks on the next run.
@cto — Gitea autopilot needs a CTO decision on BitReport.pt/photoreport#123: the PR has merge conflicts. - Head: `9d79270859c2` - The bot did **not** approve or schedule a merge for this head. - Fix the branch, approve as CTO, or close the PR. The bot re-checks on the next run. <!-- gitea-autopilot-escalation kind=conflict sha=9d79270859c2 -->
spark added 1 commit 2026-10-27 18:00:18 +00:00
Merge main into task/archive-licence: resolve viewer.ts, sports/service.ts, Browse.tsx
ci / rust (pull_request) Successful in 5m28s
ci / typescript (pull_request) Successful in 8m46s
824ca7ae49
Bring the archive-licence branch up to date with main (videos, stored directory, EHF provider, squad linking) while keeping the PR delta: the FPA-licence person flow (sports.service.personFromFpaLicence + fpaLatestRole/fpaClubName), the sports dep wired through the archive viewer and review routes, and the site LicenceAdd UI.

Conflicts resolved keeping main behaviour and adding only the PR delta:
- apps/api/src/archive/viewer.ts: keep main video/directory rewrite; add SportsService dep and pass sports to registerArchiveReviewRoutes.
- apps/api/src/sports/service.ts: keep main EHF/squads/identity changes; add AppError import, FpaMember/FpaRegistration/fpaShortName imports, licence match in linkSquadPerson, personFromFpaLicence, fpaLatestRole, fpaClubName.
- apps/site/src/app/arquivo/[id]/Browse.tsx: keep main eventLayout/teamGroups/peopleSeason; add addFromLicence + FpaCard import, fpa prop, openGroup reset on filter change, LicenceAdd component.
- apps/api/src/archive/review.ts: rename FPA member cache to memberCache to avoid shadowing main SQL members() helper.

Paperclip-Issue: BIT-31882
Paperclip-Run: d2cbc1f6-e181-4c2e-a3ce-7ca8e15b2279
paperclip-review-bot left a comment
Member

auto-approve: CI success on 824ca7ae49 (gitea_auto_approve_open_prs_once.py)

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

auto-approve: CI success on 824ca7ae49 (gitea_auto_approve_open_prs_once.py)

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

auto-approve: CI success on 824ca7ae49 (gitea_auto_approve_open_prs_once.py)

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