Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding support for seasonal cdi; COUNTRY=jordan (#1301)
* Updating to use month range * Fix date propagation in CDI * Update composite_data.ts * Use getFormattedDate * Update composite_data.ts * Update composite_data.ts * add mozambique cdi for testing * Update index.tsx * Dynamic error cdi; COUNTRY=jordan (#1259) * Updating to use local hip service * no console * Clean up * Clean up readme --------- Co-authored-by: Christopher J Lowrie <[email protected]> Co-authored-by: ericboucher <[email protected]> Co-authored-by: Amit Wadhwa <[email protected]> Co-authored-by: Will Gislason <[email protected]> * Removing local hip service env var * Error handling fixes and end date support form the lyer * Initial support for seasonal CDI * Remove console log, update configs for tests to pass * Appease eslint * Fixing seasonal fetch - using first of next season as 'end' * Support for validity areas in composite layers * Reducing date deduping * Clean up * refactor datesAreEqualWithoutTime * Fix datesAreEqualWithoutTime * Adding 'season' validity * Skip the tests * Fixing query date for seasonal range * Updating CDI config in cambodia and mozambique * Update tests * undo log update * update mozambique CDI for testing * Update composite monthly date range * Handling overlap selection for dates without overlapping validity * fix test * rename scale to period * Updates to date picking * Allow composite layers with validity or without * Update the query display matching to be more flexible * Updating event handlers in time selection * Test fic * Better test fix * Break out visible layer dates and selectable layer dates * don't fetch CDI for invalid dates * fix tests * Fixing availability date indicator * Ensuring messaging fires * fix lint * Reuse clickDate for draggable item * Update index.tsx * Update datasetStateSlice.ts * Update index.tsx * Adding back no date overlapping handling * Ensuring that date selection warning is displayed when the date jumps to valid date * Remove check intersection, leveraging logic in layer-utils * using in datesAreEqualWithoutTime in findDateIndex * Update layers-utils.tsx * Only remove non-boundary layers * Handling AA dates with fewer limitations * Add comment to code * Fix extra visible dates for AA * Update logic in useLayer's useEffect to ensure we don't exit early * Fix AA parseFloat * Ensuring group is writable in formatLayersCategories * fixing eslint --------- Co-authored-by: Christopher J Lowrie <[email protected]> Co-authored-by: ericboucher <[email protected]> Co-authored-by: Amit Wadhwa <[email protected]> Co-authored-by: Chris Lowrie <[email protected]>
- Loading branch information