Skip to content
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

feat(space-tool): add/remove space locally when pressing shift #808

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

philippfromme
Copy link
Contributor

@philippfromme philippfromme commented Oct 9, 2023

Can be tried out via npx @bpmn-io/sr bpmn-io/bpmn-js#develop -l bpmn-io/diagram-js#local-space-tool.

brave_5WsGj1Y8kZ

brave_NHjJ5eLr8V


Related to bpmn-io/bpmn-js#557

@bpmn-io-tasks bpmn-io-tasks bot added the in progress Currently worked on label Oct 9, 2023
@philippfromme philippfromme marked this pull request as ready for review October 9, 2023 11:36
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Oct 9, 2023
@nikku nikku requested a review from hkupitz October 9, 2023 11:40
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.

Looks great! Integration testing this I found only one issue that I believe cannot reasonably be fixed in diagram-js:

The fact that lanes are "hover-ignored" in bpmn-js, so they do not become drop targets. They should not be space resize targets either, I think.

capture ovvdV6_optimized

@nikku nikku merged commit d40a655 into develop Oct 9, 2023
@nikku nikku deleted the local-space-tool branch October 9, 2023 11:50
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Oct 9, 2023
@philippfromme
Copy link
Contributor Author

The fact that lanes are "hover-ignored" in bpmn-js, so they do not become drop targets. They should not be space resize targets either, I think.

Thanks for pointing out. We will fix that as part of the integration into bpmn-js.

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