node-gh / gh

(DEPRECATED) GitHub CLI made with NodeJS. Use the official https://cli.github.com/ instead.
http://nodegh.io
Other
1.71k stars 217 forks source link

Build a UI around pagination for PRs #723

Closed protoEvangelion closed 4 years ago

protoEvangelion commented 4 years ago

For list based GitHub requests, we are automatically paginating across all pages.

This is fine for smaller datasets, but doesn't perform well when scaling to say 200 PRs.

A better UI could be to prompt the user with the option to see the next page with a simple yes or no prompt.

Additionally, we could add a "per_page": 30 setting in ~/.gh.json which would allow the user to control the size of each page.

protoEvangelion commented 4 years ago

:tada: This issue has been resolved in version 2.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: