You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Time slider date labels are redundant to date-editing controls #648
Each of the three dates that the time slider keeps track of is represented twice in the time slider UI:
The range start date has input fields at the top and a label to the left of the slider.
The range end date has input fields at the top and a label to the right of the slider.
The current date has a label above the slider and a button to the right that opens a dialog box to edit it.
These two representations seem unnecessary, since an input field also indicates its current state. Moreover, the date range labels are presented in a compact date format, which necessitates a legend clarifying the date format. All this redundancy bloats the overall time slider control panel and makes it difficult for a new user to understand the relationship between the various controls.
Here are some suggestions for streamlining the control panel:
Move the range controls to either side of the slider, replacing the date labels and date format labels.
To maintain a compact width, shorten the month names in the month combo box.
Replace the <input type="number"> fields with <input type="text">. The increment/decrement steppers on <input type="number"> take up space, hurt accessibility, and surprisingly react to scroll wheel gestures on Windows.
Eliminate both Set buttons. Update the range immediately when the user leaves one of these combo boxes or input fields.
Move the ✏️ button closer to the current date, or replace the current date label with editable controls and eliminate the ✏️ button.
With these changes, it might be worth revisiting the control panel’s placement. A horizontal bar along the bottom of the map would integrate better into the overall site design. Since it wouldn’t cover up the map or any other controls, a minimized mode would no longer be necessary. There would also be room to lengthen the slider on most screens, allowing the user to navigate more granularly within the date range.
@danrademacher - these all seem like good suggestions. I cannot remember the name of the accessibility designer we worked with, but perhaps we could get her to weigh in here? I did think she had some opinions about the need for the Set buttons, but there may be others.
Frankly, I think the time slider’s accessibility is a moot point as long as the map it manipulates continues to be a raster map. #651 tracks replacing it with a vector map, which would support accessibility needs like high-contrast and large-text modes almost out of the box. With the addition of a well-used accessibility plugin, individual features would then be accessible to screen readers.
Make a very long very slim slider across the full screen width at the bottom; longer means finer control when moving it (like when using a video slider, longer is better)
Just state the years at each end (tiny month and day also IF entered or relevant (e.g. very small range)) but don't give them change controls; make them clickable (blue underline), so you click them to get a popup to change them. The popup can either provide the one you clicked, or both, if both it should focus in the popup on the one you clicked.
So the slider should jump from exact year to exact year unless the slider range is small, where it can do months, and if very small, days also.
Have the browser remember the last date set, a user will be fairly consistent with needs during whatever project they are working on. An option can be available on the date change popup to turn on this remembering to comply with regulations.
Month and day are redundant but if they must be there on the popup changer, make them very unobtrusive so the year stands out for changing (any prominent method is fine, e.g. give the year box a yellow background).
Current Date can be on the slider button that you drag along, or if preferred at one of the ends, I think on the button is better.
Option to fit slider dates to items in the vicinity - an area maybe a bit wider than the viewing port. So you can zoom your area, click auto-fit, then get to work.
These are great suggestions! Recently, the Gramps Web project implemented a compact design in gramps-project/gramps-web#454 that happens to incorporate several of these ideas: extending the slider all the way across the map, only adjusting the year by default, remembering the date across page views, annotating the knob with the current date, and fitting the date range to what’s being shown on the map. Our time slider needs to include more options such as animation and precise date entry, but it suggests a way forward for this design.
Option to fit slider dates to items in the vicinity - an area maybe a bit wider than the viewing port. So you can zoom your area, click auto-fit, then get to work.
This would be nice to have in conjunction with a histogram display: #649.
Activity
jeffreyameyer commentedon Dec 9, 2023
@danrademacher - these all seem like good suggestions. I cannot remember the name of the accessibility designer we worked with, but perhaps we could get her to weigh in here? I did think she had some opinions about the need for the Set buttons, but there may be others.
1ec5 commentedon Dec 9, 2023
Frankly, I think the time slider’s accessibility is a moot point as long as the map it manipulates continues to be a raster map. #651 tracks replacing it with a vector map, which would support accessibility needs like high-contrast and large-text modes almost out of the box. With the addition of a well-used accessibility plugin, individual features would then be accessible to screen readers.
meteorquake commentedon Jul 6, 2024
Totally agree, it's huge. My input -
Make a very long very slim slider across the full screen width at the bottom; longer means finer control when moving it (like when using a video slider, longer is better)
Just state the years at each end (tiny month and day also IF entered or relevant (e.g. very small range)) but don't give them change controls; make them clickable (blue underline), so you click them to get a popup to change them. The popup can either provide the one you clicked, or both, if both it should focus in the popup on the one you clicked.
So the slider should jump from exact year to exact year unless the slider range is small, where it can do months, and if very small, days also.
Have the browser remember the last date set, a user will be fairly consistent with needs during whatever project they are working on. An option can be available on the date change popup to turn on this remembering to comply with regulations.
Month and day are redundant but if they must be there on the popup changer, make them very unobtrusive so the year stands out for changing (any prominent method is fine, e.g. give the year box a yellow background).
Current Date can be on the slider button that you drag along, or if preferred at one of the ends, I think on the button is better.
Option to fit slider dates to items in the vicinity - an area maybe a bit wider than the viewing port. So you can zoom your area, click auto-fit, then get to work.
David
1ec5 commentedon Jul 6, 2024
These are great suggestions! Recently, the Gramps Web project implemented a compact design in gramps-project/gramps-web#454 that happens to incorporate several of these ideas: extending the slider all the way across the map, only adjusting the year by default, remembering the date across page views, annotating the knob with the current date, and fitting the date range to what’s being shown on the map. Our time slider needs to include more options such as animation and precise date entry, but it suggests a way forward for this design.
This would be nice to have in conjunction with a histogram display: #649.
Move time slider below map