ESID
ESID copied to clipboard
Smart Day Selection
We want to improve the day selection and the initial selected day for the date picker.
Currently on first load, the case data is selected in the scenario cards, but the date is selected based on the last available day with (scenario) data. This leads to an empty district map, because there is no data for the selected day and the selected dataset.
Proposed changes:
- When a new dataset (scenario card) is selected the selected date could clamp to the available data (selecting the first or last day of data if prior selected day is outside data range)
- the default should be changed accordingly to have the last day of available case data selected (or the base scenario be selected and active by default)