Commit Graph

1562 Commits

Author SHA1 Message Date
Maciej Barelkowski c13910ff3e 3.0.0 2018-11-01 13:24:39 +00:00
Maciej Barelkowski dd80469478 chore(CHANGELOG): update to v3.0.0 2018-10-31 16:33:47 +01:00
Nico Rehwaldt a94406e423 feat(modeler): (re-)integrate selection moving via keyboard
Closes #376
2018-10-29 14:52:41 +00:00
Nico Rehwaldt c3f967b39f chore(keyboard): handle { keyEvent } listener result
* event got renamed to keyEvent in context passed to
  keyboard listeners
2018-10-29 14:52:41 +00:00
Nico Rehwaldt a525c633a2 chore(keyboard): register keys backed by editor actions only
* only register keyboard bindings that are backed by actual
  editor actions
* rename BpmnKeyBindings -> BpmnKeyboardBindings for parity with
  diagram-js@latest
* sub-class and override _keyboardBindings_ service provided
  by diagram-js
* extend spec to verify default actions
2018-10-29 14:52:41 +00:00
Nico Rehwaldt 645265ad7e chore(editor-actions): make dependencies optional
* Treat features as optional dependencies and register action
  only if feature exists
* Explicitly add features to the Modeler and NavigatedViewer types
2018-10-29 14:52:41 +00:00
Nico Rehwaldt b60feba531 test(Viewer): verify editor action support 2018-10-29 14:52:41 +00:00
Nico Rehwaldt a348092230 test(NavigatedViewer): verify editor action support 2018-10-29 14:52:41 +00:00
Nico Rehwaldt 37e38e9a2a test(Modeler): verify existing editorActions 2018-10-29 14:52:41 +00:00
Maciej Barelkowski f0610721c9 feat(keyboard): use key value for bindings
`KeyboardEvent.keyCode` is deprecated, so the BpmnKeyBindings will
use non-deprecated `KeyboardEvent.key` instead.
2018-10-29 14:52:41 +00:00
Maciej Barelkowski 75135b667a feat(keyboard): rewrite listeners to use event passed in context
With the new version of `diagram-js`, the keyboard listeners receive
a single parameter which is an object with `KeyboardEvent` event
as the only property. `BpmnKeyBindings` needed to change in order
to make use of new version of API.
2018-10-29 14:52:41 +00:00
Maciej Barelkowski 03cd2a7e11 chore(project): bump diagram-js version 2018-10-29 14:52:41 +00:00
Nico Rehwaldt 8967362df7 chore(project): detect unresolved lint rules
This ensures we don't accidently require files in the lib directory
via the global `lib` import. That stuff works during tests but does
not work in the final bundle.

Considerations: This plugin adds some runtime overhead to our linting
process.
2018-10-26 11:18:37 +00:00
Nico Rehwaldt 61ffd58328 chore(project): bump devDependencies 2018-10-26 09:39:35 +00:00
Nico Rehwaldt 3aa2518404 chore(ci): run test on node_js@10 2018-10-26 09:39:35 +00:00
Nico Rehwaldt 61ccf3047f chore(project): drop unused dependency 2018-10-26 09:39:35 +00:00
Nico Rehwaldt ab51cdb1fa chore(ci): execute codecov via npx
* drop codecov devDependency
2018-10-26 09:39:35 +00:00
nygma ef0e4fb02d fix: error date in license 2018-10-25 19:12:20 +02:00
Niklas Kiefer acd2fe520b feat(draw): render group names
Closes #844
2018-10-25 14:32:07 +02:00
Philipp Fromme 6d54ff34e3 chore(boundary-event-behavior): clean up tests 2018-10-17 14:31:40 +00:00
Niklas Kiefer 178e1cfccb fix(modeling/behaviors): add a behavior that deletes attached boundaries after replacing a gateway with an event based gateway 2018-10-17 13:12:31 +00:00
Niklas Kiefer b3e4b1dc1f fix(modeling/behaviors): add behavior for deleting boundaries on receive tasks after connecting to event based gateway 2018-10-16 10:53:57 +00:00
Niklas Kiefer ea681df2d3 fix(bpmn-rules): adjust canAttach rule for boundary events after event based gateways 2018-10-16 10:53:57 +00:00
Maciej Barelkowski ba42e9edde feat(global-connect): use rules for connection starting
* remove `BpmnGlobalConnect` provider
* use `connection.start` rule to determine whether
  an element can start a connection

