Polish battle interaction feedback

This commit is contained in:
2026-07-03 20:42:39 +09:00
parent 3c65e71c67
commit d7bfdfb508
12 changed files with 301 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
# Battle Interaction Feedback Verification
Date: 2026-07-03
## Scope
- Added tile-centered pointer feedback for idle unit hover, movement selection, and attack/support targeting.
- Kept the previous tile/foot-based click model intact.
- Avoided unit bases, selection rings, and large badges over unit sprites.
- Used thin tile highlights plus a compact side-panel hint line.
## Local Verification
- URL: `http://127.0.0.1:4194/heros_web/?debug&debugBattleSetup=attack-preview&v=interaction-feedback-local2`
- Build: `pnpm build` passed.
- Checked unit hover, valid movement tile, invalid occupied tile, attack command menu, target hover, and target preview.
- Console errors: 0.
Screenshots:
- `docs/interaction-feedback-local-unit-hover.png`
- `docs/interaction-feedback-local-move-valid.png`
- `docs/interaction-feedback-local-move-invalid.png`
- `docs/interaction-feedback-local-target-hover.png`
- `docs/interaction-feedback-local-target-preview.png`
## Deployed Verification
- URL: `https://comtropy.synology.me/heros_web/?debug&debugBattleSetup=attack-preview&v=interaction-feedback-20260703`
- Deploy: `pnpm deploy:nas` passed and deployed to `/volume1/web/heros_web`.
- Checked the same unit hover, movement selection, and target selection flow on the deployed site.
- Console errors: 0.
Screenshots:
- `docs/interaction-feedback-prod-unit-hover.png`
- `docs/interaction-feedback-prod-move-valid.png`
- `docs/interaction-feedback-prod-move-invalid.png`
- `docs/interaction-feedback-prod-target-hover.png`
- `docs/interaction-feedback-prod-target-preview.png`