3.1 KiB
id, title, status, type, team, supporting_teams, roadmap_item, priority
| id | title | status | type | team | supporting_teams | roadmap_item | priority | |
|---|---|---|---|---|---|---|---|---|
| TASK-139 | Align recent match cards | done | frontend | Frontend Senior |
|
foundation | medium |
TASK-139 - Align recent match cards
Goal
Make the recent match cards in historico.html use consistent metadata columns and a right-aligned action area across static and dynamic renderers.
Context
The recent matches list should stay compact and clean while preserving the HLL Vietnam dark tactical theme. It must not show raw match IDs, internal status/source/debug text, or the public scoreboard action in the list. The public scoreboard link remains available on the match detail page.
Steps
- Inspect the listed files first.
- Normalize the static and dynamic recent card markup.
- Use CSS grid for deterministic metadata/action alignment.
- Validate with syntax checks and the requested Docker frontend checks.
Files to Read First
ai/architecture-index.mdai/repo-context.mdai/orchestrator/frontend-senior.mdfrontend/historico.htmlfrontend/assets/js/historico.jsfrontend/assets/js/historico-recent-live.jsfrontend/assets/css/historico.css
Expected Files to Modify
frontend/assets/js/historico.jsfrontend/assets/js/historico-recent-live.jsfrontend/assets/css/historico.cssai/tasks/done/TASK-139-align-recent-match-cards.md
Constraints
- Keep the change minimal.
- Preserve the HLL Vietnam visual identity.
- Do not introduce frameworks or backend changes.
- Do not alter detail page scoreboard link behavior.
- Do not remove
match_urlsupport.
Validation
node --check frontend/assets/js/historico-recent-live.jsnode --check frontend/assets/js/historico.jsnode --check frontend/assets/js/historico-partida.jsdocker compose build --no-cache frontenddocker compose up -d frontend- Manual verification on
http://localhost:8080/historico.html?nocache=alignment
Outcome
Implemented a shared clean recent-card structure for the static snapshot renderer and dynamic live renderer. The recent list now shows only map title, Servidor, Cierre, Jugadores, Marcador and right-aligned actions. The public scoreboard action keeps its match_url link in markup with a recent-list-only hidden class, while the detail page scoreboard action remains visible.
Validation completed:
node --check frontend/assets/js/historico-recent-live.jsnode --check frontend/assets/js/historico.jsnode --check frontend/assets/js/historico-partida.jsdocker compose build --no-cache frontenddocker compose up -d frontend- Browser verification on
http://localhost:8080/historico.html?nocache=alignment - Browser verification on the supplied
historico-partida.htmldetail URL
Manual verification found 13 recent cards, 13 visible Ver detalles links, zero visible Ver partida links in the recent list, no forbidden internal/debug text in the recent list, 0px column spread across all desktop metadata columns, and a visible public scoreboard link on the detail page.
Change Budget
- Prefer fewer than 5 modified files.
- Prefer changes under 200 lines when feasible.