Design improvements to date picker in metadata (book and book component)
@lathrops1 I'm copying your feedback from #87 (closed) into separate issues -- I'll provide our feedback here.
@danjela FYI
11. No data integrity checker to prevent user form typing errors into the date field
User can type in errors into the field, e.g., enter additional digits creating a year like 202120 (see screenshot below)
12. Need to support multiple data formats, including just year, month year, and month, day year, as well as date ranges.
Example of books with data ranges for publication date: https://www.ncbi.nlm.nih.gov/books/NBK1116/ and https://www.ncbi.nlm.nih.gov/books/NBK61999/ For supported pub-dates see: https://www.ncbi.nlm.nih.gov/pmc/pmcdoc/tagging-guidelines/book/tags.html#el-pubdate For supported pub-history see: https://www.ncbi.nlm.nih.gov/pmc/pmcdoc/tagging-guidelines/book/tags.html#el-pubhist
13. Date picker is not user-friendly
User annoyances include:
- You can pick a year but it is not a hold-and-scroll over the arrows, so user has to click the button many times to get to a past year
- User is unable to type in the date if known. B having the yyyy-mm-dd, user thinks they can type, and tries, but is unable to do so. One suggestion is to allow users to also type in dates and throw out errors if there is a data error (such as a year cannot be the 29th, etc).
- No “today” or resent option to take user back to current date if make a mistake.