Extract Component Fixed #7
Open
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.
This pull request introduces several improvements to the workflow builder UI and logic, focusing on better node management, performance optimizations, and code maintainability. The most impactful changes include adding debounced updates to node editing, preventing redundant workflow/template loading, refactoring helper functions for node display, and cleaning up unused configuration files.
UI and Node Management Enhancements
ExtractNodePanel.tsxto prevent infinite update loops and improve performance when editing node properties. Also added a node delete button to the panel header for easier node removal. [1] [2] [3]ExtractNodePanel.tsxto use thenodeobject directly, removed unused MCP tools UI, and clarified instructions for extract nodes. [1] [2] [3]Workflow Loading and Performance
WorkflowBuilder.tsx, preventing redundant processing and improving initial load performance. [1] [2] [3] [4]useCallbackfor helper functions (getNodeColor,createNodeLabel,seedTemplates) to avoid unnecessary re-creation and improve render efficiency. [1] [2] [3]Codebase Cleanup and Maintainability
convex.jsonconfiguration file and the generatedconvex/_generated/api.jsfile, reducing clutter from the codebase. [1] [2]