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

Restrict dynamic colormaps to applicable layer types #1183

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

dzole0311
Copy link
Collaborator

Related Ticket: #1182

Description of Changes

  1. Added util function isRenderParamsApplicable to handle the exclusion of render parameters for vector datasets (for now, add more if applicable in the future)
  2. Updated logic in reconcileQueryDataWithDataset to prevent errors when processing vector datasets that don't support colormaps or rescaling

Notes & Questions About Changes

Vector datasets should be excluded from applying dynamic colormaps.

Validation / Testing

  1. Verify that vector datasets no longer trigger errors in the exploration view
  2. Test colormap functionality on raster datasets and make sure there are no regressions

Copy link

netlify bot commented Oct 2, 2024

Deploy Preview for veda-ui ready!

Name Link
🔨 Latest commit 288d720
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui/deploys/66fd555fa7347900089a0598
😎 Deploy Preview https://deploy-preview-1183--veda-ui.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
Collaborator

@sandrahoang686 sandrahoang686 left a comment

Choose a reason for hiding this comment

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

thanks for looking into it, one comment, but not enough to block

@dzole0311 dzole0311 merged commit 54947e0 into main Oct 2, 2024
8 checks passed
@dzole0311 dzole0311 deleted the 1182-restrict-colormaps-to-supporting-layers branch October 2, 2024 14:19
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.

2 participants