Skip to content
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(new layout): address black screen bugs #4008

Merged
merged 6 commits into from
Mar 28, 2024

Conversation

sedghi
Copy link
Member

@sedghi sedghi commented Mar 28, 2024

  • Refactor viewport loading and toolbar layout selector***
  • Remove unused code and update dependencies
  • Update SplitButton and ToolbarButton components
  • Update classNames in ToolbarLayoutSelector component
  • upgrade cs3d

Context

Changes & Results

Testing

Checklist

PR

  • [] My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

  • [] My code has been well-documented (function documentation, inline comments,
    etc.)

Public Documentation Updates

  • [] The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • [] OS:
  • [] Node version:
  • [] Browser:

***Fix findOrCreateViewport function to use viewportsByPosition***

***Update ToolbarLayoutSelectorWithServices to use commandsManager***

***Update toolbarButtons to use commandsManager***

***Fix determineActiveViewportId to handle empty displaySetInstanceUIDs
Copy link

netlify bot commented Mar 28, 2024

Deploy Preview for ohif-dev canceled.

Name Link
🔨 Latest commit de82b31
🔍 Latest deploy log https://app.netlify.com/sites/ohif-dev/deploys/6605d08999c7020007586f12

Copy link

netlify bot commented Mar 28, 2024

Deploy Preview for ohif-platform-docs canceled.

Name Link
🔨 Latest commit de82b31
🔍 Latest deploy log https://app.netlify.com/sites/ohif-platform-docs/deploys/6605d089f3fcb60008def672

Copy link

codecov bot commented Mar 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.41%. Comparing base (8a335bd) to head (de82b31).
Report is 269 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4008      +/-   ##
==========================================
- 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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aac3546...de82b31. Read the comment docs.

Copy link

cypress bot commented Mar 28, 2024

Passing run #3777 ↗︎

0 43 0 0 Flakiness 0

Details:

Commented out unused code in findOrCreateViewport function
Project: Viewers Commit: de82b31c70
Status: Passed Duration: 06:05 💡
Started: Mar 28, 2024 8:29 PM Ended: Mar 28, 2024 8:36 PM

Review all test suite changes for PR #4008 ↗︎

@sedghi sedghi changed the title fix/new layout selector stuff fix(new layout): address black screen bugs Mar 28, 2024
@sedghi sedghi merged commit 158a181 into master Mar 28, 2024
10 of 11 checks passed
edcheyjr pushed a commit to edcheyjr/Viewers that referenced this pull request Apr 7, 2024
thanh-nguyen-dang pushed a commit to uc-cdis/Viewers that referenced this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant