-
Notifications
You must be signed in to change notification settings - Fork 474
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
Improve selection of a pool #2859
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Verified with @ingorichtsmeier that this is a UX issue. Moving to backlog. We should investigate if we're able to separate click to select (for containers) from drag start. This way we'd be able to support this without breaking the existing move interaction. |
I am going to look into this this week. |
I am sharing here my findings so far:
Solution sketch:
|
After a while, I think this should apply to Participants and SubProcesses, but not to the Group. I should select the Group only when I click the frame because there is no "body" of this element. |
These are the events supported in diagram-js InteractionEvents:
As long as there is no dragging in progress, only these should be fired for the element's body:
However, the rest should be fired for an element below to allow moving the canvas. Also, we should reactivate the events for the element when dragging interaction is in progress (handled currently via CSS). |
Another, more detailed solution sketch:
This may degrade the performance, so let's be careful. |
Alternative (limited) solution: |
Another idea: Edit: This should be rather implemented in the Move module. |
Use `no-move` type of hit box to disable element movement via hit box. Related to camunda/camunda-modeler#2859
Use `no-move` type of hit box to disable element movement via hit box. Related to camunda/camunda-modeler#2859
I ended up implementing this solution but the new hit box type disables only the element movement feature. As a result, we don't mess with events or |
Use `no-move` type of hit box to disable element movement via hit box. Related to camunda/camunda-modeler#2859
This is fixed upstream via bpmn-io/bpmn-js#1646 |
Closed via bc8b748 |
Is your feature request related to a problem? Please describe.
As a user I wan to model properties for elements that I click on the diagram. This works well and intuitive for tasks and connections, but does not work for container elements such as participants and sub-processes:
If I click into a pool only selects the Collaboration properties. But it is much more important to access the elements of the Participant (name, history cleanup, candidate starter, ...)
Describe the solution you'd like
Describe alternatives you've considered
None.
Additional context
When I model my process diagram in a pool, I have to select the begin of the pool to access the properties of the process in the properties panel.
In larger diagrams, it makes it very tedious. Scroll to the beginning, ...
The selection of the Collaboration is much less important for a developer.
The text was updated successfully, but these errors were encountered: