NASA-IMPACT / veda-ui

Frontend for the Dashboard Evolution project
Other
19 stars 4 forks source link

[E & A] Date picker aligns with temporal density #990

Closed aboydnw closed 1 month ago

aboydnw commented 4 months ago

Context

Deborah received some feedback from scientists while they were playing with the new exploration and analysis page. One comment they had was, when they are viewing an annual dataset, the date shouldn't be specific to the day. "We're not viewing October 8th, we're viewing 2021." This is potentially confusing.

My assumption is the data picker should default to the lowest common denominator, since we can show datasets of multiple temporal densities on the page. So, I wrote the AC below to match that. I intentionally left out sub-daily temporal densities, we can adress that in a different ticket.

Acceptance Criteria

aboydnw commented 4 months ago

Potentially relates to #979 if we are assessing the new design system, could check for feasibility of this ticket

faustoperez commented 4 months ago

My assumption is the data picker should default to the lowest common denominator, since we can show datasets of multiple temporal densities on the page

Agree. Self-assigning this.

j08lue commented 3 months ago

You cannot avoid that the "master playhead" sits at an arbitrary point of a period (year, month, day), instead of the center, when there is another layer with different time resolution.

But maybe we can get a better indication, which period is currently active, even if the playhead sits somewhere in between?

Maybe something like highlighting the active period or so? Just an idea...

image

faustoperez commented 3 months ago

But maybe we can get a better indication, which period is currently active, even if the playhead sits somewhere in between?

I like that idea Jonas!

j08lue commented 1 month ago

I see this ticket was about the date picker and not the playhead or the boxes on the timeline.

Did you consider, though, also implementing some visual cue for the user to see which period is active, as I suggested above? Or did you drop / postpone that? Just curious...