-
Notifications
You must be signed in to change notification settings - Fork 163
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
Date sliders have minimum span making reasonably narrow time slice impossible #1406
Comments
The minimum slider width existed to make it a nice user experience when pushing data slider for something like: https://nextstrain.org/ebola. This minimum width makes for a nice range and an informative map view. It's also necessary to keep the handles from getting too close to one another where they'd become difficult touch / click targets. That said, I also edit the dates manually via URL to address the issue above. I'd think the nicest UI here would be to click on the "2021-07-15" and get to enter text. I'd prefer text field to calendar field, which I find cumbersome for these large spans of time. |
Would one alternative be to make the minimum span user customisable depending on purpose? Or are we them getting into unwieldy territory? |
+1 for min/max date entry fields. This is a feature request we've had from other users before for the same requested use case. I don't understand the cumbersome part of the formal |
This would be great. Needing to select this isn't frequent, but essential when it's needed (I use the URL hack too, but it's not the world's best UI). I would think selecting text would be the easiest and most useful addition. As an addition to this, having small icons which bring up a calendar widget would be nice and may be more useful for some. For instance, a MdDateRange icon would look like: and clicking brings up a small datepicker, like so (just using a screenshot as an example): Requirements / minor comments:
|
I would sometimes like to zoom into the very most recent sample dates. Unfortunately, the date range slider does not allow me to get in closer than maybe 5-10% of the whole time span. For SC2 trees this is now around 6 weeks, which is quite a lot of time. I'd like to be able to zoom into the most recent 2 weeks. To do this, I currently have to edit the URL to change the date manually. But that's not great since it makes a browser reload necessary.
I can't slide the left hand slider any further to the right than this:
I don't know what the best way would be to give the user more control. I presume you chose the minimum slider width on purpose because otherwise it becomes difficult to slide open again. One could add a text field?
The text was updated successfully, but these errors were encountered: