Add copy button to graph error panels for LLM debugging#981
Open
Add copy button to graph error panels for LLM debugging#981
Conversation
Adds a copy-to-clipboard button to graph error displays (both modern NODE_AND_EDGE format and legacy panel-level errors) to make it easy for users to copy error information for debugging with LLMs. Features: - Minimal UI with just copy icon in top-right - Tooltip: "Copy to clipboard" - Markdown-formatted output optimized for LLMs - Includes metadata: panel name, type, status, timestamp - NODE_AND_EDGE format: Complete status summary + detailed errors - Legacy format: Panel-level error with metadata - Success feedback: Icon changes to filled + green for 1 second Modified files: - NodeAndEdgePanelInformation.tsx: Added copy button and formatting - Graph/index.tsx: Pass panel prop to NodeAndEdgePanelInformation - PanelStatus.tsx: Added copy button to PanelError component 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a copy-to-clipboard button to graph error displays to make it easy for users to copy error information for debugging with LLMs.
Features
Copy Format Examples
NODE_AND_EDGE Format (Modern Graphs)
Connection timeout after 30 seconds
Legacy Format (Panel Errors)
Connection timeout after 30 seconds
Files Modified
NodeAndEdgePanelInformation.tsx- Added copy button and formatting helperGraph/index.tsx- Pass panel prop to information componentPanelStatus.tsx- Added copy button to error displayTesting
To test:
Future Work
See
.claude/wip/graph-error-copy-button/PROJECT-PHASES.mdfor Phase 2:🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com