Not list all items, and about sorting
See original GitHub issueIn list pages (e.g., search result list, user’s repository list…etc), it seems like we don’t fetch all the result but only page 1
. Maybe we can add the per_page
parameter, but it could be a large dataset, so we might think the “fetch more” behavior in action.
Another thing is about sorting, in repo list page, the default order is sorting by full_name. Should it be same as web?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Use sorting to modify a SharePoint view - Microsoft Support
In the Sort section, select the First sort by the column drop down and choose a field. This field is one of the...
Read more >Sorting lists based on a data item not in the report - IBM
You can sort columns in a list using a data item from the source tree to sort based on a data item that...
Read more >How to Sort in Excel Rows or Columns Avoid Sort Problems
In the popup menu, click Sort, then click Custom Sort. In the Sort dialog box, select the Day column in the Sort By...
Read more >c# - Sort only specific items in a list of items - Stack Overflow
Extract the list you want to sort, sort it, then reintegrate it into the original list.
Read more >How to Use sorted() and sort() in Python - Real Python
Lists With Non-Comparable Data Types Can't Be sorted(); When You're Sorting ... All programmers will have to write code to sort items or...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep this is something I’ve thought about but decided for simplicity to stick one page for the first release. It definitely makes sense to actually show more and more of the results.
If I’m not mistaken, ‘FlatList’ utilizes some sort of scrollLoading to allow loading more content as the user reaches close to the bottom. Definitely something we could try for each FlatList in the app that is rendered with a per-page type endpoint.
I also noticed that sorting in the repo list page isn’t the same as the web - if it’s simple to align them I’m definitely all for it. However I wouldn’t struggle too much there if it’s not as simple as it sounds (will also make sense to split that into a separate ticket).