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
This pull request introduces a new drop quadrant for creating resized control layers and improves navigation behavior across the application. Key changes include the addition of support for resized control layers, updates to drag-and-drop targets, and enhanced navigation logic for switching panels based on user actions.
New Feature: Resized Control Layers
newResizedControlLayer
for the resized control layer feature inen.json
.newResizedControlLayerFromImageDndTarget
and its associated logic for drag-and-drop functionality indnd.ts
. [1] [2]createNewResizedControlLayerFromImage
to handle resizing images and adding them as control layers inactions.ts
.Drag-and-Drop Enhancements
CanvasDropArea.tsx
to include a new drag-and-drop target for resized control layers. [1] [2] [3]Improved Navigation Logic
useInvoke.ts
to handle workflows more intelligently.NewWorkflowConfirmationAlertDialog.tsx
.useValidateAndLoadWorkflow.ts
to navigate based on workflow context (viewer vs. editor mode).Minor Improvements
target="_blank"
andrel="noopener noreferrer"
attributes to external links inCanvasLaunchpadPanel.tsx
andGenerateLaunchpadPanel.tsx
. [1] [2]Related Issues / Discussions
V6
QA Instructions
Evaluate whether it all works.
Merge Plan
It won't merge until it gets updated so I guess - No plan for merging this. Just review and reconsider.
Checklist
What's New
copy (if doing a release after this PR)