Skip to content

feat(DataBrowser): hide Sample Data if configured#381

Merged
floryst merged 1 commit intoKitware:mainfrom
PaulHax:hide-samples
Aug 1, 2023
Merged

feat(DataBrowser): hide Sample Data if configured#381
floryst merged 1 commit intoKitware:mainfrom
PaulHax:hide-samples

Conversation

@PaulHax
Copy link
Collaborator

@PaulHax PaulHax commented Jul 31, 2023

Kind of silly to make a new store just for this? 🤷 Simpler way?

Closes #380

@netlify
Copy link

netlify bot commented Jul 31, 2023

Deploy Preview for volview-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d4888e6
🔍 Latest deploy log https://app.netlify.com/sites/volview-dev/deploys/64c81c7814e40100088378ba
😎 Deploy Preview https://deploy-preview-381--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 site configuration.

Copy link
Contributor

@floryst floryst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about adding an empty state for the sidebar if there are no panels? Something that says "No data loaded". There should be a CSS way to detect this.

I'm okay with the extra store, since it keeps with the idea that the UI should be driven by the stores.

@PaulHax
Copy link
Collaborator Author

PaulHax commented Jul 31, 2023

Added the "No data loaded" message.

@floryst
Copy link
Contributor

floryst commented Aug 1, 2023

LGTM!

@floryst floryst merged commit 9cc4174 into Kitware:main Aug 1, 2023
PaulHax pushed a commit to PaulHax/VolView that referenced this pull request Apr 24, 2025
feat(DataBrowser): hide Sample Data if configured
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.

Hide Sample Data accordion section with config.json file

2 participants