Cursor prompt: Improve Entity Workspace (inspector)¶
Prerequisites¶
Read:
- [ ]
ui/ENTITY_EDITOR_SPEC.md - [ ] [ONTOUI.md](../WORKSPACE_RUNTIME.md`
Non-goals¶
- Full relationship cards v1.0
- OBO forms rewrite
Current state¶
- extension/webview-ui/src/panels/EntityInspector.tsx
- LSP getEntity via messages.ts
Tasks¶
- Read entity detail from WorkspaceStore focus when set
- Reduce duplicate getEntity calls when focus unchanged
- Wire PreviewApplyBar to store pending patch state (stub slice ok)
- Add/update EntityInspector.test.tsx for focus-driven load
Acceptance criteria¶
- [ ] Inspector uses store focus IRI
- [ ] Tests pass
- [ ] Preview flow unchanged functionally
Tests¶
cd extension/webview-ui && npm test
Do not¶
- Do not add new patch ops in TS