Skip to content

feat: add graph empty state and fix React key stability (zgc.10, zgc.21)#2

Open
RC1140 wants to merge 2 commits intol0g1x:mainfrom
RC1140:main
Open

feat: add graph empty state and fix React key stability (zgc.10, zgc.21)#2
RC1140 wants to merge 2 commits intol0g1x:mainfrom
RC1140:main

Conversation

@RC1140
Copy link

@RC1140 RC1140 commented Mar 24, 2026

Summary

  • Add empty state to graph view when no beads exist (bcc-zgc.10)
  • Fix unstable React keys in flow view and pour dialog (bcc-zgc.21)

Cherry-picked from polecat branches that diverged from old main history.

Test plan

  • Verify graph view shows empty state message when no beads are present
  • Verify graph view renders normally when beads exist
  • Verify no React key warnings in console for flow view and pour dialog

l0g1x and others added 2 commits March 24, 2026 21:40
- Use wave index for flow view wave container keys instead of joined step IDs
- Use title+index composite key as fallback in pour dialog bead list

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
When rawNodes is empty, show a centered empty state message with icon
instead of rendering ReactFlow controls and minimap with no content.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants