Make it clearer that you can select month and year in date picker

Currently the date picker in the admin ( /admin/reports/signups ) wants us to pick a date by selecting it from the pop-up calendar. For a date far in the past it’s cumbersome to click the left arrow to decrement by one month at a time. For ten years, that’s 120 clicks.

Screen Shot 2021-02-09 at 5.59.46 PM

The desired and expected behavior would be to allow input into the date field and type the year, press enter and receive results.

However, Discourse starts working on the results as soon as one digit in the date field is either changed or deleted, so deleting the last digit of 2021 starts the process of retrieving results from the year 202:

Screen Shot 2021-02-09 at 6.06.46 PM

A workaround is to use the url to set the dates, but that defeats the purpose of a date picker.

/admin/reports/signups?end_date=2021-02-09&start_date=1998-01-08

7 Likes

We should probably style the month/year in a way that makes it obvious, but you can click on them for bigger changes.

Screen Shot 2021-02-09 at 9.31.32 PM

Not sure if there’s a reason we don’t allow direct input… but I agree that it would be a nice option.

8 Likes

I wasn’t aware of this feature either, thanks for bringing this up!

2 Likes