Giter VIP home page Giter VIP logo

Comments (7)

Gazook89 avatar Gazook89 commented on May 27, 2024 2

For the record, the screenshot above reinforces my assumption that you are German.

from homebrewery.

ericscheid avatar ericscheid commented on May 27, 2024 1

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.

from homebrewery.

5e-Cleric avatar 5e-Cleric commented on May 27, 2024

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

from homebrewery.

ericscheid avatar ericscheid commented on May 27, 2024

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.

Like this:
github pagination

.. or « 1–200 201–400 401–432 »

.. modulo including page-sizing controls
pagination with page-sizing UI

.. modulo including a status line of "showing page <n> of <m> pages, items <start><end> of <total> items"
image

.. or even sillier bits of over-engineering:
"..." button is a dropdown of lots of page-buttons

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).

from homebrewery.

5e-Cleric avatar 5e-Cleric commented on May 27, 2024

This looks hideous, doesn't it?

image

from homebrewery.

ericscheid avatar ericscheid commented on May 27, 2024

This looks hideous, doesn't it?

image

The < before and after > widgets are a bit much visually.

Also, those < >widgets imply that only the results from the currently selected page are visible — it would be nicer, more useful, and more usable to add the requested page of results to the current view of results. This way the sorts and filter widgets can be useful, and it won't feel like exploring a library through a keyhole.

from homebrewery.

5e-Cleric avatar 5e-Cleric commented on May 27, 2024

it would be nicer, more useful, and more usable to add the requested page of results to the current view of results.

wouldn't that make an incredibly long page? don't we want to avoid that?

The < before and after > widgets are a bit much visually.

i guess a simple < > would work better

from homebrewery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.