You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Aligned Workspace Context tile content to the top.
12
+
- Removed the self-launching Workspace Manager V2 tool tile from the Workspace Manager V2 tool launcher.
13
+
- Preserved temporary UAT mode on Return to Workspace by passing a launch-only `workspaceMode=uat` marker and returning to `?workspace=uat`.
14
+
15
+
## Tool Launch Notes
16
+
- Palette Manager V2 now reads the Workspace Manager V2 session manifest on workspace launch and imports `tools.palette-manager-v2.swatches` into the active user palette.
17
+
- Preview Generator V2 now hydrates workspace launch context by setting Repo selected display, Target Source `games`, asset folder from `assetsPath`, the active game path, and Status log hydration events.
18
+
- Preview Generator V2 loads Last Generated Image from `/games/<game>/assets/preview.svg` when that preview file is present.
19
+
- Asset Manager V2 launch guard now includes a Return to Tools button for unavailable/direct-launch states.
20
+
21
+
## Validation
22
+
- PASS: JS syntax checks for changed runtime and Playwright files.
23
+
- PASS: `npx playwright test tests/playwright/tools/AssetManagerV2.spec.mjs tests/playwright/tools/WorkspaceManagerV2.spec.mjs --project=playwright --workers=1 --reporter=list` completed with 17 passed tests.
24
+
- PASS: `npm run test:workspace-v2` completed with 24 passed tests.
25
+
- PASS: `git diff --check`.
26
+
- PASS: Scope check found no diffs under deprecated `tools/workspace-v2` or sample schema paths.
27
+
- SKIPPED: Full samples smoke test, per PR instructions. This PR is Workspace Manager V2 context/tool launch scoped.
28
+
29
+
## Manual Validation Notes
30
+
- Open `tools/workspace-manager-v2/index.html?workspace=uat`, seed UAT, launch Asset Manager V2, then Return to Workspace; the Workspace Manager URL should preserve `workspace=uat`.
31
+
- Load Asteroids in Workspace Manager V2; Tool tiles should omit Workspace Manager V2 and include Templates V2, Asset Manager V2, Palette Manager V2, and Preview Generator V2.
32
+
- Launch Palette Manager V2 from Workspace Manager V2; active workspace palette swatches should display in the user palette.
33
+
- Launch Preview Generator V2 from Workspace Manager V2; Repo selected, Target Source, asset folder, paths, Status log hydration, and existing preview image behavior should reflect the active workspace context.
34
+
- Direct-launch Asset Manager V2 unavailable state should show Return to Tools.
awaitexpect(page.locator("#assetLaunchGuardMessage")).toHaveText("Asset Manager V2 is only available through Workspace Manager with a game workspace and palette.");
145
145
awaitexpect(page.locator("#assetLaunchGuardReason")).toContainText("Launch context is missing.");
146
+
awaitexpect(page.locator("#assetLaunchGuardReturnToToolsButton")).toHaveText("Return to Tools");
awaitexpect(page.locator("#assetLaunchGuardMessage")).toHaveText("Asset Manager V2 is only available through Workspace Manager with a game workspace and palette.");
579
603
awaitexpect(page.locator("#assetLaunchGuardReason")).toContainText("Temporary workspace query launches are no longer supported; launch through Workspace Manager V2.");
604
+
awaitexpect(page.locator("#assetLaunchGuardReturnToToolsButton")).toHaveText("Return to Tools");
0 commit comments