7.0 KiB
id, title, status, type, team, supporting_teams, roadmap_item, priority
| id | title | status | type | team | supporting_teams | roadmap_item | priority |
|---|---|---|---|---|---|---|---|
| TASK-265 | Publish map and clan image assets | done | frontend | Frontend Senior | foundation | high |
TASK-265 - Publish map and clan image assets
Goal
Publish the map and clan image assets that the public frontend is already trying to load, so production stops returning 404 for known image URLs such as /assets/img/maps/junobeach-day.webp.
Context
The frontend map resolver builds .webp paths under ./assets/img/maps/. Several resolver variants were present in the working tree but not yet tracked. The current landing clan list also references ./assets/img/clans/250hispania-shield.png.
This task is a publishing task only. It does not change frontend JavaScript, backend code, scheduler behavior, RCON configuration, server configuration, Elo/MMR, TeamKills or Comunidad Hispana #03.
Steps
- Audit pending map and clan image changes.
- Check frontend references for maps and clans.
- Confirm whether
250hispania.pngis still referenced. - Publish only scoped map/clan assets and related task docs.
- Validate the staged commit scope before committing.
Files to Read First
AGENTS.mdai/architecture-index.mdai/repo-context.mdai/orchestrator/frontend-senior.mdfrontend/assets/js/map-image-resolver.jsfrontend/assets/js/main.js
Expected Files to Modify
frontend/assets/img/maps/*.webpfrontend/assets/img/clans/250hispania-shield.pngfrontend/assets/img/clans/250hispania.pngai/tasks/done/TASK-263-fix-juno-beach-map-image-extension.mdai/tasks/done/TASK-265-publish-map-and-clan-image-assets.md
Constraints
- Do not execute
ai-platform run. - Do not touch backend, scheduler, RCON, port
27001, server configuration, TeamKills, Elo/MMR or Comunidad Hispana #03. - Do not touch
ai/system-metrics.md. - Do not include
tmp/. - Do not include
TASK-204orTASK-242. - Do not include
frontend/assets/img/weapons/orfrontend/assets/img/brands/. - Do not use
git add .. - Do not include unrelated prior changes.
Audit
Frontend map references:
frontend/historico-partida.htmlloads./assets/js/map-image-resolver.js.frontend/partida-actual.htmlloads./assets/js/map-image-resolver.js.frontend/assets/js/map-image-resolver.jsresolves map images to./assets/img/maps/${mapId}-${environment}.webpand./assets/img/maps/unknown-${environment}.webp.
Frontend clan references:
frontend/assets/js/main.jsreferences./assets/img/clans/250hispania-shield.png.- No frontend reference to
./assets/img/clans/250hispania.pngwas found.
Decision for 250hispania.png:
- Delete
frontend/assets/img/clans/250hispania.pngfrom the published set because the frontend now references250hispania-shield.pngand no remaining frontend references to the old filename were found. - Publish the modified
frontend/assets/img/clans/250hispania-shield.png.
Maps Added
42 new map assets were pending and should be published:
frontend/assets/img/maps/carentan-dusk.webpfrontend/assets/img/maps/carentan-night.webpfrontend/assets/img/maps/carentan-rain.webpfrontend/assets/img/maps/driel-dawn.webpfrontend/assets/img/maps/driel-night.webpfrontend/assets/img/maps/elalamein-dusk.webpfrontend/assets/img/maps/elsenbornridge-dawn.webpfrontend/assets/img/maps/elsenbornridge-dusk.webpfrontend/assets/img/maps/elsenbornridge-night.webpfrontend/assets/img/maps/foy-night.webpfrontend/assets/img/maps/hill400-dusk.webpfrontend/assets/img/maps/hill400-night.webpfrontend/assets/img/maps/hurtgenforest-night.webpfrontend/assets/img/maps/junobeach-dawn.webpfrontend/assets/img/maps/junobeach-day.webpfrontend/assets/img/maps/junobeach-night.webpfrontend/assets/img/maps/kharkov-night.webpfrontend/assets/img/maps/kursk-night.webpfrontend/assets/img/maps/main-menu.webpfrontend/assets/img/maps/mortain-dusk.webpfrontend/assets/img/maps/mortain-night.webpfrontend/assets/img/maps/mortain-overcast.webpfrontend/assets/img/maps/omahabeach-dusk.webpfrontend/assets/img/maps/purpleheartlane-dawn.webpfrontend/assets/img/maps/purpleheartlane-day.webpfrontend/assets/img/maps/purpleheartlane-night.webpfrontend/assets/img/maps/remagen-day.webpfrontend/assets/img/maps/remagen-night.webpfrontend/assets/img/maps/smolensk-dusk.webpfrontend/assets/img/maps/smolensk-night.webpfrontend/assets/img/maps/stalingrad-day.webpfrontend/assets/img/maps/stalingrad-dusk.webpfrontend/assets/img/maps/stalingrad-night.webpfrontend/assets/img/maps/stalingrad-overcast.webpfrontend/assets/img/maps/stmariedumont-night.webpfrontend/assets/img/maps/stmariedumont-rain.webpfrontend/assets/img/maps/stmereeglise-dawn.webpfrontend/assets/img/maps/stmereeglise-night.webpfrontend/assets/img/maps/tobruk-dusk.webpfrontend/assets/img/maps/unknown-day.webpfrontend/assets/img/maps/unknown.webpfrontend/assets/img/maps/utahbeach-night.webp
Clan Assets
Clan asset changes to publish:
- Modified:
frontend/assets/img/clans/250hispania-shield.png - Deleted:
frontend/assets/img/clans/250hispania.png
No other clan files were pending in the initial scoped status.
Validation
Pre-commit checks:
git status --short --untracked-files=all -- frontend/assets/img/maps frontend/assets/img/clansGet-ChildItem frontend/assets/img/maps -Recurse -Filter *.webpGet-ChildItem frontend/assets/img/clans -Recurse -Forcerg -n "assets/img/maps|junobeach-day\.webp|map-image-resolver|frontend/assets/js/map-image-resolver\.js" frontend -Srg -n "assets/img/clans|250hispania\.png|250hispania-shield\.png|clan|shield" frontend -STest-Path frontend/assets/img/maps/junobeach-day.webpGet-ChildItem frontend/assets/img/maps -Filter *.web- sample path checks for
junobeach-day.webp,junobeach-dawn.webp,junobeach-night.webp,stmariedumont-night.webp,purpleheartlane-day.webp,remagen-day.webp, andunknown.webp git diff --name-status -- frontend/assets/img/maps frontend/assets/img/clansgit diff --cached --name-only
Post-deploy public validation:
GET https://comunidadhll.devzamode.es/assets/img/maps/junobeach-day.webpshould return200.- Open
/partida-actual.html?server=comunidad-hispana-01and confirm map images no longer 404. - Open the landing page and confirm the 250 Hispania clan shield loads from
assets/img/clans/250hispania-shield.png.
Outcome
The scoped publish set includes only map assets, clan assets and related task documentation. Weapons, brands, backend, scheduler, RCON, server configuration, ai/system-metrics.md, tmp/, TASK-204 and TASK-242 are excluded.
TASK-263 is included because it directly documents the junobeach-day.webp extension fix included in this publish set.
Change Budget
This task intentionally exceeds the usual small file count because it publishes a batch of static binary assets required by existing frontend URLs. No code behavior changes are included.