-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove outline module from default modules in Viewer #2253
base: develop
Are you sure you want to change the base?
Remove outline module from default modules in Viewer #2253
Conversation
Consider whether or not to add a test for this. |
0a122d2
to
feb99a4
Compare
feb99a4
to
6c63f5a
Compare
|
f3180b3
to
8ad87fe
Compare
For changes that require upstream fix it is fine to prepare + test locally (linked) if things work. We release our libraries continuously, so the next step is to get things merged in diagram-js, release them, and incorporate them into this PR. |
test/spec/ViewerSpec.js
Outdated
var viewer = new Viewer({ container: container }); | ||
|
||
// when | ||
var outline = viewer.get('outline',false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var outline = viewer.get('outline',false); | |
var outline = viewer.get('outline', false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good test, clearly managing the expectations!
to make sure I understood correctly - we keep this PR open, fix |
Exactly. |
fba3a73
to
ad7ef31
Compare
ad7ef31
to
07bc2db
Compare
07bc2db
to
f7f882e
Compare
This is now cleaned up and waits for |
relates to #2135
Proposed Changes
We don't want to include outline module by default in
Viewer
modules to not include any visueal, non core functionalitiesChecklist
To ensure you provided everything we need to look at your PR:
@bpmn-io/sr
toolCloses {LINK_TO_ISSUE}
orRelated to {LINK_TO_ISSUE}