Skip to content

Comments

feat: Add Basic FlexNode#1728

Merged
camielvs merged 1 commit intomasterfrom
01-30-feat_add_basic_flexnode
Feb 19, 2026
Merged

feat: Add Basic FlexNode#1728
camielvs merged 1 commit intomasterfrom
01-30-feat_add_basic_flexnode

Conversation

@camielvs
Copy link
Collaborator

@camielvs camielvs commented Jan 30, 2026

Description

Adds a basic static FlexNode component to the canvas when the flex-nodes annotation has appropriate data (saved as a JSON string). The flex node cannot be interacted with beyond moving it around.

Flex Nodes (aka "Sticky Notes") have the following attributes:

  • Id
  • Properties
    • Title
    • Content
    • Color
    • Border Colour (later)
  • Metadata
    • Created At
    • Created By
  • Size (width, height)
  • Position (x, y)
  • Z-Index
  • Read Only

Flex Nodes can be found & defined directly in the component spec at spec.metadata.annotations["flex-nodes"] = JSON.stringify(FlexNode[])

Note this PR does not include a method of adding Flex Nodes to the canvas via UI. Nor does it add editing & basic canvas operations (e.g. delete). These features are added further upstack.

Related Issue and Pull requests

Progresses https://github.com/Shopify/oasis-frontend/issues/118

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

Create a component spec and define one ore more Sticky Notes via spec.metadata.annotations["flex-nodes"], using the type structure provided. The created sticky notes should render on the canvas when the pipeline is imported.

Note! Flex Nodes are saved in the spec as a JSON string. Remember to stringify the entire Flex Node array when defining them in the spec.

Alternatively, go upstack to test via a UI-based solution.

Additional Comments

Copy link
Collaborator Author

camielvs commented Jan 30, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@camielvs camielvs mentioned this pull request Jan 30, 2026
3 tasks
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 13170d5 to 4368a59 Compare January 30, 2026 23:36
@camielvs camielvs mentioned this pull request Jan 30, 2026
3 tasks
@camielvs camielvs changed the base branch from master to graphite-base/1728 February 2, 2026 19:05
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 4368a59 to cfcd2af Compare February 2, 2026 19:06
@camielvs camielvs changed the base branch from graphite-base/1728 to 01-30-chore_node_definition_cleanup February 2, 2026 19:06
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from cfcd2af to 8664f30 Compare February 2, 2026 19:10
@camielvs camielvs mentioned this pull request Feb 2, 2026
3 tasks
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 8664f30 to 87ae569 Compare February 2, 2026 21:26
@camielvs camielvs force-pushed the 01-30-chore_node_definition_cleanup branch from 8dca03b to f0ac49b Compare February 2, 2026 21:30
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 87ae569 to 4350d76 Compare February 2, 2026 21:30
@camielvs camielvs force-pushed the 01-30-chore_node_definition_cleanup branch from f0ac49b to d8bc666 Compare February 3, 2026 22:36
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 4350d76 to 0e1efcd Compare February 3, 2026 22:36
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 0e1efcd to 7c93536 Compare February 3, 2026 22:44
@camielvs camielvs mentioned this pull request Feb 3, 2026
8 tasks
@camielvs camielvs force-pushed the 01-30-chore_node_definition_cleanup branch from d8bc666 to 47ebeb8 Compare February 3, 2026 23:32
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 7c93536 to 2af69e9 Compare February 3, 2026 23:32
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 2af69e9 to f1ed428 Compare February 4, 2026 00:05
@camielvs camielvs force-pushed the 01-30-chore_node_definition_cleanup branch from 47ebeb8 to 31dfecb Compare February 4, 2026 00:05
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch 2 times, most recently from 7c35804 to 7effb1c Compare February 4, 2026 01:38
@camielvs camielvs force-pushed the 02-04-feat_add_zindex_management_for_all_nodes branch from a7a6429 to 7e1e9cd Compare February 18, 2026 23:18
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 8f7a3c3 to d5196e4 Compare February 18, 2026 23:53
@camielvs camielvs force-pushed the 02-04-feat_add_zindex_management_for_all_nodes branch from 7e1e9cd to 350000b Compare February 19, 2026 00:23
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from d5196e4 to 16bbb8e Compare February 19, 2026 00:23
@camielvs camielvs mentioned this pull request Feb 19, 2026
3 tasks
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 16bbb8e to 8a45198 Compare February 19, 2026 17:59
@camielvs camielvs force-pushed the 02-04-feat_add_zindex_management_for_all_nodes branch 2 times, most recently from ac6e50b to f9df251 Compare February 19, 2026 19:53
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 8a45198 to 67ffaaa Compare February 19, 2026 19:53
@camielvs camielvs force-pushed the 02-04-feat_add_zindex_management_for_all_nodes branch 2 times, most recently from 4dfd416 to a2ef9b5 Compare February 19, 2026 19:59
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch 2 times, most recently from 9e0b22b to 329fafd Compare February 19, 2026 20:04
@camielvs camielvs force-pushed the 02-04-feat_add_zindex_management_for_all_nodes branch 2 times, most recently from 25650b0 to e36e164 Compare February 19, 2026 20:07
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 329fafd to 2536e0f Compare February 19, 2026 20:07
@camielvs camielvs changed the base branch from 02-04-feat_add_zindex_management_for_all_nodes to graphite-base/1728 February 19, 2026 20:09
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 2536e0f to 2bf389c Compare February 19, 2026 20:10
@graphite-app graphite-app bot changed the base branch from graphite-base/1728 to master February 19, 2026 20:10
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from 2bf389c to f2bdca4 Compare February 19, 2026 20:11
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from f2bdca4 to ce8d183 Compare February 19, 2026 20:15
Copy link
Collaborator Author

camielvs commented Feb 19, 2026

Merge activity

  • Feb 19, 8:18 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 19, 8:18 PM UTC: @camielvs merged this pull request with Graphite.

@camielvs camielvs merged commit 5617c7d into master Feb 19, 2026
7 of 8 checks passed
@camielvs camielvs deleted the 01-30-feat_add_basic_flexnode branch February 19, 2026 20:18
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