1.8 KiB
1.8 KiB
id, title, status, type, team, supporting_teams, roadmap_item, priority
| id | title | status | type | team | supporting_teams | roadmap_item | priority | |
|---|---|---|---|---|---|---|---|---|
| TASK-236 | Remove weapon icons from historical match detail | done | frontend | Frontend Senior |
|
foundation | low |
TASK-236 - Remove weapon icons from historical match detail
Goal
Remove weapon icon rendering from historico-partida.html while keeping the textual player-detail stats intact.
Context
The historical match detail page was loading current-match-weapon-icons.js and rendering weapon images inside the expanded player panel for Armas, Mas abatido and Muere por. The requirement for this page is text-only historical detail.
Files Read First
frontend/historico-partida.htmlfrontend/assets/js/historico-partida.jsfrontend/assets/css/historico.cssfrontend/partida-actual.html
Changes
- Removed the
current-match-weapon-icons.jsscript include fromfrontend/historico-partida.html. - Removed historical weapon icon rendering from
frontend/assets/js/historico-partida.js. - Kept textual name and count rendering for weapon-related sections.
- Removed now-unused historical weapon icon CSS from
frontend/assets/css/historico.css. - Kept live current-match weapon icons untouched because they belong to
partida-actual.html.
Validation
node --check frontend/assets/js/historico-partida.js- Confirmed
historico-partida.htmlno longer loadscurrent-match-weapon-icons.js. - Confirmed the historical player detail still renders
Armas,Mas abatidoandMuere poras text-only lists. - Confirmed no SVG, weapon asset, clan asset or physical image file was modified.
Outcome
The historical match detail page no longer renders weapon images at any point, but it preserves the textual stats and expandable player detail workflow.