Skip to content

fix: stop scan/reactions from leaving nodes permanently recolored (+ honor export format) - #184

Open
juansilvadesign wants to merge 3 commits into
grab:mainfrom
juansilvadesign:fix/template-safety
Open

fix: stop scan/reactions from leaving nodes permanently recolored (+ honor export format)#184
juansilvadesign wants to merge 3 commits into
grab:mainfrom
juansilvadesign:fix/template-safety

Conversation

@juansilvadesign

Copy link
Copy Markdown
Contributor

This bundles two open community fixes that protect nodes during read operations. Both commits keep their original authorship (cherry-picked, not squashed).

Included work

Why bundle them

Both are small, safe correctness fixes on the read path, with no change to tool names or signatures. Grouping them keeps review to one coherent "don't mutate what you're only reading" theme. These touch only the plugin (code.js); the MCP server bundle is unaffected.

Credit to the original authors — this branch only reconciles their commits onto current main.

dankinsoid and others added 3 commits July 9, 2026 03:06
The orange highlight applied during scan_text_nodes, set_multiple_text_contents,
and get_reactions saved/restored fills (or strokes) around a delay. If the op
threw or aborted before restore, the node kept the highlight color permanently,
breaking components. Removed all four highlight blocks; core logic untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@juansilvadesign

Copy link
Copy Markdown
Contributor Author

Friendly ping on this one — it's been open since July and still merges cleanly against main (re-verified today, mergeable: MERGEABLE).

Happy to rebase or split it further if that makes review easier. For context, I've just opened #186 (get_pages / set_current_page), which is independent of this branch — no conflict between them either way.

Thanks for merging #185.

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.

3 participants