3.6 KiB
3.6 KiB
id, title, status, type, team, supporting_teams, roadmap_item, priority
| id | title | status | type | team | supporting_teams | roadmap_item | priority |
|---|---|---|---|---|---|---|---|
| TASK-263 | Fix Juno Beach map image extension | done | frontend | Frontend Senior | foundation | medium |
TASK-263 - Fix Juno Beach map image extension
Goal
Ensure the Juno Beach day map image resolves to an existing .webp asset so /assets/img/maps/junobeach-day.webp stops returning 404 after deployment.
Context
The current match page can resolve Juno Beach day to:
./assets/img/maps/junobeach-day.webp
The reported filesystem mismatch was:
- existing incorrect file:
frontend/assets/img/maps/junobeach-day.web - expected file:
frontend/assets/img/maps/junobeach-day.webp
The map image resolver already emits .webp paths, so the scoped correction is the asset extension only.
Steps
- Read repository context and frontend role guidance.
- Inspect the map resolver and current match page references.
- Confirm the Juno Beach asset extension in
frontend/assets/img/maps. - Search for other
.webfiles in the maps directory. - Validate the task scope and document the result.
Files to Read First
AGENTS.mdai/architecture-index.mdai/repo-context.mdai/orchestrator/frontend-senior.mdfrontend/assets/js/map-image-resolver.jsfrontend/partida-actual.html
Expected Files to Modify
frontend/assets/img/maps/junobeach-day.web->frontend/assets/img/maps/junobeach-day.webpai/tasks/done/TASK-263-fix-juno-beach-map-image-extension.md
Constraints
- Do not change the map resolver unless necessary.
- Do not change JavaScript.
- Do not touch other maps unless more
.webfiles are detected infrontend/assets/img/maps. - Do not touch weapons, clans, brands or other assets.
- Do not touch backend, scheduler, RCON, TeamKills, server configuration, port
27001, Elo/MMR, Comunidad Hispana #03 orai/system-metrics.md. - Do not include
tmp/or unrelated prior changes. - Do not commit or push.
Validation
git status --short --untracked-files=all -- frontend/assets/img/mapsTest-Path frontend/assets/img/maps/junobeach-day.webpTest-Path frontend/assets/img/maps/junobeach-day.webGet-ChildItem frontend/assets/img/maps -Filter *.webgit diff --name-only
Outcome
At execution time, frontend/assets/img/maps/junobeach-day.web was already absent and frontend/assets/img/maps/junobeach-day.webp was present. No JavaScript or resolver changes were needed.
No other .web files were found under frontend/assets/img/maps.
Validation results:
git status --short --untracked-files=all -- frontend/assets/img/mapsshowed untracked map.webpassets already present in the worktree, includingfrontend/assets/img/maps/junobeach-day.webp.Test-Path frontend/assets/img/maps/junobeach-day.webpreturnedTrue.Test-Path frontend/assets/img/maps/junobeach-day.webreturnedFalse.Get-ChildItem frontend/assets/img/maps -Filter *.webreturned no files.git diff --name-onlyshowed only pre-existing tracked changes outside this task:ai/system-metrics.md,frontend/assets/img/clans/250hispania-shield.png, andfrontend/assets/img/clans/250hispania.png.
Deployment/browser validation remains to be performed after the asset changes are deployed:
GET https://comunidadhll.devzamode.es/assets/img/maps/junobeach-day.webpshould return200./partida-actual.html?server=comunidad-hispana-01should not log a 404 forjunobeach-day.webp.
Change Budget
- Modified files: 1 documentation file.
- Asset state confirmed in
frontend/assets/img/maps. - No backend, scheduler, RCON, server configuration or unrelated assets changed.