Closes #565
Closes #870

BREAKING CHANGE:

* `BpmnGlobalConnect` got removed. Add `connection.start`
  rule to specify whether connection should be allowed.
2018-10-11 09:28:30 +00:00
Nico Rehwaldt 026fe11ea7 chore(project): bump min-dash dependency
* fixes broken isDefined / isUndefined utils
2018-10-09 13:37:38 +00:00
Nico Rehwaldt 08ec264c81 chore(project): don't lint coverage folder
Ensure the linter does not pick up our coverage reports,
generated via COVERAGE=1 npm test
2018-10-04 16:37:28 +02:00
Nico Rehwaldt f99a0a9609 chore(project): add test coverage
* monitor coverage via codecov
* run coverage locally via COVERAGE=1 npm test
2018-10-04 07:37:01 +00:00
Niklas Kiefer 350a5ab75e feat(contextPad): Adjustments for IntermediateCatchEvents
adjust tooltip titles
i18n support
2018-10-02 09:09:19 +02:00
Niklas Kiefer 6b0a73145d feat(contextPad): improve tooltip titles for IntermediateCatchEvents 2018-10-01 12:38:19 +00:00
Nico Rehwaldt 4de42680ba chore(CONTRIBUTING): link conventional commits 2018-09-27 14:34:48 +02:00
Nico Rehwaldt a193bd0f43 chore(project): update BUG_REPORT fiddle links 2018-09-27 14:26:21 +02:00
Nico Rehwaldt 4c69f3db5e chore(CONTRIBUTING): drop issue and bug related hints
The hints are part of our BUG / FEATURE REQUEST templates now.
2018-09-27 13:57:19 +02:00
Nico Rehwaldt ba0c966f95 chore(project): split up ISSUE_TEMPLATE
* add bug template
* add feature request template
* update pull request template
2018-09-27 13:57:19 +02:00
Nico Rehwaldt 20b48815df chore(project): simplify pull request template 2018-09-27 12:25:06 +02:00
Nico Rehwaldt 2cddc9fbd0 chore(project): reformat issue template 2018-09-27 12:25:06 +02:00
Nico Rehwaldt 0346a2a4fa 2.5.2 2018-09-20 23:14:42 +02:00
Nico Rehwaldt f3f004dcfc chore(CHANGELOG): bump to v2.5.2 2018-09-20 23:10:01 +02:00
Nico Rehwaldt 21b5a07257 chore(project): bump bpmn-js version 2018-09-20 23:08:55 +02:00
Nico Rehwaldt e54a3a7692 test(draw): visually verify label rendering 2018-09-20 22:18:10 +02:00
Nico Rehwaldt 90faab981d fix(draw): correct embedded label padding 2018-09-20 21:57:23 +02:00
ruvor 31177b94e7 style(Viewer): fix a typo in the imported name 2018-09-03 09:24:10 +02:00
Nico Rehwaldt 63ded60497 2.5.1 2018-08-29 00:44:38 +02:00
Nico Rehwaldt cf6ab99eb2 chore(CHANGELOG): update to v2.5.1 2018-08-29 00:40:30 +02:00
Nico Rehwaldt 374c7d7f18 fix(rules): correct bpmn:Lane insert rule
Closes #855
2018-08-29 00:38:03 +02:00
Nico Rehwaldt acff17fbd7 2.5.0 2018-08-22 14:53:44 +02:00
Nico Rehwaldt 0193f69e52 chore(CHANGELOG): bump to v2.5.0 2018-08-22 14:48:31 +02:00
Nico Rehwaldt c2196967fc chore(project): bump diagram-js version
* Fixes sub-pixel coordinates being exposed by Dragging.
2018-08-22 14:48:20 +02:00
Nico Rehwaldt 6689af6f5b feat(snapping): snap message flows to bpmn:Event mid
This snaps source / target to the element mid, if
the element is a `bpmn:Event`.

There is usually no more than one snap point for
an event other than the center.

Closes #850
2018-08-22 14:43:16 +02:00
Nico Rehwaldt cdacc69a3d chore(modeling/BpmnLayouter): simplify manhattan layout logic 2018-08-22 14:43:16 +02:00
Nico Rehwaldt 905ee6f667 fix(rules): allow labels to be dropped everywhere
Closes #849
2018-08-22 14:41:59 +02:00