226 Commits

Author SHA1 Message Date
e95e16746d chore: lift up label-editing/LabelUtil 2023-04-24 10:30:43 +02:00
d51327e3b9 chore: remove dead code 2023-04-24 10:30:43 +02:00
556d003ebe chore: use UpdateLabelHandler for automatic label creation 2023-04-24 10:30:43 +02:00
881e2bd6ba fix: update label on modeling.updateModdleProperties
Closes #1872
2023-04-24 10:30:43 +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
07f75f7cd5 fix: fix remaining JSDoc and TS errors 2023-04-19 12:18:42 +02:00
e24c238e74 fix: fix behaviors JSDocs 2023-04-19 12:18:42 +02:00
56b0054d66 fix(modeling): fix ResizeBehavior JSDoc 2023-04-19 12:18:42 +02:00
d2e0b14d3e fix(modeling): fix ConnectionLayoutUtil JSDoc 2023-04-19 12:18:42 +02:00
fbf173776f fix(modeling): fix LabelBehavior JSDoc 2023-04-19 12:18:42 +02:00
550cc2244c fix(modeling): fix LayoutUtil JSDoc 2023-04-19 12:18:42 +02:00
40946a1ed8 fix(modeling): fix CategoryUtil JSDoc 2023-04-19 12:18:42 +02:00
54bfb00ec6 feat: add root elements to definitions for updates 2023-02-24 21:22:30 +01:00
b0049f9813 fix: consistently ensure BPMN 2.0 compliance through behavior
Closes #1738
2022-10-17 09:25:25 +02:00
b791a8415a Merge master to develop 2022-08-19 07:14:32 +00:00
21c8b96b66 fix: move labels to new plane when collapsing sub process
Closes #1695
2022-08-19 09:14:19 +02:00
c42dbf8a70 style: update code style
Apply latest bpmn-io code style.
2022-08-18 10:57:23 +00:00
8bdc9a43a9 fix(modeling): don't attach referencedRootElement on paste 2022-08-16 13:14:13 +00:00
f3a20e5603 fix(copy-paste): don't attach for labels 2022-08-16 13:14:13 +00:00
36db64e0e6 fix(copy-paste): don't blindly copy root elements
This causes unintended side-effects, for example copies 
`processRef` with every participant.

On top actual root element copy is being implemented via 
`RootElementReferenceBehavior`.
2022-08-16 13:14:13 +00:00
66c3612eb6 feat(copy-paste): implement group copy in a safe manner
* properly copy category and category value
* create category value when creating group label
2022-08-16 13:14:13 +00:00
8950d42509 fix(modeling): ensure group min dimensions (#1713)
Closes #1705
2022-08-15 13:32:22 +02:00
9b66c9771c fix: check for replacement using actual target
Closes #1696
Related to https://github.com/camunda/camunda-modeler/issues/2438
2022-07-13 11:31:11 +00:00
03937ad51f fix: use inherits-browser 2022-05-25 07:21:47 +00:00
6c3d50584c chore: re-export GeometricUtil from diagram-js 2022-05-25 07:21:47 +00:00
9b8c190625 fix(Layout): always reconnect labels and associations
closes #1658
2022-05-24 11:52:34 +00:00
759b6c60bb feat(modeling): update associations on connection change 2022-05-20 10:00:48 +00:00
9c357f4cbd chore: restructure LabelLayoutUtil 2022-05-20 10:00:48 +00:00
7478388070 deps: replace inherits with inherits-browser
This increase the safety of our build; external consumers
do no longer need to account for the `browser` field to
bundle bpmn-js (or otherwise bundle a Node shim, unintentionally).
2022-05-18 10:15:53 +00:00
bdc3966933 fix(bpmn-replace): add CallActivity to SubProcessStartEvent behaviour
Closes #1631
2022-04-22 07:22:36 +00:00
1e202d475f fix(modeling): allways create Categories in definitions
closes #1606
2022-02-21 17:37:45 +01:00
7ff9be7c8a fix(ES6): replace array.includes with es5 equivalent 2022-02-18 11:36:15 +00:00
bac7d5e1cd fix(modeling): ensure plane ID change is undoable
related to https://github.com/camunda/camunda-modeler/issues/2750
2022-02-15 08:08:45 +00:00
8d6e5954fa chore: code style 2022-02-10 14:21:29 +01:00
390031a7c3 feat: update/remove embedded label bounds on shape moved/resized
* update embedded label bounds on shape move
* remove embedded label bounds on shape resize

Related to https: //github.com/camunda/camunda-modeler/issues/2591

Co-Authored-By: Martin Stamm <martin.stamm@camunda.com>
Co-Authored-By: Philipp Fromme <philippfromme@outlook.com>
2022-02-10 12:13:56 +01:00
a696aa5953 fix(drilldown): prevent infinite loop on root property change
related to https://github.com/bpmn-io/bpmn-js-properties-panel/issues/569
2022-02-09 08:22:33 +01:00
13192efe0b fix(planes): use utility 2022-01-30 19:32:25 +00:00
892a92f6ec feat(copy-paste): copy collapsed subprocesses planes 2022-01-30 19:32:25 +00:00
fb6c649570 chore: simplify drilldown utility
* semantic names help understanding what the utility functions do without having to check their implementation
2022-01-30 16:52:32 +01:00
ebba204435 chore: code style
* single-line comments should always be lowercase
2022-01-30 16:52:32 +01:00
eefa78240b feat(planes): ensure plane link after ID change
closes #1575
2022-01-30 16:52:32 +01:00
715de7357b Merge master to develop 2022-01-24 10:46:14 +00:00
d521b018c1 fix: reusing process when creating first participant works on redo
* during `#preExecute` of `elements.create` process is passed to `shape.create` to be reused during `#execute` (there is no `#exeute` for `elements.create` as it only executes other commands during `#preExecute`)
* process must be reused during `#execute` of `shape.create` for `#redo` to work
* refactor implementation

Closes #1439
2022-01-24 10:45:55 +00:00
2ae21c3c57 Merge master to develop 2022-01-19 08:20:34 +00:00
4e161427b8 fix(modeling): ensure IDs are claimed when used
closes #1555
2022-01-19 08:20:14 +00:00
d3ecd92dcd feat(modeling): delete nested subprocesses 2022-01-12 09:14:15 +01:00
2e672d0e24 feat(modeling): support morphing to AdhocSubprocess 2022-01-12 09:14:15 +01:00
12fe06bfa6 feat(modeling): reconnect flows on collapse 2022-01-12 09:14:15 +01:00
b8ed73b7f8 feat(modeling): support toggle collapse with drilldown
closes #1539
2022-01-12 09:14:15 +01:00