Commit Graph

1398 Commits

Author SHA1 Message Date
Nico Rehwaldt 1538bd8a9e style(tests): use appropriate chai matcher 2019-03-12 08:56:03 +00:00
Nico Rehwaldt 45486f2afe fix(import): gracefully handle missing waypoints
This ensures we do not blow up if a diagram
is missing waypoints for connections.

Related to camunda/camunda-modeler#1294
2019-03-12 08:56:03 +00:00
Nico Rehwaldt 0a9efb793b test(modeling/behavior): localize test diagram 2019-03-12 08:56:03 +00:00
Nico Rehwaldt 918859c630 chore(LICENSE): update date 2019-02-28 10:22:35 +01:00
Nico Rehwaldt 9e96d581e9 3.2.1 2019-02-08 21:50:28 +01:00
Nico Rehwaldt 7acdadf5d9 chore(CHANGELOG): update to v3.2.1 2019-02-08 21:44:06 +01:00
Nico Rehwaldt ed798a1525 chore(project): bump tiny-svg dependency
This works around an MS Edge bug that makes the
browser blow up (Edge 18) or export invalid SVG
(Edge 17).

Closes #879
Closes #860
Closes #938
2019-02-08 21:35:00 +01:00
Maciej Barelkowski 627a63e4ef 3.2.0 2019-01-31 11:59:01 +01:00
Maciej Barelkowski 402b8b1355 chore(CHANGELOG): update to v3.2.0 2019-01-31 11:52:41 +01:00
Maciej Barelkowski 39d4f1c57e feat(modeling): set isHorizontal=true for partipant/lane DIs
Closes #934
2019-01-31 10:46:16 +00:00
Nico Rehwaldt 762b3d21e6 3.1.1 2019-01-28 14:49:41 +01:00
Nico Rehwaldt a52531c820 chore(CHANGELOG): update to v3.1.1 2019-01-28 14:46:03 +01:00
Nico Rehwaldt eb545060c4 chore(project): bump diagram-js dependency 2019-01-28 13:36:43 +01:00
Nico Rehwaldt ef09e1a68e 3.1.0 2019-01-14 16:50:14 +01:00
Nico Rehwaldt 8c65473aca chore(CHANGELOG): update to v3.1.0 2019-01-14 16:48:00 +01:00
Nico Rehwaldt 13d608f083 chore(project): bump diagram-js version 2019-01-14 16:31:24 +01:00
Nico Rehwaldt 327f12339b chore(project): bump diagram-js dependency 2019-01-12 00:40:56 +01:00
Nico Rehwaldt b00c673c7d test(project): use built-in progress reporter
* yields performance gains up to 30% compared to spec reporter
2019-01-10 12:36:02 +01:00
Nico Rehwaldt ce964e4182 3.0.4 2018-12-04 14:53:11 +01:00
Nico Rehwaldt 2f52401acb chore(CHANGELOG): update to v3.0.4 2018-12-04 14:51:07 +01:00
Nico Rehwaldt 31271059d4 fix(ordering): render labels always on top 2018-12-04 13:48:12 +00:00
Nico Rehwaldt fdac538602 3.0.3 2018-11-30 10:40:27 +01:00
Nico Rehwaldt 6f5e34fba9 chore(CHANGELOG): update to v3.0.3 2018-11-30 10:38:39 +01:00
Nico Rehwaldt 7aad42d178 fix(modeling): limit flow join behavior to bpmn:SequenceFlows
Closes #917
2018-11-30 09:32:05 +00:00
Nico Rehwaldt 60036cdeda chore(project): re-introduce package-lock 2018-11-27 08:38:38 +00:00
Nico Rehwaldt b410eed96f test(keyboard): use standard KeyEvents util 2018-11-21 09:41:52 +01:00
Nico Rehwaldt 9240971ce7 style(rules): remove unneeded unwrapping 2018-11-21 09:37:38 +01:00
Nico Rehwaldt 19491aa3fd 3.0.2 2018-11-19 14:19:10 +01:00
Nico Rehwaldt 90bf87c821 chore(CHANGELOG): update to v3.0.2 2018-11-19 13:14:11 +00:00
Nico Rehwaldt 93ed28090c chore(CHANGELOG): update to new pattern
* List all changes separate from breaking change list
* Don't link downstream issues
* Order entries FEAT, CHORE, FIX
2018-11-19 13:14:11 +00:00
Nico Rehwaldt e5307504ec chore(project): bump diagram-js-direct-editing
Use direct editing that is marked as compatible with latest diagram-js.
2018-11-19 13:14:11 +00:00
Nico Rehwaldt 00ba4d185a chore(project): update to diagram-js@3.0.1
Closes #904
2018-11-19 13:14:11 +00:00
Maciej Barelkowski 2a2347c40d 3.0.1 2018-11-07 07:56:05 +00:00
Maciej Barelkowski b6fb36b1a7 chore(CHANGELOG): update to v3.0.1 2018-11-06 14:59:06 +00:00
Niklas Kiefer e6c073ebea test(Modeler): add regression test for correct module injection 2018-11-06 13:56:53 +00:00
Niklas Kiefer 921eeb4843 fix(Modeler): use correct copy-paste-module 2018-11-06 13:56:53 +00:00
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