Skip to content

Graph PR-D: expandable project-explorer graph tree#65

Merged
mvalancy merged 1 commit into
developfrom
feat/explorer-tree
Jun 14, 2026
Merged

Graph PR-D: expandable project-explorer graph tree#65
mvalancy merged 1 commit into
developfrom
feat/explorer-tree

Conversation

@mvalancy

Copy link
Copy Markdown
Member

The graph selector showed only top-level graphs; sub-graphs (the hierarchy) were invisible there — reachable only by drilling into the canvas. Now a parent graph expands in place to reveal its sub-graphs.

  • GraphSelector.tsx: a graph row with children (from the context's existing buildHierarchy tree) gets an expand chevron; expanding it lists the sub-graphs (indented, selectable, with node/edge counts). Per-graph expand state; reuses the existing ChevronRight rotate pattern. The 'system' folder is expanded by default so the seeded "System Overview" is discoverable.

Verified: explorer-tree.spec.ts — expand "System Overview" → "Compute Core" sub-graph row appears → selecting it switches currentGraphId to subgraph-compute-shared. Web typecheck clean. (Local smoke shows the historically-flaky grow-flow failing due to a polluted local dev DB — duplicate Welcome graphs; CI runs a clean seeded DB. PR-A's CI smoke already passed 15/15, confirming the physics tuning is safe.)

🤖 Generated with Claude Code

The graph selector showed only top-level graphs; sub-graphs (the hierarchy) were
invisible there — reachable only by drilling into the canvas. Now a parent graph
expands in place to reveal its sub-graphs.

- GraphSelector.tsx: a graph row with children (graph.children, from the
  context's existing buildHierarchy tree) gets an expand chevron; expanding it
  lists the sub-graphs (indented, selectable, with node/edge counts). Per-graph
  expand state; reuses the existing ChevronRight rotate pattern. The 'system'
  folder is expanded by default so the seeded "System Overview" is discoverable.

Verified: tests/diagnostics/explorer-tree.spec.ts — expand "System Overview" →
"Compute Core" sub-graph row appears → selecting it switches currentGraphId to
subgraph-compute-shared. Web typecheck clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🧪 Comprehensive Test Suite

  • Unit suites (Node 18.x & 20.x) — core, web, server, mcp-server: ✅ passed
  • Installer & deploy config: ✅ passed

Full-stack smoke gate runs in the CI workflow.

@mvalancy mvalancy merged commit 5eea7cb into develop Jun 14, 2026
16 checks passed
@mvalancy mvalancy deleted the feat/explorer-tree branch June 14, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant