Skip to content

feat: Delete Flex Nodes#1746

Merged
camielvs merged 1 commit intomasterfrom
02-03-feat_delete_flex_nodes
Feb 19, 2026
Merged

feat: Delete Flex Nodes#1746
camielvs merged 1 commit intomasterfrom
02-03-feat_delete_flex_nodes

Conversation

@camielvs
Copy link
Collaborator

@camielvs camielvs commented Feb 3, 2026

Description

Can now delete a sticky note from the canvas using the DELETE key.

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

image.png

Test Instructions

  • Can delete sticky notes via the DELETE key
  • Can delete multiple sticky notes at once

Additional Comments

Copy link
Collaborator Author

camielvs commented Feb 3, 2026

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

@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 02-03-feat_delete_flex_nodes branch 2 times, most recently from 2d288bb to a6cbf9a Compare February 4, 2026 01:07
@camielvs camielvs force-pushed the 01-30-feat_add_basic_flexnode branch from f1ed428 to 7c35804 Compare February 4, 2026 01:07
@camielvs camielvs changed the base branch from 01-30-feat_add_basic_flexnode to graphite-base/1746 February 4, 2026 01:15
@camielvs camielvs force-pushed the 02-03-feat_delete_flex_nodes branch from a6cbf9a to bc9de49 Compare February 4, 2026 01:15
@camielvs camielvs changed the base branch from graphite-base/1746 to 01-30-feat_add_sticky_notes_to_canvas February 4, 2026 01:16
@camielvs camielvs changed the base branch from 01-30-feat_add_sticky_notes_to_canvas to graphite-base/1746 February 4, 2026 01:25
@camielvs camielvs force-pushed the 02-03-feat_delete_flex_nodes branch from bc9de49 to bcd8b6e Compare February 4, 2026 01:25
@camielvs camielvs changed the base branch from graphite-base/1746 to 02-03-temp_flex_node_architecture February 4, 2026 01:25
@camielvs camielvs force-pushed the 02-03-temp_flex_node_architecture branch from 882b3f0 to bb2dbfc Compare February 4, 2026 01:38
@camielvs camielvs force-pushed the 02-03-feat_delete_flex_nodes branch from bcd8b6e to 4223c4a Compare February 4, 2026 01:38
@camielvs camielvs changed the base branch from 02-03-temp_flex_node_architecture to graphite-base/1746 February 4, 2026 01:58
@camielvs camielvs force-pushed the 02-03-feat_delete_flex_nodes branch from 4223c4a to b336e1a Compare February 4, 2026 01:58
@camielvs camielvs changed the base branch from graphite-base/1746 to 01-30-feat_add_sticky_notes_to_canvas February 4, 2026 01:58
@camielvs camielvs force-pushed the 02-03-feat_delete_flex_nodes branch 2 times, most recently from f9ef198 to 4d515c7 Compare February 4, 2026 19:05
@camielvs camielvs force-pushed the 02-03-feat_delete_flex_nodes branch from 045fa7a to a70364d Compare February 10, 2026 21:48
@camielvs camielvs force-pushed the 01-30-feat_add_sticky_notes_to_canvas branch from a21c78b to 0ac16eb Compare February 10, 2026 21:48
@camielvs camielvs force-pushed the 02-03-feat_delete_flex_nodes branch from a70364d to 020ba6c Compare February 11, 2026 00:08
@camielvs camielvs force-pushed the 01-30-feat_add_sticky_notes_to_canvas branch from 0ac16eb to 8d24c73 Compare February 11, 2026 00:29
@camielvs camielvs force-pushed the 02-03-feat_delete_flex_nodes branch 2 times, most recently from a6739fb to e19c055 Compare February 17, 2026 18:38
@camielvs camielvs force-pushed the 01-30-feat_add_sticky_notes_to_canvas branch from 8d24c73 to 76cc651 Compare February 17, 2026 18:38
@camielvs camielvs marked this pull request as ready for review February 17, 2026 21:48
@camielvs camielvs requested a review from a team as a code owner February 17, 2026 21:48
@camielvs camielvs requested review from a team, Mbeaulne and maxy-shpfy and removed request for a team February 17, 2026 21:48
@camielvs camielvs force-pushed the 02-03-feat_delete_flex_nodes branch from e19c055 to 629e8e6 Compare February 18, 2026 23:18
@camielvs camielvs force-pushed the 01-30-feat_add_sticky_notes_to_canvas branch from 76cc651 to 1800cff Compare February 18, 2026 23:18
@camielvs camielvs force-pushed the 02-03-feat_delete_flex_nodes branch from 629e8e6 to e94cb92 Compare February 18, 2026 23:53
return str;
}

if (!options.breakWords) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm 50/50. I see across the app we have kinda a mess around "truncating". This specific method is always used with {breakWords: false} which contradicts with defaults.

My suggestion is to remove "options" and keep this as a method "truncateWithoutBreakingWords" or smth.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We do have a bit of a mess. I originally made a specific truncateWithoutBreakingWords style method but then realised maybe instead of adding to the mess I could make a generic wider-purpose truncate instead. Hence why I included options even though nothing is really consuming it at the moment. My hope is that we can migrate old code to it & use it in future for a more consistent system - like pluralize

@camielvs camielvs mentioned this pull request Feb 19, 2026
3 tasks
Copy link
Collaborator Author

camielvs commented Feb 19, 2026

Merge activity

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

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