-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
feat(layout): new layout selector #3923
Conversation
✅ Deploy Preview for ohif-dev canceled.
|
✅ Deploy Preview for ohif-platform-docs canceled.
|
Just need to add 1 missing icon from Dan, and then there's these two issues I noticed that are mentioned in the pull, no idea what the cause is yet. I can notice some of the issues happening because of something in Viewers/extensions/cornerstone/src/init.tsx Line 186 in 306bcea
the presentations not being defined, maybe the calls are happening in the wrong order. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3923 +/- ##
==========================================
- Coverage 46.23% 44.41% -1.83%
==========================================
Files 78 80 +2
Lines 1276 1333 +57
Branches 312 327 +15
==========================================
+ Hits 590 592 +2
- Misses 548 588 +40
- Partials 138 153 +15 see 9 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Passing run #3774 ↗︎Details:
Review all test suite changes for PR #3923 ↗︎ |
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.
I haven't tried it yet, since I know you know there are bugs, but great first draft thanks
@sedghi I addressed the comments, I can look more into the bugs that are happening on Monday. |
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.
I'm pretty sure this is not the design
We should probably call it Layouts or something since it is not grid any more, ask Dan
Probably we don't need MPR button anymore
since we moved it to layout
The other 3D rotate icon is too small too, it is something related to the new iconds
The icon should be first if I remember correctly and also the size is too small
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.
before you merge I think you need to add your toolbar changes to the modes, I only see trackballrotate in basic viewer, and the crosshairs don't disable as expected in segmentation mode but works good in basic viewer. |
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.
Looks amazing, great job
Great work! Just one detail, when you click on some 3D layout and then put a normal layout, it goes black |
@rmasad Yeah i know that and working on it right now |
thanks @sedghi! |
Context
Addresses issue/ feature request #3643
Changes & Results
Testing
Visit https://deploy-preview-3923--ohif-dev.netlify.app/viewer?StudyInstanceUIDs=2.16.840.1.114362.1.11972228.22789312658.616067305.306.2
And test out the different presets.
Checklist
PR
semantic-release format and guidelines.
Code
etc.)
Public Documentation Updates
additions or removals.
Tested Environment
Issues