7.7 KiB
id, title, status, type, team, supporting_teams, roadmap_item, priority
| id | title | status | type | team | supporting_teams | roadmap_item | priority | ||
|---|---|---|---|---|---|---|---|---|---|
| TASK-138 | Polish RCON match detail final scoreboard UI | done | frontend | Experto en interfaz |
|
rcon-full-data | high |
TASK-138 - Polish RCON Match Detail Final Scoreboard UI
Goal
Perform a final focused visual polish pass on the historical RCON match detail page so it more closely resembles the public scoreboard style while preserving the HLL Vietnam dark tactical theme.
Context
The match detail page already renders the important RCON/materialized match data. The central result direction is good, but the page still needs a final scoreboard-style polish and removal of rough labels.
The user likes the central result:
- score
- map
- Warfare
- winner
The page should avoid implementation/source noise and should not expose event timeline, confidence/source/base, snapshot wording, Elo/MVP blocks or Comunidad Hispana #03.
Files to Read First
AGENTS.mdai/architecture-index.mdai/repo-context.mdai/orchestrator/frontend-senior.mdai/orchestrator/ui-expert.mdai/orchestrator/graphic-designer.mdfrontend/historico-partida.htmlfrontend/assets/js/historico-partida.js- relevant CSS used by
historico-partida.html
Expected Files to Modify
frontend/historico-partida.htmlfrontend/assets/js/historico-partida.js- relevant CSS used by
historico-partida.html - this task file when moving it from
ai/tasks/pendingtoai/tasks/done
If additional files are necessary, document why in the task outcome.
Implementation Requirements
- Work from a dedicated branch:
codex/task-138-final-scoreboard-polish. - Make the match detail page resemble the public scoreboard style more closely:
- large central score
- side labels left/right
- bigger faction icons
- map/mode/winner around the central score
- compact metadata below
- Remove
Partida RCON materializadafrom the hero subtitle. - Replace the hero subtitle with only the server name or server + match date if available.
- Keep
Datos disponiblesonly if it still makes sense. - If
Datos disponiblesno longer fits the polished direction, use a more scoreboard-like heading. - Ensure these are not visible:
ConfianzaFuenteBaseEventosLínea de tiempoMESSAGETEAM SWITCHCONNECTEDKILLMATCH STARTMATCH ENDsnapshot- Elo/MVP blocks
- Comunidad Hispana #03
- Preserve the player table.
- Preserve known match values for the Carentan detail page:
- Map:
Carentan - Score:
3 : 2 - Winner:
Aliados - Duration:
1 h 30 min - AntonioPruna: 1 kill, 0 deaths,
M1 GARAND - victim row:
death_byAntonioPruna
- Map:
- Keep visual consistency with the dark HLL Vietnam theme.
- Keep the layout responsive.
- Do not show implementation/debug text in the UI.
Constraints
- Keep the change small and focused.
- Preserve the dark HLL Vietnam visual identity.
- Do not introduce frameworks or dependencies.
- Do not modify backend unless a tiny presentation contract issue is strictly necessary and documented.
- Do not modify unrelated files.
- Do not add Elo/MVP blocks.
- Do not add Comunidad Hispana #03.
- Do not reintroduce event timeline, confidence/source/base cards or
snapshotwording.
Validation Commands
Run the relevant checks before marking this task done:
node --check frontend/assets/js/historico-partida.jsnode --check frontend/assets/js/historico.jsnode --check frontend/assets/js/historico-recent-live.jspython -m compileall backend/apppowershell -ExecutionPolicy Bypass -File scripts/run-integration-tests.ps1powershell -ExecutionPolicy Bypass -File scripts/run-rcon-data-pipeline-tests.ps1docker compose up -d --build backend frontendInvoke-WebRequest "http://localhost:8000/health" | Select-Object -ExpandProperty ContentInvoke-WebRequest "http://localhost:8000/api/historical/recent-matches?server=all-servers&limit=10" | Select-Object -ExpandProperty Content
Manual Verification
Open:
http://localhost:8080/historico.htmlhttp://localhost:8080/historico-partida.html?server=comunidad-hispana-02&match=comunidad-hispana-02%3A1779178461%3A1779183861%3Acarentanwarfare
Then hard refresh with Ctrl+F5 and verify:
- Score remains
3 : 2. - Winner remains
Aliados. - Map remains
Carentan. - Duration remains
1 h 30 min. - Hero does not show
Partida RCON materializada. - The scoreboard area has a large central score, left/right sides, larger faction icons, and compact metadata.
- AntonioPruna still shows 1 kill, 0 deaths,
M1 GARAND. - Victim row still shows
death_byAntonioPruna. - No timeline/events section is visible.
- No confidence/source/base cards are visible.
- No event labels such as
MESSAGE,TEAM SWITCH,CONNECTED,KILL,MATCH STARTorMATCH ENDappear. - No
snapshot, Elo/MVP block or Comunidad Hispana #03 appears. - Player table is preserved and readable.
- Layout remains responsive on desktop and mobile.
Git Requirements
- Use branch
codex/task-138-final-scoreboard-polish. - Move only this task from
ai/tasks/pendingtoai/tasks/donewhen complete. - Add
OutcomeandValidation Resultsections before completing the task. - Stage only intended files.
- Commit and push the branch.
- Final git status must be clean.
Outcome
- Replaced the hero subtitle with only the server name, removing RCON implementation wording from the visible hero.
- Renamed the main detail heading from
Datos disponiblestoMarcador final. - Increased the scoreboard score column and faction emblem sizing while preserving the left/right side layout, central score, map, mode, winner and compact metadata.
- Removed the unused hidden timeline markup from
frontend/historico-partida.htmlso event labels such asEventosandLinea de tiempoare no longer present in the match detail DOM. - Preserved the player table, map hero, safe scoreboard action behavior and existing HLL Vietnam dark tactical styling.
Validation Result
- PASS:
node --check frontend/assets/js/historico-partida.js - PASS:
node --check frontend/assets/js/historico.js - PASS:
node --check frontend/assets/js/historico-recent-live.js - PASS:
python -m compileall backend/app - PASS:
powershell -ExecutionPolicy Bypass -File scripts/run-integration-tests.ps1 - PASS:
powershell -ExecutionPolicy Bypass -File scripts/run-rcon-data-pipeline-tests.ps1- Note: the script completed successfully but emitted existing
ResourceWarningmessages from backend unittest sqlite connections.
- Note: the script completed successfully but emitted existing
- PASS:
docker compose up -d --build backend frontend - PASS:
Invoke-WebRequest "http://localhost:8000/health" | Select-Object -ExpandProperty Content - PASS:
Invoke-WebRequest "http://localhost:8000/api/historical/recent-matches?server=all-servers&limit=10" | Select-Object -ExpandProperty Content - Manual/rendered verification: Browser plugin was listed, but the required Node runtime tool was not exposed in this session; used local Chrome headless fallback.
- Verified rendered DOM contains
Marcador final,3 : 2,Ganador: Aliados,Carentan,1 h 30 min,AntonioPrunaandM1 GARAND. - Verified rendered DOM does not include
Partida RCON materializada,Confianza,Fuente,Base,Eventos,Linea de tiempo, event labels,snapshot, Elo/MVP blocks or Comunidad Hispana #03. - Captured screenshots outside the repository at
C:\Temp\task-138-match-detail-final.png,C:\Temp\task-138-match-detail-mobile-final.pngandC:\Temp\task-138-match-detail-mobile-score-final.png.
- Verified rendered DOM contains
Change Budget
- Prefer fewer than 5 modified files.
- Prefer changes under 200 lines when feasible.
- Split follow-up work into separate tasks if scope grows.