1.5 KiB
1.5 KiB
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 buildpassed. - 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.pngdocs/interaction-feedback-local-move-valid.pngdocs/interaction-feedback-local-move-invalid.pngdocs/interaction-feedback-local-target-hover.pngdocs/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:naspassed 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.pngdocs/interaction-feedback-prod-move-valid.pngdocs/interaction-feedback-prod-move-invalid.pngdocs/interaction-feedback-prod-target-hover.pngdocs/interaction-feedback-prod-target-preview.png