-
Notifications
You must be signed in to change notification settings - Fork 32
Zoom Pipeline editor in/out/reset #2006
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
Zoom Pipeline editor in/out/reset #2006
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2006 +/- ##
========================================
+ Coverage 72.0% 73.7% +1.6%
========================================
Files 390 390
Lines 14346 14346
Branches 1441 1441
========================================
+ Hits 10335 10577 +242
+ Misses 3650 3383 -267
- Partials 361 386 +25
Flags with carried forward coverage won't be shown. Click here to find out more.
|
| this.__updateHint(); | ||
| }, | ||
|
|
||
| __updateWorkbenchLayoutSize: function(position) { |
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.
nice
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.
pretty cool!!
what happens if I unzoom, move away and lose my workbench? can I "zoom all"?
When zooming in and out, the position of the nodes is taken into account, so I don't think you can actually lose the workbench. I will implement the "zoom all" button. |
|
Added issue to keep track of dragging #2016 |
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.
This is super cool.
I just saw that the unlink button disappears when you zoom in, and that the scroll bars act weird when you zoom out. If you zoom out and everything is visible, there shouldn't be any scroll bar right? In fact, they don't do anything.
I think it would be cool to implement the suggested features for this first iteration:
- zoom in and zoom out buttons for users without a mouse wheel
- zoom all that adjusts zoom to have the whole workbench in the view
Something like in GoogleMaps (the button at the top would be the 'zoom all' feature). And the unlink button would appear/disappear on top, too.

|
I haven't managed to run this on my computer yet and so haven't really "tested". If you think it makes sense, I would also make the zoom ability triggered with holding down Anyway AWESOME ODEI!!! |
|
I noticed something in zoomed in view and perhaps this is a separate issue - if you try to create a new service dragging from the out port of a service, the catalog will appear outside of the viewable space (in the extreme case you cannot see it at all). You tell me if you want me to put this as a separate issue =) |
That one could be addressed here #2016 |
That has always been the case, I can try forcing the catalog to be always completely visible. |
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.
Super cool!


What do these changes do?
Bonus:
Toolbar:

Related issue number
closes ITISFoundation/osparc-issues#253
realted to ITISFoundation/osparc-issues#368
How to test
Checklist
make openapi-specs,git commit ...and thenmake version-*)