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
{{ message }}
Repository navigation
Commit 2c1ecbb
Browse filesBrowse the repository at this point in the historyBrowse files
- Updated Palette Manager V2 workspace launches to load palette data from the normalized session key `workspace.tools.palette-manager-v2`.
5
+
- Palette edits now update `workspace.tools.palette-manager-v2.data.swatches`.
6
+
- Palette edits now mark `workspace.tools.palette-manager-v2.dirty` as:
7
+
-`isDirty: true`
8
+
-`reason: "palette-updated"`
9
+
-`changedAt`: current ISO timestamp
10
+
-`changedKeys`: palette field/path list for the edit.
11
+
- Updated Workspace Manager V2 hydration so valid existing tool sessions for the same selected game are preserved instead of overwritten with manifest defaults.
12
+
13
+
## Session Boundary
14
+
- Preserved the normalized per-tool shape:
15
+
-`schema`
16
+
-`workspace`
17
+
-`data`
18
+
-`dirty`
19
+
- Preserved `workspace.repo.reference` as the repo session reference key.
20
+
- Palette Manager V2 reads and writes only session storage for this handoff.
21
+
- Workspace Manager V2 hydrates defaults only when a tool session key is missing or invalid for the current selected game/context.
- Full samples smoke test was skipped by request. The changed surface is Workspace Manager V2 and Palette Manager V2 session launch/persistence behavior, covered by `npm run test:workspace-v2` and the targeted Palette Manager V2 launch persistence assertions.
-`npx playwright test tests/playwright/tools/WorkspaceManagerV2.spec.mjs --project=playwright --workers=1 --reporter=list -g "exports manifests and launches tools from fixed Workspace Manager V2 tiles"`
5
+
-`npm run test:workspace-v2`
6
+
7
+
## Results
8
+
- Focused launch persistence test: passed 1/1.
9
+
- Workspace Manager V2 suite: passed 16/16.
10
+
11
+
## Targeted Coverage
12
+
- Verified Palette Manager V2 launches from Workspace Manager V2 and loads the Asteroids palette from `workspace.tools.palette-manager-v2.data`.
13
+
- Verified a palette edit updates `workspace.tools.palette-manager-v2.data.swatches`.
14
+
- Verified the same edit marks `dirty.isDirty` true with `reason: "palette-updated"`, an ISO `changedAt`, and palette `changedKeys`.
15
+
- Verified returning to Workspace Manager V2 preserves the edited session data instead of overwriting it with manifest defaults.
16
+
- Verified reopening Palette Manager V2 shows the unsaved edited swatch from session storage.
17
+
- Verified Preview Generator V2 still launches and generates after the Palette Manager V2 persistence flow.
18
+
- Verified Session Inspector V2 Delete All behavior still clears displayed session entries through the Workspace Manager V2 suite.
19
+
20
+
## Skipped
21
+
- Full samples smoke test was skipped by request. The relevant session persistence, Workspace Manager V2 return, Palette Manager V2 reopen, Preview Generator V2 launch, and Session Inspector V2 reset paths are covered by `tests/playwright/tools/WorkspaceManagerV2.spec.mjs`.
0 commit comments