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

[#1238] Use the new derived atom for dataset hydration #17

Merged
merged 4 commits into from
Nov 25, 2024

Conversation

dzole0311
Copy link
Contributor

@dzole0311 dzole0311 commented Nov 20, 2024

Test locally using the related VEDA UI pull request + description and test instructions: NASA-IMPACT/veda-ui#1266

Copy link

netlify bot commented Nov 20, 2024

Deploy Preview for veda-ui-next-test ready!

Name Link
🔨 Latest commit da25739
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui-next-test/deploys/67449d56a52e700008a8f4ef
😎 Deploy Preview https://deploy-preview-17--veda-ui-next-test.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.

@dzole0311 dzole0311 marked this pull request as draft November 20, 2024 17:38
@dzole0311 dzole0311 changed the title Test the new derived atom for dataset hydration Use the new derived atom for dataset hydration Nov 21, 2024
@dzole0311 dzole0311 changed the title Use the new derived atom for dataset hydration [#1238] Use the new derived atom for dataset hydration Nov 21, 2024
@dzole0311 dzole0311 marked this pull request as ready for review November 21, 2024 08:39
@vgeorge vgeorge self-requested a review November 25, 2024 15:45
Copy link
Member

@vgeorge vgeorge left a comment

Choose a reason for hiding this comment

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

@dzole0311 I followed the steps, this is working as described 👍

dzole0311 added a commit to NASA-IMPACT/veda-ui that referenced this pull request Nov 25, 2024
**Related Ticket:** #1238
**Related Next.js PR:**
developmentseed/next-veda-ui#17

### Description of Changes
- Removed dependency on static datasets (veda_faux_module_datasets) when
reconciling datasets from URL params in E&A
- Created `externalDatasetsAtom` to store datasets from host
applications (eg Next.js)
- Modified `datasetLayersAtom` to use external datasets instead of the
bundled static datasets from VEDA UI

### Notes & Questions About Changes
_{Add additonal notes and outstanding questions here related to changes
in this pull request}_

### Validation / Testing
VEDA UI
1. Open E&A and select a few datasets
2. Once they are loaded, refresh the page
3. Verify that the datasets still load without issues, no errors are
thrown

Next.js
1. Same as for the VEDA UI above
@dzole0311 dzole0311 merged commit 9eae23c into main Nov 25, 2024
4 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.

2 participants