52 Commits

Author SHA1 Message Date
e937bd9c03 fix(replace-menu): keep existing loop characteristics (#2251)
Related to https://github.com/camunda/camunda-modeler/issues/4310
2024-10-31 16:05:29 +01:00
6b9ab1b75b feat(popup-menu): sentence case titles and labels
Closes #2023
2023-12-01 14:11:10 +01:00
9c71556952 feat(popup-menu): add non-interrupting toggle 2023-11-02 14:42:10 +01:00
78af19c23f fix: set loop characteristics in a command
Closes #1960

Release-As: 14.0.1
2023-10-12 14:53:44 +02:00
9c5b88d208 fix(replace): show correct interrupting/non-interrupting entries
Co-Authored-By: hkupitz <27265759+hkupitz@users.noreply.github.com>
2023-06-09 12:34:15 +00:00
2ca4907d5c fix: correct various JSDocs 2023-04-20 16:02:33 +02:00
3ea2852221 chore: simplify element type names 2023-04-19 12:18:42 +02:00
614163e96c chore: use @return instead of @returns 2023-04-19 12:18:42 +02:00
490e78af60 chore(popup-menu): migrate ReplaceMenuProvider to new popup menu API 2023-04-19 12:18:42 +02:00
07f75f7cd5 fix: fix remaining JSDoc and TS errors 2023-04-19 12:18:42 +02:00
39eb7a1e7f fix(popup-menu): handle bpmn:DataObjectReference without data object 2023-02-01 14:03:55 +01:00
3ee8667ca0 feat(append-anything): move to dedicated module 2023-01-23 20:44:37 +01:00
bfc33f36e7 feat(popup-menu): add create menu provider
Closes #1798
2023-01-23 11:53:52 +01:00
67083cd287 feat(context-pad): add append entry
Closes #1801
2023-01-18 13:10:08 +01:00
49383f4a60 feat(popup-menu): add append provider 2023-01-18 13:10:08 +01:00
4d594d5974 fix(popup-menu): correctly verify entry equality
The current ReplaceOptions.TRANSACTION / ReplaceOptions.EVENT_SUB_PROCESS
mask a bug that prevents us from properly detecting equality of popup
menu entries.

This commit fixes the bug and removes the workaround in the replace options.
2022-12-05 17:37:05 +01:00
f81f9e534b fix(replace): change from standard to multi loop characteristics
Closes #1673
2022-06-09 11:48:38 +00:00
7d6792ef21 fix(replace): persist multi-instance props with isSequential change
Closes #1581
2022-04-28 07:51:12 +00:00
c4cbc7821a fix(replace menu): prevent morphing data stores outside participants
Added tests to handle the edge case
Added a new test diagram

Closes #1508
2022-01-14 12:59:47 +00:00
769bcbeeff chore: adjust features to new DI structure
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
2021-09-03 15:14:00 +02:00
2e9f617911 fix(replace-menu): only allow cancel boundary events on transactions
related to camunda/camunda-modeler#2026
2021-01-05 07:27:08 +00:00
5eff166135 feat(replace): add multiplicity marker to replace menu for participants
Closes #533
2020-12-11 06:59:20 +00:00
8faee2bde9 feat(replace-menu): update label of collapsed pool
* Indicate the action in a clearer, more standard-compliant way --> replaces an expanded pool with an empty "black box" + removing its content.
* We will not update the action identifier (`replace-with-collapsed-pool`) to avoid breaking changes.
* Make it possible to retrieve label via function

Related to camunda/camunda-modeler#2022
2020-12-07 10:33:27 +00:00
1ccba5c5e6 feat(replace): add switch between DataStore and DataObject in replace menu
Closes #1372
2020-12-03 11:01:38 +00:00
667d469f38 feat(modeling): provide generic moddle properties update API
Modeling#updateModdleProperties allows users to update moddle elements
that are backed up by diagram elements.

It provides us a path forward when we start to update more _hidden_
things from within the modeling canvas.
2020-11-19 14:24:59 +00:00
4b46f695ce feat(modeler): add toggle to mark a data object as a collection
Closes #381
2020-11-18 10:03:46 +00:00
06ca742bc2 feat(popup-menu/replace): disallow replace typed event in subprocess 2020-07-30 09:34:09 +02:00
2dd1e13305 chore(documentation): fix JSDoc boolean types 2020-04-07 06:52:55 +00:00
dd3a139a29 fix(replace): do not resize on replace sub process with ad hoc
Requires bpmn-io/diagram-js#432
Closes #1231
2019-11-15 14:04:08 +01:00
33156e43be chore(project): fix linting errors 2019-08-19 14:27:33 +00:00
9be61259bd chore(project): drop 'use strict'
We use ES modules, so 'use strict' is not necessary anymore.
2018-04-03 18:09:53 +02:00
d3449ca87c chore(project): es6ify source code
* use ES6 import / export
* UTILS: export individual utilities
* TESTS: localize TestHelper includes

BREAKING CHANGE:

* all utilities export independent functions
* library sources got ported to ES6. You must now use
  a ES module bundler such as Browserify + babelify or
  Webpack to consume this library (or parts of it).
2018-04-03 16:32:14 +02:00
245d1d6a96 chore(project): upgrade lodash to min-dash 2018-03-22 11:59:39 +01:00
b03014fc2c chore(project): update to new lint style 2018-02-27 10:08:31 +01:00
d32da90013 chore(lint): bump eslint
...and fix lint errors
2018-01-28 20:35:04 +01:00
13a9d24e84 fix(replace-menu): a compensation handler can also be a call-activity
closes #603
2016-08-16 16:02:38 +02:00
226a0d76ed feat(replace): properly collapse / expand SubProcess(es)
* correctly toggle collapse / expand state
* update children visibility

Closes #575
Closes #510

review(collapse-expand)
2016-08-09 11:33:59 +02:00
4714a7279d fix(replace-menu-provider): fix property name
* fix property name in order to ensure correct behavior
* adjust unit tests in order to ensure correct assertions
closes #571
2016-08-08 13:52:21 +02:00
91dd1b696c fix(replace):ComplexGateway can have default sequence flows
The BPMN 2.0 specification[1] states "a Sequence Flow that has an
Exclusive, Inclusive or Complex Gateway or an Activity as its source
can also be defined with as default."

This commit will honor that statement by allowing sequence flows from
Complex Gateway to be defined as default.

  [1] = http://www.omg.org/spec/BPMN/2.0/
2016-06-30 14:43:29 +02:00
1b17d45260 fix(replace-menu): add sub process to event sub process replace menu
Closes camunda/camunda-modeler#310
2016-06-16 15:18:51 +02:00
0ba239bbce chore(project): switch to eslint
Use eslint instead of jshint for linting.

* better linting results
* test files linted, too
* consistent code style checks

Closes #568
2016-06-07 09:55:32 +02:00
0731c9888b feat(modeling): I can morph tasks to expanded sub processes
* from expanded subprocesses to tasks or collapsed sub processes is not supported

Closes #247
2016-04-22 13:23:25 +02:00
489a6af3b2 fix(modeling): collapsed subprocess dont shows itself on the replace-menu
Solved with #247

Closes #509
2016-04-21 16:06:18 +02:00
4732dcfc74 feat(modeling): create collapsed pools via morph menu
You are now able to morph between collapsed and expanded pools

* Not possible to drop elements in a collapsed pool
* if a expanded pool collapses, the children are deleted

Closes #365
2016-03-14 16:28:23 +01:00
49173abdad feat(i18n): add localization
* Palette, ContextPad, Errors...

Closes #491
2016-03-11 20:10:10 +01:00
85f50ff907 fix(replace): require correct dependency modules 2016-03-11 16:59:07 +01:00
12bb7d3c55 fix(replace): allow morph into compensation SubProcess, too
Closes #461
2016-01-26 16:35:08 +01:00
d7834e9bee feat(replace): add compensation morph options
* compensation boundary
* compensation activity

Related to #291
2016-01-25 16:02:58 +01:00
305b59e1f3 fix(replace): allow morphing SubProcess -> EventSubProcess
Closes #451
2016-01-20 11:22:16 +01:00
694d52d6bb fix(ReplaceMenuProvider): handle condition/default when morphing flows
* Remove conditionExpression when morphing to default flow
 * Remove default property when morphing to conditional flow

Closes #441, closes #442
2016-01-08 12:01:01 +01:00