3 ms·
Towards the end of the survey, they asked us to choose 3 html features we'd like to see supported in the future. Infinite scroll was one of the options, but I r
by danielvaughn 3y ago
Towards the end of the survey, they asked us to choose 3 html features we'd like to see supported in the future. Infinite scroll was one of the options, but I really wish they threw in pagination as well. If I never had to code a pagination widget again, I'd be a happy man.
- eastbound 3y agoPagination is so hard. It deserves a book on its own. Do you show row numbers (100-200 of 800) or page numbers? Do you have the total count? Do you go to the next page with a cursor (an undecipherable hash) or with a page number? Can you go to the previous page? Can you go to the first page? Can you change pagination size? What options do you display given the room for the widget? It seems so specific that it might be a non-generalizable feature, as surprising as it could be. That, or some Apple guy, after a lot of research, will find a multifeature widget, where each details means a different thing.
- SanderNL 3y agoThat’s not hard. Hard is solving world hunger, making cars drive themselves. You literally counted all major issues in one simple comment.
- danielvaughn 3y agoGood point, with complex UI it's hard to satisfy everyone. You end up with the html date picker, which technically works though I imagine most people end up implementing their own anyways.
- SanderNL 3y agoIt’s sad a proper table is not in the standard. We got a kinds of ridiculously complicated bullshit CSS transitions, but some kind of basic lazy-loading table with pagination is beyond us apparently.