bpmn-io / bpmn-js-create-append-anything

A create/append anything bpmn-js extension.
MIT License
10 stars 2 forks source link

Be able to limit append anything to elements that can be appended #30

Open philippfromme opened 6 months ago

philippfromme commented 6 months ago

Is your feature request related to a problem? Please describe.

Currently both the create and append anything popup menu list all elements that can be created. The append popup menu does not limit the list to elements that can be appended which can will often hide the most relevant elements in the list.

Example: Event-based gateway

There are only a few elements that can be appended but they're hard to find. It doesn't really make sense to offer any other options here.

image

Describe the solution you'd like

Change append anything to only list elements that can be appended. This could also be configurable so users can decide themselves.

Describe alternatives you've considered

Require users to add their own provider that filters the list.

Additional context

Related to https://github.com/camunda/improved-canvas/issues/56

nikku commented 6 months ago

There are only a few elements that can be appended but they're hard to find. It doesn't really make sense to offer any other options here.

@philippfromme Let's discuss this.

Append anything allows you to add any element. We've received feedback / requests in the past to remove the palette entirely (which is usually far away from you). Append anything is the (only) powerful tool you usually need.

I'm all in for offering common elements in a domain specific manner. You should be able to append/create any relevant element (in the flow) though.

TLDR: If we introduce this, then we break existing user flow, make users search for a particular element in different places, require them to understand BPMN inside out, and in the end make them not use the tool.

philippfromme commented 6 months ago

Based on the discussion we'll close this issue for now.

nikku commented 6 months ago

One thing brought up in the discussion: With the re-introduction of quick append we don't need common anymore.

philippfromme commented 6 months ago

@nikku The common group was added by @camunda/improved-canvas and has been removed in the meantime.

philippfromme commented 6 months ago

Reopening based on user feedback.

philippfromme commented 6 months ago

From a user test: "From an event-based gateway I should not be able to append a task", which is exactly the issue I described.