Skip to content

Commit 452f653

Browse files
author
DavidQ
committed
Load Asteroids game manifest in Workspace Manager V2 and restore workspace return flow - PR_26126_117-workspace-manager-v2-game-manifest-load-and-return
1 parent c7f8cfa commit 452f653

13 files changed

Lines changed: 373 additions & 350 deletions
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# PR_26126_117 Asteroids Manifest Upgrade Notes
2+
3+
- Upgraded `games/Asteroids/game.manifest.json` from the older game-manifest wrapper into the current V2 `workspace-manifest` shape.
4+
- The Asteroids manifest now validates against `tools/schemas/workspace.manifest.schema.json`.
5+
- Replaced old `tools.asset-browser` with `tools.asset-manager-v2`.
6+
- Replaced old `tools.palette-browser` with `tools.palette-manager-v2`.
7+
- Preserved the Asteroids palette as a direct Palette Manager V2 payload.
8+
- Migrated the existing Asteroids audio, font, background, and bezel assets into schema-valid Asset Manager V2 records.
9+
- Kept paths relative to `games/Asteroids/assets` via `assets/...` paths for preview resolution.
10+
- Deprecated `tools/workspace-v2` and sample JSON were not modified.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# PR_26126_117 Manifest Validation Notes
2+
3+
- Workspace Manager V2 now loads `games/Asteroids/game.manifest.json` as the source-of-truth manifest for Asteroids.
4+
- Workspace Manager V2 validates the loaded manifest before display, launch, and save/export.
5+
- Save/export revalidates the active manifest and blocks on exact schema failures.
6+
- Asset Manager V2 launch uses the loaded manifest from sessionStorage instead of a recreated context.
7+
- `tools/schemas/tools/asset-manager-v2.schema.json` now defines required payload metadata for workspace manifest payloads:
8+
- `schema`
9+
- `version`
10+
- `name`
11+
- `source`
12+
- `assets`
13+
- The Workspace Manager V2 Playwright coverage verifies the saved manifest equals the loaded Asteroids manifest.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# PR_26126_117 Manual Validation Notes
2+
3+
- `npm run test:workspace-v2`: PASS, 20 tests.
4+
- Verified Asteroids manifest loads from `games/Asteroids/game.manifest.json`.
5+
- Verified Asteroids manifest schema compliance before display, launch, and Save.
6+
- Verified Asset Manager V2 launches from the loaded Asteroids manifest context.
7+
- Verified Asset Manager V2 loads 13 schema-valid Asteroids assets from `tools.asset-manager-v2.assets`.
8+
- Verified Return to Workspace restores the Asteroids workspace from session context.
9+
- Verified Save exports the currently loaded schema-valid manifest.
10+
- Verified no changes to deprecated `tools/workspace-v2`.
11+
- Verified no sample JSON changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# PR_26126_117 Return To Workspace Notes
2+
3+
- Asset Manager V2 `Return to Workspace` now includes the active `hostContextId` when navigating back to Workspace Manager V2.
4+
- Workspace Manager V2 restores the active game from sessionStorage when `hostContextId` is present.
5+
- Restored sessions repopulate the Asteroids selector, palette summary, asset registry summary, manifest JSON output, launch button, and Save button.
6+
- Return no longer opens an empty/default Workspace Manager V2 page after Asset Manager V2 launch.

0 commit comments

Comments
 (0)