Skip to content

Paste-as-Nodes import + import robustness#217

Draft
kolibril13 wants to merge 7 commits into
Algebraic-UG:mainfrom
kolibril13:main
Draft

Paste-as-Nodes import + import robustness#217
kolibril13 wants to merge 7 commits into
Algebraic-UG:mainfrom
kolibril13:main

Conversation

@kolibril13

@kolibril13 kolibril13 commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Summary (with help of Claude Code + Opus 4.8)

  1. paste node tree (3d32b2d) — Introduced the "Paste as Nodes" feature:
    new operator, panel button, and post_import logic that reproduces an
    imported node tree into the active editor via own clipboard.
image
  1. drop node outputs (11e92e0) — When unpacking loose into a tree,
    stripped the Group Input/Output nodes (and their dangling links) so they
    didn't litter the canvas.

  2. still import node when context is unavailable (a4c7a9f) — Made
    deferred socket enum-default assignment non-fatal: if a value (e.g. an
    Index/Menu Switch enum) isn't valid in the current context, it now
    records a warning and keeps importing instead of aborting the whole
    import.

image
  1. distinguish group vs subtree (96f1453) — The big post_import rework:
    keep Group Input/Output when present, merge the imported group's
    interface into the target tree and rebuild the group-I/O links, and
    detect a full self-contained group to import it as a single group node
    rather than pasting it loose (reversing the earlier "drop outputs"
    approach for that case). Here's a screen recording of this:
Screen.Recording.2026-06-16.at.17.20.12.mp4

Net effect: a new clipboard "Paste as Nodes" import path that's smart
about whole-group vs. fragment content, plus a more forgiving importer
that warns rather than fails on unsettable enum defaults — plus a naming
revert at the end.

@kolibril13 kolibril13 marked this pull request as draft June 16, 2026 15:37
- Update core package version in pyproject.toml and common.py
- Update addon manifest version to match
- Ignore all .zip build artifacts

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant