Skip to content

feat: Lock Flex Nodes#1826

Merged
camielvs merged 1 commit intomasterfrom
02-18-feat_lock_flex_nodes
Feb 26, 2026
Merged

feat: Lock Flex Nodes#1826
camielvs merged 1 commit intomasterfrom
02-18-feat_lock_flex_nodes

Conversation

@camielvs
Copy link
Copy Markdown
Collaborator

@camielvs camielvs commented Feb 19, 2026

Description

As suggested by @maxy-shpfy this PR adds the ability to "lock" sticky notes, preventing them from being selected or moved.

This is achieved by hovering over a sticky note and clicking the lock icon in the top right. A locked sticky note will show the lock icon in the top right at all times (an unlocked one will only show when hovered). To unlock a sticky note either click the lock again, or double click the note.

Alternatively, the lock functionality can be accessed via the flex node context panel.

Related Issue and Pull requests

Type of Change

  • New feature

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

image.png

Test Instructions

  • Add a sticky note to convas
  • Hover over it, you should see the lock icon appear in the top-right
  • Click the lock to lock the sticky note. You should no longer be able to select the sticky note.
  • Unlock it by clicking the lock icon, or by double-clicking the node.

Additional Comments

@camielvs camielvs marked this pull request as ready for review February 19, 2026 00:56
@camielvs camielvs requested a review from a team as a code owner February 19, 2026 00:56
Copy link
Copy Markdown
Collaborator

@maxy-shpfy maxy-shpfy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the stcky node remain movebable in locked state

@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from aa3d3a0 to 2936185 Compare February 19, 2026 01:38
@camielvs camielvs force-pushed the 02-10-feat_transparent_flex_nodes_can_have_a_border branch from 70f8f36 to 2a9218d Compare February 19, 2026 01:38
Copy link
Copy Markdown
Collaborator Author

Ah, I thought the ask was only for non-selectable. I can do non-moveable as well

@camielvs camielvs force-pushed the 02-10-feat_transparent_flex_nodes_can_have_a_border branch from 2a9218d to 1e36e3d Compare February 19, 2026 01:45
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from 2936185 to 1aacb4c Compare February 19, 2026 01:45
@camielvs camielvs requested a review from maxy-shpfy February 19, 2026 01:49
@camielvs camielvs force-pushed the 02-10-feat_transparent_flex_nodes_can_have_a_border branch from 1e36e3d to ae80319 Compare February 19, 2026 17:59
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from 1aacb4c to 4ec135d Compare February 19, 2026 17:59
@camielvs camielvs force-pushed the 02-10-feat_transparent_flex_nodes_can_have_a_border branch from ae80319 to d510ad8 Compare February 19, 2026 19:53
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from 4ec135d to 2b177f9 Compare February 19, 2026 19:53
@camielvs camielvs force-pushed the 02-10-feat_transparent_flex_nodes_can_have_a_border branch from d510ad8 to de32f31 Compare February 19, 2026 20:04
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from 2b177f9 to 36a8134 Compare February 19, 2026 20:04
@camielvs camielvs force-pushed the 02-10-feat_transparent_flex_nodes_can_have_a_border branch from de32f31 to e8de69e Compare February 19, 2026 20:07
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from 36a8134 to 3cea8be Compare February 19, 2026 20:07
@camielvs camielvs force-pushed the 02-10-feat_transparent_flex_nodes_can_have_a_border branch from e8de69e to bf217d7 Compare February 19, 2026 20:15
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch 2 times, most recently from 6fdbab8 to c656840 Compare February 19, 2026 20:22
@camielvs camielvs force-pushed the 02-10-feat_transparent_flex_nodes_can_have_a_border branch from 4d9173a to aad463e Compare February 19, 2026 20:35
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch 2 times, most recently from 827bb44 to 2cea03a Compare February 19, 2026 20:43
@camielvs camielvs force-pushed the 02-10-feat_transparent_flex_nodes_can_have_a_border branch from aad463e to 2976154 Compare February 19, 2026 20:43
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from 5e0761e to d220842 Compare February 19, 2026 22:36
@camielvs camielvs force-pushed the 02-10-feat_transparent_flex_nodes_can_have_a_border branch 2 times, most recently from 30505e3 to b7be04a Compare February 19, 2026 22:40
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from d220842 to 182c419 Compare February 19, 2026 22:41
@camielvs camielvs force-pushed the 02-10-feat_transparent_flex_nodes_can_have_a_border branch 2 times, most recently from c76f975 to 2f65556 Compare February 19, 2026 22:46
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from 182c419 to c434a70 Compare February 19, 2026 22:46
@camielvs camielvs force-pushed the 02-10-feat_transparent_flex_nodes_can_have_a_border branch from 2f65556 to 798992b Compare February 19, 2026 22:55
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from c434a70 to 16eac40 Compare February 19, 2026 22:55
@camielvs camielvs changed the base branch from 02-10-feat_transparent_flex_nodes_can_have_a_border to graphite-base/1826 February 19, 2026 22:58
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from 16eac40 to 7ba6cce Compare February 19, 2026 22:59
@graphite-app graphite-app bot changed the base branch from graphite-base/1826 to master February 19, 2026 22:59
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch 2 times, most recently from 1b5e597 to 1a7771b Compare February 20, 2026 20:27
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from 1a7771b to 8e50ac2 Compare February 21, 2026 00:15
Copy link
Copy Markdown
Collaborator

The lock button is really hard to see or click while zooming in/out. Could be an issue for users to find the feature - low contrast small icon. Only educated users will find it.

Copy link
Copy Markdown
Collaborator

@maxy-shpfy maxy-shpfy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works nice! I left some comments.

I suggest to think about making icon more contrast and visible.

Copy link
Copy Markdown
Collaborator Author

I want to keep the icon on the node itself small and out of the way.

It might not be the best alternative but I have added the lock toggle to the context panel as well, beside the title. I also made the node clickable even when locked - but not editable.

image.png

@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch 2 times, most recently from 1c44d77 to 3e4049f Compare February 26, 2026 04:23
@camielvs camielvs force-pushed the 02-18-feat_lock_flex_nodes branch from 3e4049f to 31283cc Compare February 26, 2026 04:24
Copy link
Copy Markdown
Collaborator Author

camielvs commented Feb 26, 2026

Merge activity

  • Feb 26, 4:28 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 26, 4:28 AM UTC: @camielvs merged this pull request with Graphite.

@camielvs camielvs merged commit da9c615 into master Feb 26, 2026
14 checks passed
@camielvs camielvs deleted the 02-18-feat_lock_flex_nodes branch February 26, 2026 04:28
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.

2 participants