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

Smart Day Selection #364

Open
NXXR opened this issue Jun 10, 2024 · 1 comment
Open

Smart Day Selection #364

NXXR opened this issue Jun 10, 2024 · 1 comment
Assignees
Labels
class:enhancement New feature or request

Comments

@NXXR
Copy link
Collaborator

NXXR commented Jun 10, 2024

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)
@NXXR NXXR added the class:enhancement New feature or request label Jun 10, 2024
@NXXR NXXR added this to ESID Jun 10, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in ESID Jun 10, 2024
@JonasGilg JonasGilg moved this from 🆕 New to 📋 Product Backlog in ESID Jun 10, 2024
@mknaranja
Copy link
Member

mknaranja commented Jun 10, 2024

I'd initially stick to the second idea as activating a scenario should probably not make the data / curves / maps to "jump". This should only happen if the map were otherwise gray/empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
class:enhancement New feature or request
Projects
Status: 📋 Product Backlog
Development

No branches or pull requests

3 participants