What is missing / Why it matters
In frontend/src/components/GraphExplorer.tsx, if the selected commit has no analyzed files or import/co-change edges (e.g. an initial commit containing only unsupported files), the force-graph component displays a completely blank canvas without any user feedback.
Acceptance Criteria
- Detect when
nodes.length === 0 in GraphExplorer.
- Render a user-friendly empty state overlay card (e.g., "No files or dependencies detected in this snapshot") instead of a blank canvas.
- Ensure the rest of the layout (sidebars, controls) remains functional or is disabled gracefully.
What is missing / Why it matters
In
frontend/src/components/GraphExplorer.tsx, if the selected commit has no analyzed files or import/co-change edges (e.g. an initial commit containing only unsupported files), the force-graph component displays a completely blank canvas without any user feedback.Acceptance Criteria
nodes.length === 0inGraphExplorer.