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

Bulk Morph #892

Open
falko opened this issue Aug 23, 2018 · 8 comments
Open

Bulk Morph #892

falko opened this issue Aug 23, 2018 · 8 comments
Labels
backlog Queued in backlog BPMN developer productivity Everything related to improving the developer productivity (both efficiency and effectiveness) enhancement New feature or request modeling refactoring support Flags an issue as an improvement for editing of existing diagrams. ux

Comments

@falko
Copy link
Member

falko commented Aug 23, 2018

After creating a model with dozens of tasks, I would like to select many tasks and morph all of them into Service Tasks or User Tasks in a bulk operation.


Depends on bpmn-io/bpmn-js#2046

@nikku
Copy link
Member

nikku commented Aug 23, 2018

Sounds like a legitimate power user feature.

Any idea how that could look like from the users perspective?

@falko falko added the enhancement New feature or request label Aug 23, 2018
@nikku nikku added BPMN modeling backlog Queued in backlog labels Aug 23, 2018
@falko
Copy link
Member Author

falko commented Aug 23, 2018

Simply show the context pad on the last selected task and show all options that make sense for all the selected nodes.

@nikku
Copy link
Member

nikku commented Sep 27, 2018

I guess a better way would be to provide a context pad that applies to a selection of elements (bpmn-io/diagram-js#278).

@falko
Copy link
Member Author

falko commented Feb 2, 2023

I still encounter this situation frequently and it looks really boring to watch during live modeling sessions with prospects/customers. My only real workaround is either doing it on the side, while other topics are being discussed in the workshop, or take it offline as a homework to do after work. But that doesn't help if the goal is to demonstrate live how a model is made executable. Bulk property editing is equally in high demand, e.g. for setting the same job type on all service tasks in a model.

@nikku nikku added the ux label Feb 2, 2023
@nikku
Copy link
Member

nikku commented Feb 2, 2023

@falko In both cases (bulk replace / bulk property edit) we have to solve the problem of incompatibility:

  • start event and task selected, trying to set job type
  • sequence flow and task selected, where to shall we replace?

Do you have any expectations as a user how that could / should be handled?

@falko
Copy link
Member Author

falko commented Feb 2, 2023

Let's start simple: As user, I must select elements of the same type, otherwise the bulk operation doesn't show up. Next level for properties, could be to only show/allow to edit the properties that the selected element have in common. Similarly, the morph could only show morph targets that would work for all selected elements.

There is no need to solve it for all possible combinations of selected elements as the problematic ones are unlikely in practice.

@nikku
Copy link
Member

nikku commented Feb 2, 2023

Similarly, the morph could only show morph targets that would work for all selected elements.

You'd only show properties that currently have the same value (i.e. different names => not shown, same job type => shown)?

@falko
Copy link
Member Author

falko commented Feb 2, 2023

For level 2 Bulk Morph, I'd expect that I can select a User Task and a Service Task and morph them both into a Decision Task. Level 3 might be selecting a Message Start Event and a Message Intermediate Event and morph them both into Signal Events, i.e. changing their Message trigger into a Signal trigger.

Let's continue discussing Bulk Property change in #893

@nikku nikku added the developer productivity Everything related to improving the developer productivity (both efficiency and effectiveness) label Feb 2, 2023
@nikku nikku added the refactoring support Flags an issue as an improvement for editing of existing diagrams. label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog BPMN developer productivity Everything related to improving the developer productivity (both efficiency and effectiveness) enhancement New feature or request modeling refactoring support Flags an issue as an improvement for editing of existing diagrams. ux
Projects
None yet
Development

No branches or pull requests

2 participants