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
- Did not recreate split `.schema` or `.state` per-tool session keys.
11
+
12
+
## Implementation Notes
13
+
-`StateControl` renders only the selected normalized tool object's top-level `state` section.
14
+
- When a selected entry has no top-level `state`, State shows an actionable empty state naming the selected storage entry.
15
+
- JSON still renders the full stored value for the selected tile.
16
+
- JSON and State accordions use the existing Session Inspector V2 accordion pattern and were validated alongside Controls, Filters, Entries, and Status.
17
+
- Per-tile Delete and Delete All behavior were preserved.
18
+
19
+
## Guardrails
20
+
- No cross-tool communication was added.
21
+
- Preview Generator V2 image generation behavior was not modified.
22
+
- Sample JSON was not modified.
23
+
- Roadmap content was not modified.
24
+
25
+
## Validation
26
+
- Passed `npm run test:workspace-v2` with 15/15 tests.
27
+
- Verified no Session Inspector V2 Schema control/label remains.
28
+
- Verified State control appears.
29
+
- Verified State shows only selected item `state`.
30
+
- Verified JSON shows the full selected item object.
31
+
- Verified JSON and State accordions open and close predictably.
32
+
- Verified Controls, Filters, Entries, and Status accordions still work.
- Verified old split `.schema` and `.state` tool keys are not recreated.
35
+
36
+
## Skipped
37
+
- Full samples smoke test was skipped because this PR is limited to the Session Inspector V2 JSON/State view and normalized Workspace V2 session-key validation. The requested targeted Workspace V2 Playwright suite covers the affected behavior.
awaitexpect(page.locator("#sessionInspectorV2SchemaOutput")).toContainText("No schema section is present for sessionStorage:session-inspector-v2-alpha.");
626
+
awaitexpect(page.locator("#sessionInspectorV2StateOutput")).toContainText("No state section is present for sessionStorage:session-inspector-v2-alpha.");
awaitexpect(page.locator("#sessionInspectorV2SchemaOutput")).toContainText("No schema section is present for sessionStorage:workspace.tools.no-schema-test.");
awaitexpect(page.locator("#sessionInspectorV2StateOutput")).toContainText("No state section is present for sessionStorage:workspace.tools.no-state-test.");
this.output.textContent=`No state section is present for ${entry.storageType}:${entry.key}. Select a normalized tool entry with a top-level state section.`;
0 commit comments