bpmn-io / bpmn-js-create-append-anything Goto Github PK
View Code? Open in Web Editor NEWA create/append anything bpmn-js extension.
License: MIT License
A create/append anything bpmn-js extension.
License: MIT License
ICONS can be added in html mode, a convenient color modification
ICONS can be introduced in html+svg mode to facilitate subsequent modification of icon colors
{
group: 'edit',
className: 'bpmn-icon-end-anythind',
title: translate('Append Anything'),
html: `<div class="entry">
${appendIcon}
</div>`
}
I have an implementation of bpmn-js version 11.1.0 with all compatible plugins for that version.
Upgrading to the new version, I found that the appendMenuProvider to modify the entries of the appendMenu is no longer exported and modifiable in this package.
I would prefer an approach similar to the old one, where I could import the provider and modify its behavior.
A working workaround I found is this:
import { CreateAppendAnythingModule } from "bpmn-js-create-append-anything";
const AppendMenuProvider = CreateAppendAnythingModule.__depends__[0].appendMenuProvider[1];
Unfortunately, I haven't found anything regarding this new implementation of the appendMenuProvider; I just need to modify and filter the menu entries.
Is your feature request related to a problem? Please describe
As a user I'm confronted with a large list of choices in the create, replace, and append menu. While usually I just want to continue to model the way I am used to (i.e. service task only in microservice orchestration case).
Describe the solution you'd like
Rather than showing a huge list of options, only show what the user is likely to use; make everything else discoverable as a second look (i.e. via search or view more).
Describe alternatives you've considered
Stick to "static" nature of these menues.
Additional context
Raised as feedback by @marstamm, too.
As a user I want to create a non interrupting message start event in an event sub-process, but I cannot find it.
non
Non interrupting start events appear once searched for. I don't think it is strictly necessary to show them all the time.
When I drag a subprocess from the palette, it already contains a start event which is very convenient. It's not the case with subprocesses appended via this library.
Given I append or create:
it should contain a start event from the beginning.
Do nothing.
Discovered in a meeting with @falko, @NPDeehan, and @marco-as-lopes
Move Call Activity to subprocesses group.
Call Activity is more connected to subprocess than to a task.
Cf. https://camunda.slack.com/archives/CKGH9LR40/p1691018441106139
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.
Change append anything to only list elements that can be appended. This could also be configurable so users can decide themselves.
Require users to add their own provider that filters the list.
Related to camunda/improved-canvas#56
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.