The worker writes archive_team_sides and rewrites it only when a gallery is matched again, a club alias changes, or a known team's name, code or slug changes.
GET /directory and the gallery team filter only read that table, limited to folders the viewer can see. Until the first write, the page keeps loading (ready: false) instead of failing.
Removed the Equipas sentence "Cada equipa aparece uma vez...".
A viewer who cannot see a folder does not get that folder's teams
Closes the teams half of the archive directory.
## Summary
- The worker writes `archive_team_sides` and rewrites it only when a gallery is matched again, a club alias changes, or a known team's name, code or slug changes.
- `GET /directory` and the gallery team filter only read that table, limited to folders the viewer can see. Until the first write, the page keeps loading (`ready: false`) instead of failing.
- Removed the Equipas sentence "Cada equipa aparece uma vez...".
## Test plan
- [ ] CI `pnpm -r test` (archive directory test)
- [ ] After deploy, hard-reload Equipas on https://ligaportugal.photoreport.pt/?t=equipas: teams appear, the helper sentence is gone, opening a team still filters the games
- [ ] A viewer who cannot see a folder does not get that folder's teams
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes the teams half of the archive directory.
Summary
archive_team_sidesand rewrites it only when a gallery is matched again, a club alias changes, or a known team's name, code or slug changes.GET /directoryand the gallery team filter only read that table, limited to folders the viewer can see. Until the first write, the page keeps loading (ready: false) instead of failing.Test plan
pnpm -r test(archive directory test)auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
auto-approve: CI success (gitea_auto_approve_open_prs_once.py)
auto-approve: CI success (gitea_auto_approve_open_prs_once.py)