feat: 修复 7 个 Gap — 图分组布局、status 映射、详情面板丰富等 #2

Open
openclaw wants to merge 11 commits from feat/v2-fix-gaps into feat/full-implementation

11 Commits

Author SHA1 Message Date
f7f54a56cc feat(graph): add back-to-panorama button, legend component, and wire detail panel props (GAP-F3, GAP-F4)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 09:03:48 +00:00
ca9f199d53 feat(graph): add parent field to GraphNode TypeScript interface
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 08:58:39 +00:00
aa8d495a92 feat(graph): group-partitioned layout with document view toggle (GAP-F1)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 08:57:08 +00:00
846242ae1a feat(graph): rich detail panel with API fetch and edit button (GAP-F2, GAP-F5)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 08:56:03 +00:00
e386a59336 feat(graph): pass design_dir from router to build_panorama
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 08:30:27 +00:00
50e38c64a6 feat(graph): add document nodes, parent refs, and fixed doc edges (GAP-B3)
- Create document nodes from scan_result.design_documents with type="document" and group_id="cross-layer"
- Set parent field on entity nodes (capability/module/entity/runtime_component) pointing to their containing document via directory-based lookup
- Replace dead-code Step 9 with path-based resolution of downstream refs and edge deduplication
- Add helper functions _to_rel_path and _resolve_ref_path for absolute→relative path conversion and ../  resolution

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 08:27:06 +00:00
4d70df76fc feat(graph): map node status from FileStatus via source_file (GAP-B1)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 08:19:40 +00:00
4cf039e029 feat(graph): add parent field to GraphNode domain entity
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 08:09:29 +00:00
ac5b7bccc7 docs: add v2 gap fix implementation plan (10 tasks)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 08:01:59 +00:00
c97f201a9c docs: fix spec issues from review — path normalization, field names, dedup
- Fix doc.source_file → doc.file_path (actual DesignDocument field name)
- Replace lstrip("./") with proper path resolution helpers
- Add deduplication for doc→doc edges (process only downstream)
- Add frontend/src/shared/types/api.ts to files changed
- Add fallback for unknown group_id in forceX/forceY
- Note build_panorama needs design_dir parameter
- Clarify runtime_component/document detail panel behavior

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 07:39:33 +00:00
b67780007c docs: add v2 gap fix design spec for 7 gaps (P0+P1)
Covers GAP-B1 (status mapping), GAP-B3 (compound graph with document
nodes), GAP-F1 (group-partitioned layout), GAP-F2 (rich detail panel),
GAP-F3 (legend), GAP-F4 (back button), GAP-F5 (edit shortcut).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 07:24:09 +00:00