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(multiframe): metadata handling of NM studies and loading order #4554

Merged
merged 7 commits into from
Nov 28, 2024

Conversation

sedghi
Copy link
Member

@sedghi sedghi commented Nov 28, 2024

This pull request includes several updates across multiple files to improve functionality, fix issues, and update dependencies. The most important changes include removing specific headers from NGINX configurations, updating dependencies in multiple package.json files, and enhancing the segmentation panel with custom dropdown menu content.

NGINX Configuration Updates:

  • Removed Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy headers from .docker/Viewer-v3.x/default.conf.template and .docker/Viewer-v3.x/default.ssl.conf.template. [1] [2]

Dependency Updates:

  • Updated @cornerstonejs dependencies to version ^2.2.20 in various package.json files. [1] [2] [3] [4] [5] [6]

Webpack Configuration:

  • Removed the check for process.env.NODE_ENV in .webpack/webpack.base.js and adjusted Babel loader plugins based on the build mode. [1] [2]

Segmentation Panel Enhancements:

  • Introduced a custom dropdown menu content component in PanelSegmentation.tsx to enhance the segmentation panel with additional functionality. [1] [2] [3]

Miscellaneous Improvements:

  • Added a metadata handling wrapper for image load strategies in init.tsx to ensure metadata is properly managed during image loading. [1] [2]
  • Fixed a typo in a comment within DicomJSONDataSource/index.js.
  • Improved handling of multiframe instances in DicomLocalDataSource/index.js. [1] [2] [3]

…onTable

- Added a customizable dropdown menu for managing segmentations, including options to add, edit, remove, and export segmentations.
- Refactored SegmentationHeader and SegmentationSelectorHeader to utilize the new dropdown menu structure.
- Improved code organization by passing context props to child components for better reusability.
- Updated documentation comments in commandsModule for clarity.

This update improves user interaction with segmentation features and streamlines the codebase.
Copy link

netlify bot commented Nov 28, 2024

Deploy Preview for ohif-dev ready!

Name Link
🔨 Latest commit 6cdf6f5
🔍 Latest deploy log https://app.netlify.com/sites/ohif-dev/deploys/6748aeb7bd1d950008e5e0e1
😎 Deploy Preview https://deploy-preview-4554--ohif-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 28, 2024

Deploy Preview for ohif-platform-docs ready!

Name Link
🔨 Latest commit 6cdf6f5
🔍 Latest deploy log https://app.netlify.com/sites/ohif-platform-docs/deploys/6748aeb77abdd30008d9ba0e
😎 Deploy Preview https://deploy-preview-4554--ohif-platform-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

cypress bot commented Nov 28, 2024

Viewers    Run #4479

Run Properties:  status check passed Passed #4479  •  git commit 6cdf6f5cd1: Merge branch 'fix/multi-frame' of github.com:OHIF/Viewers into fix/multi-frame
Project Viewers
Branch Review fix/multi-frame
Run status status check passed Passed #4479
Run duration 02m 18s
Commit git commit 6cdf6f5cd1: Merge branch 'fix/multi-frame' of github.com:OHIF/Viewers into fix/multi-frame
Committer sedghi
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 44
View all changes introduced in this branch ↗︎

@sedghi sedghi changed the title fix/multi frame fix(multiframe): metadata handling of NM studies and loading order Nov 28, 2024
@sedghi sedghi merged commit 7624ccb into master Nov 28, 2024
20 checks passed
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.

1 participant