Skip to content

feat: Insert blocks at focus point#9806

Open
gonfunko wants to merge 3 commits intov13from
smart-insert
Open

feat: Insert blocks at focus point#9806
gonfunko wants to merge 3 commits intov13from
smart-insert

Conversation

@gonfunko
Copy link
Copy Markdown
Contributor

@gonfunko gonfunko commented May 1, 2026

The basics

The details

Resolves

Fixes #9758

Proposed Changes

This PR reintroduces support for inserting blocks from the flyout at or near the currently focused node in the workspace. If a connection is focused, and the chosen block can connect to it, it will be initially moved to/proposed for connection at that point; otherwise, the focused node's parent block will be identified, and, assuming there is one, the inserted block will be proposed for connection to the first compatible connection on that block. A final attempt will be made to connect the inserted block to the focused block's parent block's input connection, after which the inserted block will just be initially proposed as a top-level block.

@gonfunko gonfunko requested a review from a team as a code owner May 1, 2026 22:51
@gonfunko gonfunko requested a review from mikeharv May 1, 2026 22:51
@github-actions github-actions Bot added the PR: feature Adds a feature label May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants