-
Notifications
You must be signed in to change notification settings - Fork 2
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
As a front end user, I want to filter documents by date so that I can find documents known to be from a particular time period. #865
Comments
@rlskoeser - functionality works and is so cool!!! Design wise, I think we should spend a little more time on this. I wouldn't have known how to use these boxes properly without the testing instructions: I think part of the confusion stems from having the numbers 775 and 1965 in gray. They're good numbers to capture the range of Geniza fragments, but they're so far outside the field that my brain didn't know how to interpret them at first. Should we create a separate issue for design? |
@richmanrachel I think you're not seeing the latest styles, would you try a hard refresh and see if the design looks more usable? (We may still need additional instructions) |
@rlskoeser - also, if we're not using the filter to include dates in other calendar types, can we make the full dates searchable (so you can put 4963 into the search to get the AM docs dated to that year)? |
@gissoo could you advise? Your designs had "From Year" and "To Year" as placeholder text, but we can't do non-numeric placeholders for a numeric input. Would it work to add labels to the left of the inputs? @richmanrachel would it work to make the label Document Dates (CE), or does the CE need to be elsewhere? Also, should it be Document Dates or Document Date ? |
@richmanrachel yes! I think that would be covered by the date searching we discussed yesterday, I hadn't gotten around to creating an issue yet. Great to have a specific use case. |
@rlskoeser - having Document Dates (CE) as the title makes sense to me. I think the plural is fine since you're searching for multiple documents most of the time? I'll double check with Marina |
Yes, you're filtering on multiple documents but each one only has one date; I'm not sure semantically which makes more sense. |
@rlskoeser we could add labels to the left of the fields, I think! |
Just noticing some things here for usability / potentially problematic:
|
@gissoo I'm disinclined to add extra logic because it could introduce false assumptions or unnecessary assumptions (e.g., it could make as much sense to clear out the other value as to increase it), and also because it increases the complexity of the code. The jump in fields is not great and should probably be addressed; hopefully there's a simple way to adjust the spacing so that the error message space is always accounted for. |
@richmanrachel have updated to add labels on the date filter fields as you requested. I've also adjusted the order and labels for the sort options as we discussed in our meeting today. Please confirm on the test site: https://test-geniza.cdh.princeton.edu/en/documents/ |
@rlskoeser - I love it! Closing. |
testing notes
Try out the new document date filter on the document search on the test site. Note that filtering will only work on documents with standard dates that can be parsed by the new code, so there may be some dates that display that cannot be used for filtering or sorting.
dev notes
The text was updated successfully, but these errors were encountered: