-
Notifications
You must be signed in to change notification settings - Fork 374
Add node pinning functionality to Vue nodes #5772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🎭 Playwright Test Results⏰ Completed at: 09/27/2025, 05:55:16 PM UTC 📈 Summary
📊 Test Reports by Browser
🎉 Click on the links above to view detailed test results for each browser configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just state tracking and display right? You can still actually drag vue nodes which are pinned.
// Delete the flag if unpinned, so that we don't get unnecessary | ||
// flags.pinned = false in serialized object. | ||
if (!this.pinned) delete this.flags.pinned | ||
if (!this.pinned) this.flags.pinned = undefined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Supremely happy that this is no longer necessary~
@edit="handleTitleEdit" | ||
@cancel="handleTitleCancel" | ||
/> | ||
<i-lucide:pin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could use the class based icon, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it better? Or just for consistency?
omg I forgot to actually implement the pinning aspect |
d5bb202
042d45e
to
ce0675c
Compare
Changes:
|
Summary
Added pinning functionality to Vue nodes with hotkey support and visual indicators.
Changes
LGraphNode.vue
andNodeHeader.vue
with pin state trackinguseGraphNodeManager
to sync pinned flag with Vue componentsReview Focus
Pin state persistence in graph serialization and visual indicator positioning in node header layout. Verify hotkey doesn't conflict with existing shortcuts.
Technical Details
flags.pinned
property inLGraphNode
Screenshots (if applicable)
Related
┆Issue is synchronized with this Notion page by Unito