feat(workflow-editor): open block palette on edge drag-release with auto-connect#5586
feat(workflow-editor): open block palette on edge drag-release with auto-connect#5586TheodoreSpeaks wants to merge 6 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview The search modal store gains typed Palette picks dispatch Reviewed by Cursor Bugbot for commit f5443b7. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryThis PR adds edge drag-release block creation in the workflow editor. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (7): Last reviewed commit: "refactor(workflow-editor): collapse drag..." | Re-trigger Greptile |
|
@greptile review |
…container placement
|
Thanks — all four findings were legit and are fixed in 8da6b27:
Minor known limitation from (4): a tool operation released directly inside a container loses its preset operation (the container path doesn't thread @greptile review |
|
Round 2 addressed in 7a5f66b. Both remaining findings shared one root cause — I was correlating via ambient store state (
This resolves:
The two Cursor comments still anchored to @greptile review |
|
Fixed in 2d5ce1e — the last real item ("Tool preset dropped in container"). Threaded The other Cursor comments still anchored to @greptile review |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2d5ce1e. Configure here.
…andle via handleToolbarDrop
|
Round 4 in 40347c4. "In-container connect wrong edge" (Medium, real) — fixed by unifying the edge logic.
This also let me delete the bespoke root-vs-container branching in "Pending connect cleared too early" (Low) — acknowledged, leaving as-is: the palette closes itself on any pick and the close subscription clears the pending ref regardless of success, so deferring the clear wouldn't preserve intent across a rejection. The only rejection reachable from this restricted palette is a single-instance-duplicate block (triggers are excluded from it), which is rare and degrades gracefully to re-dragging. The three Cursor comments anchored to @greptile review |
|
Simplification pass (f5443b7): collapsed the drag-release correlation machinery — the module ref, the generated |

Summary
sectionsallowlist on the search-modal store — triggers/pages/workflows/etc. are hidden since you can't connect into themType of Change
Testing
Tested manually. Lint and
check:api-validation:strictpass.Checklist