-
Notifications
You must be signed in to change notification settings - Fork 317
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
pagination of userpage (and future listpages) #2708
Comments
about UI design, i would do something simmilar to userpage, or a grid of vertical cards with image and title below. however if we wanted to move away from that, i have some ideas that i could try |
The UI for the main content of listpages is one thing (card UI, columns, tag cloud, MS Bob virtual desktop, etc) .. .. but I'm specifically asking about the UI and UX design for the pagination experience controls, and what controls will be included for it. .. or .. modulo including page-sizing controls .. modulo including a status line of "showing page .. or even sillier bits of over-engineering: Additionally, will subsequent pages be presented by replacing the current page, or added to the current page (a la infinite scroll, but with a click). My preference would be "none" (if fewer than some-large-number brews all on one page) and "minimal" (for the few use cases with more than that some-large-number). |
For the record, the screenshot above reinforces my assumption that you are German. |
wouldn't that make an incredibly long page? don't we want to avoid that?
i guess a simple |
The main problem with a long page is that it takes a long time to deliver all that data from the server to the browser (including extra time for multiple API requests to marshal that data). A progressive loading pattern (e.g. infinite scrolling) has that time broken into chunks, providing the user with an interactable experience earlier. If the browser were to somehow have on hand a large collection of brew doc data, then presenting that in one long page is not a problem. Especially since we do provide on-page tools for sorting and filtering that collection (making the browser page visually shorter in the process, since many brews get "filtered out"). The main problems that "pagination" here is solving for are a) coping with API response size limits, and b) server to browser transmission time before first viewport painting. A very long but scrollable UI is not a problem (especially with our filter/sort tools). Referring to this issue as a "pagination" problem might have been a misstep. The traditional solution for this problem is commonly called "pagination", but we don't need to hew to tradition. |
Could we slightly up the locally stored data so it's not necessary to query GD until the file is loaded? |
The idea:
Google's API imposes certain limits on how many results to return when queried, and this can affect the userpage.
We don't have any similar hindrance for mongo stored brews (IIRC).
Most authors don't have thousands of brews, so this hasn't presented as an issue. Yet.
If we want to provide a Search Published Brews facility then this will certainly present as an issue. There could be thousands of brews matching certain simple keywords.
To do:
The text was updated successfully, but these errors were encountered: