Skip to content

Commit 537728a

Browse files
author
DavidQ
committed
Remove Asset Manager V2 keyboard navigation - PR_26126_104-asset-manager-v2-remove-keyboard-navigation
1 parent fbf49c1 commit 537728a

15 files changed

Lines changed: 480 additions & 456 deletions

docs/dev/reports/PR_26126_101_asset_manager_v2_keyboard_navigation_notes.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/dev/reports/PR_26126_101_asset_manager_v2_manual_validation_notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- `docs/dev/reports/playwright_v8_coverage_report.txt` was regenerated by the required workspace-v2 validation run.
1616

1717
## Manual Checks Covered By Tests
18-
- Arrow-key adjacent tile selection updates selected tile, Selected Asset Detail, preview, and keyboard focus.
18+
- Asset tile keyboard navigation from this historical report was removed by PR_26126_104; Asset Manager V2 asset selection is click/tap driven only.
1919
- Selected color swatch gets a visible white selected border on the button and inner swatch.
2020
- Valid imported JSON still loads when referenced files are missing.
2121
- Missing referenced files are logged to Status with asset ID and path.

docs/dev/reports/PR_26126_102_asset_manager_v2_keyboard_navigation_notes.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

docs/dev/reports/PR_26126_102_asset_manager_v2_manual_validation_notes.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,5 @@
1717
- Missing referenced files remain Status warnings with asset ID and path.
1818
- Missing referenced files do not fail otherwise valid imported JSON.
1919
- Missing file asset tiles render red `type:role` text.
20-
- Arrow keys work from a focused tile button and the Assets list.
21-
- Home, End, PageUp, PageDown, and Enter fallback navigation works where appropriate.
22-
- Keyboard selection updates selected tile styling, Selected Asset Detail, preview, and focus.
20+
- Asset tile keyboard navigation from this historical report was removed by PR_26126_104; Asset Manager V2 asset selection is click/tap driven only.
2321
- Sample JSON files were not modified.

docs/dev/reports/PR_26126_103_asset_manager_v2_manual_validation_notes.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88

99
## Results
1010
- `npm run test:workspace-v2` passed 12/12 Playwright tests.
11-
- Asset Manager V2 tool-mode validation covers WASD tile navigation from selected tile focus and Assets list focus.
12-
- Selection, Selected Asset Detail, and preview update after WASD navigation.
13-
- WASD handled key events are verified as default-prevented.
14-
- Arrow/Home/Page/Enter asset navigation handling was removed from Asset Manager V2.
11+
- PR_26126_104 superseded the asset navigation behavior from this historical report.
12+
- Asset Manager V2 asset selection is click/tap driven only after PR_26126_104.
1513
- Missing-file tile and Status warning behavior remains covered.
1614
- No sample JSON was modified.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# PR_26126_103 Scope Cleanup Notes
22

33
## PreviewGeneratorV2Baseline Review
4-
- `tests/playwright/PreviewGeneratorV2Baseline.spec.mjs` was changed in PR_26126_101 and PR_26126_102 to cover Asset Manager V2 asset tile keyboard selection and missing-file tile warnings.
4+
- `tests/playwright/PreviewGeneratorV2Baseline.spec.mjs` was changed in PR_26126_101 and PR_26126_102 to cover Asset Manager V2 asset tile selection and missing-file tile warnings.
55
- The file is still the exact test target for `npm run test:workspace-v2`, so Asset Manager V2 validation remains in this spec for the current repository test layout.
66
- No Preview Generator V2 runtime dependency requires this file to stay changed. The remaining changes are limited to the Asset Manager V2 sections of the workspace-v2 baseline validation.
77

88
## Cleanup Applied
9-
- Removed the prior ArrowLeft, ArrowRight, ArrowUp, ArrowDown, Home, End, PageUp, PageDown, and Enter asset navigation expectations.
10-
- Replaced them with WASD-only Asset Manager V2 navigation coverage.
9+
- PR_26126_104 superseded this cleanup by removing all Asset Manager V2 asset keyboard navigation coverage.
10+
- Asset Manager V2 asset selection is click/tap driven only after PR_26126_104.
1111
- Kept the missing-file tile assertions because they validate Asset Manager V2 behavior from PR_26126_102 and are not Preview Generator behavior.
1212
- Did not modify sample JSON.

docs/dev/reports/PR_26126_103_asset_manager_v2_wasd_navigation_notes.md

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# PR_26126_104 Keyboard Removal Notes
2+
3+
## Removed Behavior
4+
- Asset Manager V2 no longer registers an Assets list `keydown` handler.
5+
- WASD asset navigation helpers were removed.
6+
- ArrowLeft, ArrowRight, ArrowUp, ArrowDown, Home, End, PageUp, PageDown, and Enter asset navigation handling was removed.
7+
- Asset tile buttons are not in the tab order.
8+
- Keyboard-generated click events are ignored for asset selection.
9+
10+
## Preserved Behavior
11+
- Mouse/click/tap selection still calls the existing Asset Manager V2 selection callback.
12+
- Selected tile styling, Selected Asset Detail, and asset preview remain synchronized after click selection.
13+
- Missing-file tile styling and Status warning behavior remain unchanged.
14+
15+
## Report Cleanup
16+
- Removed the PR_26126_101, PR_26126_102, and PR_26126_103 keyboard-navigation note files that described asset keyboard navigation as present.
17+
- Updated related historical manual/scope notes so they no longer claim Asset Manager V2 has keyboard asset navigation.
18+
- No sample JSON was modified.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# PR_26126_104 Manual Validation Notes
2+
3+
## Commands
4+
- `node --check tools/asset-manager-v2/js/controls/AssetCatalogControl.js`
5+
- `node --check tests/playwright/PreviewGeneratorV2Baseline.spec.mjs`
6+
- `npm run test:workspace-v2`
7+
- `git diff --check`
8+
9+
## Results
10+
- `npm run test:workspace-v2` passed 12/12 Playwright tests.
11+
- Playwright validates Asset Manager V2 has no list/tab tile navigation hooks.
12+
- Playwright validates W, A, S, D, ArrowLeft, ArrowRight, ArrowUp, ArrowDown, Home, End, PageUp, PageDown, and Enter do not change the selected asset.
13+
- Playwright validates mouse click selection still updates the selected tile, Selected Asset Detail, and preview.
14+
- JavaScript syntax checks passed for the changed Asset Manager V2 control and workspace-v2 Playwright spec.
15+
- No sample JSON was modified.
Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,32 @@
11
# git status --short
2-
M docs/dev/reports/coverage_changed_js_guardrail.txt
2+
D docs/dev/reports/PR_26126_101_asset_manager_v2_keyboard_navigation_notes.md
3+
M docs/dev/reports/PR_26126_101_asset_manager_v2_manual_validation_notes.md
4+
D docs/dev/reports/PR_26126_102_asset_manager_v2_keyboard_navigation_notes.md
5+
M docs/dev/reports/PR_26126_102_asset_manager_v2_manual_validation_notes.md
6+
M docs/dev/reports/PR_26126_103_asset_manager_v2_manual_validation_notes.md
7+
M docs/dev/reports/PR_26126_103_asset_manager_v2_scope_cleanup_notes.md
8+
D docs/dev/reports/PR_26126_103_asset_manager_v2_wasd_navigation_notes.md
9+
M docs/dev/reports/coverage_changed_js_guardrail.txt
310
M docs/dev/reports/playwright_v8_coverage_report.txt
411
M tests/playwright/PreviewGeneratorV2Baseline.spec.mjs
512
M tools/asset-manager-v2/js/controls/AssetCatalogControl.js
6-
?? docs/dev/reports/PR_26126_103_asset_manager_v2_manual_validation_notes.md
7-
?? docs/dev/reports/PR_26126_103_asset_manager_v2_scope_cleanup_notes.md
8-
?? docs/dev/reports/PR_26126_103_asset_manager_v2_wasd_navigation_notes.md
13+
?? docs/dev/reports/PR_26126_104_asset_manager_v2_keyboard_removal_notes.md
14+
?? docs/dev/reports/PR_26126_104_asset_manager_v2_manual_validation_notes.md
915

1016
# git ls-files --others --exclude-standard
11-
docs/dev/reports/PR_26126_103_asset_manager_v2_manual_validation_notes.md
12-
docs/dev/reports/PR_26126_103_asset_manager_v2_scope_cleanup_notes.md
13-
docs/dev/reports/PR_26126_103_asset_manager_v2_wasd_navigation_notes.md
17+
docs/dev/reports/PR_26126_104_asset_manager_v2_keyboard_removal_notes.md
18+
docs/dev/reports/PR_26126_104_asset_manager_v2_manual_validation_notes.md
1419

1520
# git diff --stat
16-
docs/dev/reports/coverage_changed_js_guardrail.txt | 3 +-
17-
docs/dev/reports/playwright_v8_coverage_report.txt | 10 ++--
18-
.../playwright/PreviewGeneratorV2Baseline.spec.mjs | 54 ++++++++++++----------
19-
.../js/controls/AssetCatalogControl.js | 52 ++++++++++++++-------
20-
4 files changed, 71 insertions(+), 48 deletions(-)
21+
...1_asset_manager_v2_keyboard_navigation_notes.md | 17 ----
22+
...101_asset_manager_v2_manual_validation_notes.md | 2 +-
23+
...2_asset_manager_v2_keyboard_navigation_notes.md | 26 ------
24+
...102_asset_manager_v2_manual_validation_notes.md | 4 +-
25+
...103_asset_manager_v2_manual_validation_notes.md | 6 +-
26+
...126_103_asset_manager_v2_scope_cleanup_notes.md | 6 +-
27+
...6_103_asset_manager_v2_wasd_navigation_notes.md | 17 ----
28+
docs/dev/reports/coverage_changed_js_guardrail.txt | 3 +-
29+
docs/dev/reports/playwright_v8_coverage_report.txt | 8 +-
30+
.../playwright/PreviewGeneratorV2Baseline.spec.mjs | 57 ++++-------
31+
.../js/controls/AssetCatalogControl.js | 104 ++-------------------
32+
11 files changed, 36 insertions(+), 214 deletions(-)

0 commit comments

Comments
 (0)