Sort galleries randomly #643
Replies: 6 comments 6 replies
-
The carousel on top of the index page does this already: It presents random archives from the current search filter, or the entire DB if there's no search. I don't plan on adding random sorting to search results themselves as I think it'd make no sense from a UX perspective. |
Beta Was this translation helpful? Give feedback.
-
My intent with this message is not to be argumentative or combative, but the better explain why I thought adding a random sort may be beneficial specifically from a UX standpoint and not just for my use case with a large collection. Who knows, perhaps it will change your mind. Either way, thank you for your time and for developing this app. It is awesome. As an example, let us consider how many motions (scrolling, clicking, etc.) it takes to user to look at the thumbnails of about 100 archives. We will assume the user wants randomly selected archives, otherwise they would not use the carousel in the first place. I will use the number of motions determined in the third and fifth paragraphs for my calculations. The carousel displays a maximum of 15 archives each time it is refreshed. To view 100 archives the carousel would need to be refreshed 6 times. On a 1440p monitor, it takes 7 clicks of the 'next' button in the carousel to view those 15 archives. If the mouse wheel is used instead of the button, it takes 2-3 scrolls to see all 15 archives. On that final scroll immediately after the 15th archive is displayed, continuing to scroll moves the entire page down. That means if you lose track of how close you are to that 15th archive and scroll an extra time, or that 15th archive is displayed mid-scroll and you do not immediately stop scrolling, instead of scrolling the carousel horizontally, suddenly you are scrolling the entire page vertically. At that point you have to scroll back up to the top of the page to see the carousel again. At best, it takes 20 movements to view 105 archives with the carousel. 14 scrolls to view all the archives and 6 clicks on the 'refresh selection' button. That is assuming you never over-scroll as described in the third paragraph. Any over-scrolling just adds extra movements to the ideal count above. Also, the page suddenly moving vertically when the user over-scrolls is jarring; not great for UX. If the 'next' button is used in the carousel it would take 55 movements to view 105 archives. 49 clicks of the 'next' button to view all the archives and 6 clicks on the 'refresh selection' button. Neither of these cases consider moving the mouse to click on the 'refresh selection' button which would add another movement on the first page. If a random sort could be applied to the main thumbnail container, 100 archives could be looked at on a single page. On a 1440p monitor, it takes 3-4 scrolls to get to the bottom of a page. Once the bottom of the page is reached, continuing to scroll does not have some unexpected behavior: it just stops scrolling. Thus it only takes at most 4 movements to view 100 archive thumbnails and there is no possibility of the page behaving unexpectedly using a random sort in the main thumbnail container. That means that using the carousel is at best 5x (20/4=5) less efficient than having a random sort option for the main page in terms of the motions or actions required to view about 100 thumbnails. At worst it is 18x (55/3=18.33) less efficient in terms of the motions required to view about 100 thumbnails. I am not a UX designer, or even a coder, so perhaps there is some other reason not to implement a random sorting feature that I am not considering. But to me, at least a 5x improvement in efficiency for the user seems compelling. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the detailed insight! I certainly appreciate it. Likewise, I hope you didn't take my original comment as aggressive, I did write it in a hurry so it might've been a bit too dry. 😅 As far as your calculations go, they're certainly correct from an efficiency standpoint! However:
That's the kind of stuff I mean by UX, as it's not only about raw efficiency but also trying to have an interface that's usable at first glance by the layman without drowning them in poweruser options right off the gate. (*cough hydrus*) But I'm not a professional designer either (and even if I was that wouldn't magically make me immune to criticism), so I'm always open to hear suggestions from others! |
Beta Was this translation helpful? Give feedback.
-
The carousel certainly is nice for quickly finding a random archive to read. I do think it should stay for the same reasons of accessability and for non-powerusers that you mentioned. My use case is likely quite rare in that I download every english archive with a rating of more than 2 stars from my favorite site. This is for archival purposes just in case the site gets shut down. That means there is a large portion of my 52,000+ item collection that really does not interest me. With a sample size of only 15, the chances that none of the archives in the carousel apeal to me is quite high. If it is not too difficult to implement, and it is a change you think would be worth making, it seems like just adding a random sort to the dropdown in the thumbnail view would be a good compromise on the UX efficiency and ease of use for new users. It would make the app useful in more use cases for more people, but also not clutter up the ui. The sort dropdown has 17 options for me right now; I think one more would not be a problem. Also, if the compact table view does not have the dropdown in the first place, I don't see why it would have any weight on decisions about the dropdown. As an aside, if possible, adding the dropdown to the complact table view would be cool too. I personally never use it, but it seems odd that both views do not have the same sort features. From the coding side, I have no idea how difficult 'simply' adding a random sort option would be. I know just enough to dramatically underestimate the effort required :-). |
Beta Was this translation helpful? Give feedback.
-
@thebrokenfacade I agree that if you have lots of duplications and a large library it’s easy to forget many archives. I got it working on my end rather easily. You can reuse the same code that randomly selects archives for the carousel, then clear the thumb container and append the results into it. I set this function to a “shuffle” button that will give me 300 random archives. It works in categories too. It’s a temporary solution for now, but at least I don’t end up favouring archives at the very beginning or end of my categories (or I’m just less likely to get to the middle) and I can easily rediscover old archives with less limitations. edit: I just tested with searches and it works for that too |
Beta Was this translation helpful? Give feedback.
-
Glad it worked 👍
/templates/index.html.tt2 if you wanna add the button there alongside the sort buttons its around these lines right here (127-148): LANraragi/templates/index.html.tt2 Lines 127 to 148 in a260e16 Instead of an emoji, you can use "fas fa-random" their website if you want more consistency, since LRR uses Font Awesome. |
Beta Was this translation helpful? Give feedback.
-
Please describe your suggestion, and the problem it'd solve.
My collection has exceeded 50,000 items in over 500 pages in lanraragi. It would be nice to have the ability to sort the galleries randomly both when a search filter has been applied, and on the landing page before a search is applied.
This would help prevent people with large collections from seeing the same few doujin all the time. It could also help rediscover old forgotten favorites, or discover new ones.
Hopefully this is easy to implement.
Beta Was this translation helpful? Give feedback.
All reactions