-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Annotation list: sort by date #12020
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
Conversation
| page = _("page number, reverse"), | ||
| date = _("date, reverse"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ascending/descending are often used, but I find reverse clearer. ;-)
|
Excuse me, I am deliberately breaking the backward compatibility: new users and users without |
poire-z
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trusting you on the code.
Why ? For technical reasons, or because you think it is better non-reverse ? |
|
Not technical reasons.
Summarizing, I believe that non-reverse mode should be the default one, and the setting for it is saved as nil. |
|
Fine with your explanations.
This feels a bit odd. that the |
|
File browser sort by date shows the most recent first. |
|
@ryanwwest, what is the non-reverse order for sorting bookmarks by date: ascending or descending? |
|
@hius07 I think descending would be first page of results top result has the highest number (most recent), then gets further away. Ascending would then be oldest entries first. Though not sure if I understood. I notice that some bookmarks options are found in the Bookmarks list page in the hamburger menu item (filtering) while others are in Bookmark icon -> Settings -> Bookmarks. I was thinking that sort would make more sense to go with the Filter content since the typical online workflow with searching things is to have filter and sort options nested together. But I also see that 'Sort by largest page number' is already not with the filter items. I wonder if it would be better to move the sort options to the filter menu? And at a bigger level, potentially unify all the Bookmarks page list settings in one place but that's probably for another time and debate. |
|
So, "Sort by date" shows the oldest bookmark first in the list, and "Sort by date, reverse" shows the most recent bookmark first, right? (Like @poire-z says) |
|
I'm also going to add searching by datetime in |
|
Thanks for this, @hius07 . If you're asking my opinion (I haven't tested the PR), while I think most recent bookmarks first would be helpful, I get @poire-z 's point that maybe bookmark order should be default (which shouldn't say 'reversed') match earliest to latest like when you read a book left to right, earliest to latest. I think people can just change the order as long as it's easy for them to find sort setting. As for date visibility in Bookmarks list, yes that's for (2) of #11822. Could it go under the page number on the right, so it's always visible and in the same place even with long note/highlight? I'm not sure how much space that needs. I think that's the best time format. When you say search, is this search restricted to bookmarks page only or more general? |
|
Maybe for timestamp location in bookmark list, if it's right-aligned below the page number the date could be on top line, time on bottom line, so it take up less horizontal space. |
|
Our right part (tab) of the list is single-line only, sorry. |
I think there was a misunderstanding here? They do behave the same as @hius07 described: non-reverse order means the latest bookmark OR the highest page number comes first. And in my opinion that is the most desirable behavior as well. To summarize: Non-reverse by date/time: 22:00; 21:33; 20:25... | by page: 800; 677; 533... |
|
Changes: |
This change is