Skip to content

fix(data-browser): expand the panel of newly loaded data - #1010

Open
ShivaBollam07 wants to merge 1 commit into
Kitware:mainfrom
ShivaBollam07:fix/expand-panel-of-loaded-data
Open

ShivaBollam07 wants to merge 1 commit into
Kitware:mainfrom
ShivaBollam07:fix/expand-panel-of-loaded-data

Conversation

@ShivaBollam07

@ShivaBollam07 ShivaBollam07 commented Nov 1, 2026 •

Copy link
Copy Markdown

Fixes #233

Problem

The data browser only expanded panels when hasAnonymousImages or the list of patients changed. Loading another non-DICOM image, or a new study for a patient that is already listed, changes neither, so a panel the user had collapsed stayed collapsed and the new data was not visible. The watcher also pushed keys that were already in panels.

Fix

Watch the loaded non-DICOM image IDs and the volumes of each patient instead, and expand the matching panel when new ones appear. A key is only added if it is not already open, and the sample data panel is still closed once data is loaded.

@netlify

netlify Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for volview-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 2910823
🔍 Latest deploy log https://app.netlify.com/projects/volview-dev/deploys/6aeca02f147462e144b540a3
😎 Deploy Preview https://deploy-preview-1010--volview-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 project configuration.

@PaulHax
PaulHax force-pushed the fix/expand-panel-of-loaded-data branch 3 times, most recently from e5e942b to 1bad09b Compare November 1, 2026 16:15
The panels were only opened when the set of patients or the presence of non-DICOM images
changed, so loading another image or a new study for an existing patient left a collapsed
panel collapsed. Open the panel whenever new images or volumes appear, without adding
duplicate keys.
@ShivaBollam07
ShivaBollam07 force-pushed the fix/expand-panel-of-loaded-data branch from 1bad09b to 2910823 Compare November 3, 2026 12:25

This branch has not been deployed

No deployments
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.

Open Panel when closed with data and loaded new data

1 participant