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

WDPA: read them from scenario instead of store in certain cases #452

Merged
merged 12 commits into from
Aug 16, 2021

Conversation

mbarrenechea
Copy link
Member

WDPA: read them from scenario instead of store in certain cases

Overview

This PR adds:

  • withScenario HOC to prefetch scenarios from server
  • use wdpaIucnCategories and wdpaThreshold from scenario data

@vercel
Copy link

vercel bot commented Aug 16, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

marxan – ./app

🔍 Inspect: https://vercel.com/vizzuality1/marxan/B9N9P1qteWHa9Pkpu3eJgixaSjDG
✅ Preview: https://marxan-git-fix-wdpa-flow-vizzuality1.vercel.app

marxan-storybook – ./app

🔍 Inspect: https://vercel.com/vizzuality1/marxan-storybook/FxW3tfnUyrW9bGaiYaLM8ncvGhmr
✅ Preview: https://marxan-storybook-git-fix-wdpa-flow-vizzuality1.vercel.app

@mbarrenechea mbarrenechea self-assigned this Aug 16, 2021
@mbarrenechea mbarrenechea added Frontend Everything related frontend New feature New Feature Ready to review PR ready to review labels Aug 16, 2021
'source-layer': 'layer0',
filter: [
'all',
['in', ['get', 'scenarioPuId'], ['literal', solution]],
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is not going to work, I was just trying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Everything related frontend New feature New Feature Ready to review PR ready to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants