Skip to content

Rename node functionality#142

Merged
vade merged 4 commits intoFabric-Project:mainfrom
furtunavlad:issue/123
Jan 12, 2026
Merged

Rename node functionality#142
vade merged 4 commits intoFabric-Project:mainfrom
furtunavlad:issue/123

Conversation

@furtunavlad
Copy link
Copy Markdown
Contributor

@furtunavlad furtunavlad commented Jan 9, 2026

Closes #123
Steps to test:

  • In canvas, double-click a node or right-click->rename

- displayName var
- rename UI (only double-click for now)
- renamingNodeID in NodeCanvas, in order to toggle rename from context menu and block key shortcuts
- compute isRenaming for each node
- bigger hitbox
@furtunavlad furtunavlad changed the title Rename node functionality #123 Rename node functionality Jan 9, 2026
@vade
Copy link
Copy Markdown
Contributor

vade commented Jan 9, 2026

Thanks so much! This looks good on first pass eyeball review! Gimme a bit to check it out in depth!

Thank you again!

@vade
Copy link
Copy Markdown
Contributor

vade commented Jan 9, 2026

So one thing I would say, is we might want to limit double click to rename, as that 'enters' a subgraph node (nodes which have a more square body like Subgraph, Environment, Render to Image, Iterator) - if this usurps the double click for the node, it might be problematic!

@furtunavlad
Copy link
Copy Markdown
Contributor Author

updated to a smaller hitbox for double click to rename

@vade
Copy link
Copy Markdown
Contributor

vade commented Jan 12, 2026

Thanks! I made a minor refactor to extract the logic to a self contained view, and remove some extraneous binding i didnt see was necessary! This is really nice! Thank you!

@vade vade mentioned this pull request Jan 12, 2026
@vade vade merged commit 31c6558 into Fabric-Project:main Jan 12, 2026
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.

Now that subgraphs are working well, we should be able to rename nodes and have that save

2 participants