docs(@projects): update hotkey sheet spec alignment

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Natalie 2026-04-17 08:25:25 -07:00
parent def09d15e6
commit 0c7bf51fc8

View file

@ -76,12 +76,16 @@ into world_map HUD via `_mount_hud_overlays()`.
`test_ui_help_action_opens_sheet` asserting
`InputMap.has_action("ui_help")` and the action routing through
`_unhandled_input`.
- ✓ Overlay lists all bindings grouped by context (Map / City /
Combat / Menus) — delivered as 4 groups (World Map / Map Overlays /
Menus & Panels / Turn Actions). City and Combat contexts don't yet
have hotkeys (no city-screen keybinds; combat is mouse-driven), so
the spec's "City" and "Combat" columns are absent; when those
surfaces grow keybinds, append to `BINDINGS` in `hotkey_sheet.gd`.
- ✗ Overlay lists all bindings grouped by context (Map / City /
Combat / Menus). Shipped groups are "World Map / Map Overlays /
Menus & Panels / Turn Actions" — names differ from the spec and
"City" + "Combat" groups are absent (those surfaces have no
hotkeys yet). This bullet needs either the spec's exact group
set OR user sign-off to renegotiate.
- ✗ Bindings sourced dynamically from `InputMap.get_actions()` per
spec. Shipped: hardcoded `const BINDINGS` table in
`hotkey_sheet.gd`. Cannot flip ✓ as specified without migrating
all existing keycode-literal handlers to InputMap actions first.
- ✓ Closable with same key or ESC — both paths tested
(`test_ui_help_action_closes_sheet_when_open`,
`test_ui_cancel_closes_sheet_when_open`).