open-contracting / data-registry

BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Pagination on Datasets by country #85

Closed sabahfromlondon closed 2 years ago

sabahfromlondon commented 3 years ago

I had pagination on the UX design for this page.

Perhaps not an ultimate must have right now since we only have 35 datasets, but this is good practice for the interface and will be more important as we add more sources.

jpmckinney commented 2 years ago

I'm not sure that in this case pagination is a good pattern. https://www.nngroup.com/articles/item-list-view-all/

The case for pagination is:

In our case, we don't prioritize the list items. We only change the length of the list via filters.

Also, a user's goal might very well be to see the whole list to get a sense of the full corpus of OCDS data.

We currently are around the proposed maximum of 100. We're aiming to have very fast response times. #230

I think we can do without pagination for the foreseeable future.

sabahfromlondon commented 2 years ago

Ok we can leave it.

For anyone that might re-visit this ticket in the future what I had in mind was to have a defualt of 10 results. Your link for NNG does suggest this: "It’s usually better to offer a single default number — such as 10 or 20 — and supplement it with View All for people who want more."

The reason I thought pagination would be good was so that users would not have to scroll all the way to the top to view the filters. However, we can resolve that by other means in future with either a sticky faceted search or a back to top button if we want.