question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not list all items, and about sorting

See original GitHub issue

In 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:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
housseindjirdehcommented, Jul 17, 2017

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.

1reaction
housseindjirdehcommented, Jul 17, 2017

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found