1
0
Fork 0
Code Issues Pull requests Projects Releases 2 Packages Wiki Activity Actions Pages

Add modal graph node inspection

This commit is contained in:
Andraxion 2026-07-24 21:01:53 -04:00
parent 5f3d938adc
commit 4c82e1643d
13 changed files with 179 additions and 25 deletions

View file

@ -1,12 +1,12 @@
# Active slice
```text
Slice: DFG-11 graph viewport navigation (complete)
Goal: Make dense DocForge node neighborhoods navigable without changing their graph data or authority boundary.
In scope: Pointer-centered mouse-wheel zoom; left-button drag pan; explicit zoom-in, zoom-out, and reset controls; a live zoom percentage; a drag threshold that preserves node clicks; viewport reset when a new root loads; responsive styling; focused HTML interaction-contract checks; JavaScript syntax validation; and complete regression verification.
Out of scope: Graph mutation; node reposition persistence; alternate layouts; minimaps; touch gestures beyond pointer-event compatibility; arbitrary templates; external hosting; canonical writes; or any new HTTP endpoint.
Done when: Users can zoom and pan the SVG canvas, ordinary node clicks still navigate, controls remain discoverable and keyboard-operable, the HTTP surface is unchanged, and the complete DocForge gate passes.
Owners: DocForge owns the viewport state and controls. The configured project continues to own graph facts. The MCP process continues to own the snapshot and listener lifetime.
Slice: DFG-12 modal node inspection (complete)
Goal: Let users inspect any visible graph node without losing their current neighborhood or viewport.
In scope: A native modal dialog; full node metadata and content; mouse and keyboard activation; Escape, close-button, and backdrop dismissal; an explicit Explore neighborhood action; interaction-contract checks; JavaScript syntax validation; and complete regression verification.
Out of scope: Graph mutation; source editing; persisted modal state; nested dialogs; arbitrary templates; external hosting; canonical writes; or any new HTTP endpoint.
Done when: Activating a graph node opens an accessible inspection dialog, dismissing it preserves the current graph, explicit exploration loads the selected neighborhood, and the complete DocForge gate passes.
Owners: DocForge owns dialog state and interaction. The configured project continues to own graph facts. The MCP process continues to own the validated snapshot and listener lifetime.
```
**Next gate:** None planned. Measure actual graph-browser use before extending layout, export,