Skip to content

feat: add cut capability to BPMN editor#5631

Merged
barmac merged 2 commits intodevelopfrom
add-cut
Feb 13, 2026
Merged

feat: add cut capability to BPMN editor#5631
barmac merged 2 commits intodevelopfrom
add-cut

Conversation

@barmac
Copy link
Collaborator

@barmac barmac commented Feb 12, 2026

Closes #1696

Proposed Changes

Same logic as copy. You can cut when there is a selection.

Screen.Recording.2026-02-12.at.16.35.47.mov

Checklist

Ensure you provide everything we need to review your contribution:

  • Contribution meets our definition of done
  • Pull request establishes context
    • Link to related issue(s), i.e. Closes {LINK_TO_ISSUE} or Related to {LINK_TO_ISSUE}
    • Brief textual description of the changes
    • Screenshots or short videos showing UI/UX changes
    • Steps to try out, i.e. using the @bpmn-io/sr tool

Copilot AI review requested due to automatic review settings February 12, 2026 15:38
@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Feb 12, 2026
@barmac barmac requested review from a team, AlekseyManetov and Buckwich and removed request for a team February 12, 2026 15:38
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds support for enabling the Cut operation in the BPMN editor when elements are selected, aligning it with the existing Copy behavior and enabling the corresponding menu item / keyboard shortcut flow.

Changes:

  • Enable cut in BPMN editor tab state when there is a non-empty selection (platform + cloud BPMN editors).
  • Update resources/diagram/simple.bpmn (re-serialization / metadata + DI waypoint serialization changes).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
resources/diagram/simple.bpmn Re-serialized BPMN fixture (exporter metadata + DI waypoint formatting/order changes).
client/src/app/tabs/cloud-bpmn/BpmnEditor.js Enables cut based on BPMN selection length in cloud BPMN editor.
client/src/app/tabs/bpmn/BpmnEditor.js Enables cut based on BPMN selection length in platform BPMN editor.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@nikku nikku left a comment

Choose a reason for hiding this comment

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

Last last mile - consider to add to context menu:

Image

Copy link
Member

@nikku nikku left a comment

Choose a reason for hiding this comment

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

Done via 4e96cfc

Image

@barmac
Copy link
Collaborator Author

barmac commented Feb 13, 2026

Thanks Nico!

@barmac barmac merged commit 7fb04b2 into develop Feb 13, 2026
11 of 12 checks passed
@barmac barmac deleted the add-cut branch February 13, 2026 08:26
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Feb 13, 2026
@github-actions github-actions bot added this to the M99 milestone Feb 13, 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.

Implement 'cut' in the edit menu and typical keyboard shortcuts.

2 participants

Comments