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: Display set should allow remembered updates #4707

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wayfarer3130
Copy link
Contributor

@wayfarer3130 wayfarer3130 commented Jan 17, 2025

Context

There was an extra check to see that a display set was a member of a display set selector which prevented changing the stage index. This PR removes that check and moves hte allowUnmatchedView to the display set selector level so that it is specified in the display set instead. The viewport value of that is deprecated but not removed until the next release.

Changes & Results

Testing

View study http://localhost:3001/tmtv/ohif?StudyInstanceUIDs=1.3.6.1.4.1.14519.5.2.1.7009.2403.871108593056125491804754960339
Drag the scout images into the top left viewport - it should say not allowed
Drag the second study CT stack to the top left viewport, it will complain but allow the substitution
Drag the second study PT stack to the middle left viewport, it should display the study
Navigate to the next stage:

The dragged CT/PT should be displayed

Fixes #4070

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:

@wayfarer3130 wayfarer3130 requested a review from sedghi January 17, 2025 20:15
Copy link

netlify bot commented Jan 17, 2025

Deploy Preview for ohif-platform-docs ready!

Name Link
🔨 Latest commit d15e190
🔍 Latest deploy log https://app.netlify.com/sites/ohif-platform-docs/deploys/678ad2ab95eba50008b5b474
😎 Deploy Preview https://deploy-preview-4707--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

netlify bot commented Jan 17, 2025

Deploy Preview for ohif-dev ready!

Name Link
🔨 Latest commit d15e190
🔍 Latest deploy log https://app.netlify.com/sites/ohif-dev/deploys/678ad2ab3f203a0008925b7a
😎 Deploy Preview https://deploy-preview-4707--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.

@sedghi
Copy link
Member

sedghi commented Jan 17, 2025

can you check this one in this process? #4070

Copy link

cypress bot commented Jan 17, 2025

Viewers    Run #4722

Run Properties:  status check passed Passed #4722  •  git commit d15e190710: Merge branch 'master' into fix/hanging-protocol-required-displayset
Project Viewers
Branch Review fix/hanging-protocol-required-displayset
Run status status check passed Passed #4722
Run duration 02m 08s
Commit git commit d15e190710: Merge branch 'master' into fix/hanging-protocol-required-displayset
Committer Bill Wallace
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 ↗︎

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.

[Bug] Can't change HP stage if we change the current active study
2 participants