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

Restricting the available days when data lags expected; COUNTRY=jordan #1295

Closed
wants to merge 30 commits into from

Conversation

gislawill
Copy link
Collaborator

@gislawill gislawill commented Jul 2, 2024

Description

This update addresses this request: #1259 (comment)

It applies the "earliestExpectedDataLagDays" logic across our default data selection and which dates are available to select.

In my opinion, this is probably not worth the effort to maintain — it's not intuitive and could easily result in future bugs. But we could always merge it has a hack and remove it once https://github.com/WFP-VAM/hip-service/issues/12 is ready

How to test the feature:

  • Open the jordan prism instance
  • Select the Combined Drought Index (v2)

Checklist - did you ...

Test your changes with

  • REACT_APP_COUNTRY=rbd yarn start
  • REACT_APP_COUNTRY=cambodia yarn start
  • REACT_APP_COUNTRY=mozambique yarn start
  • Add / update necessary tests?
  • Add / update outdated documentation?

Screenshot/video of feature:

Screenshot 2024-07-02 at 9 42 33 AM

Copy link

github-actions bot commented Jul 2, 2024

Build succeeded and deployed at https://prism-1295.surge.sh
(hash 08eba4e deployed at 2024-07-31T20:29:46)

@gislawill gislawill marked this pull request as draft July 2, 2024 17:42
@gislawill
Copy link
Collaborator Author

Converting to draft — only for use in demo

Base automatically changed from dynamic-error-cdi to cdi-range-update July 3, 2024 15:30
Base automatically changed from cdi-range-update to master July 15, 2024 19:07
@gislawill
Copy link
Collaborator Author

Closing in favor of #1326

@gislawill gislawill closed this Aug 6, 2024
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.

3 participants