-
-
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
fix(toolbox): Preserve user-specified tool state and streamline command execution #4063
Conversation
✅ Deploy Preview for ohif-dev ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for ohif-platform-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4063 +/- ##
==========================================
- 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 ☔ View full report in Codecov by Sentry. |
Passing run #3871 ↗︎
Details:
Review all test suite changes for PR #4063 ↗︎ |
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.
LGTM
needs this cornerstonejs/cornerstone3D#1225
Context
Breaking Changes
The Double Range option
The
values
is renamed tovalue
Toolbox (with Options) Commmands
Now the top level
commands
is removed and eachcommands
in the options automatically runs upon entry to make sure the state is preservedpreviously there were two sets of commands, one at the top level and one at the options level which caused a lot of issues
Now if you have options, you can just have the commands options, and that will make sure the state is correctly set based on the latest state
Toolbox was resetting the user specified tool
Previously
CleanShot.2024-04-23.at.16.35.02.mp4
Current
Fixes it
Was not able to jump correctly in volume viewports
https://share.cleanshot.com/q9VmwK0r
Changes & Results
Testing
Checklist
PR
semantic-release format and guidelines.
Code
etc.)
Public Documentation Updates
additions or removals.
Tested Environment