New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Left and right navigation to quickly go through issues and commits #343
Comments
In terms of UI and specific shortcuts, commits in pull requests now have this with Next/Prev buttons and n / p shortcuts. |
I've read both, maybe I should just pester Github again and see if they'll ever get around to adding it. It's such a simple feature that it boggles my mind that none of their employees have gotten around to implementing it out of frustration when dealing with many issues. One solution I did think of, would be perhaps scraping the list of issues from the main page and then keeping track of that state when you navigate through issues, this may be a possible workaround. |
@gnu-user I could see some reasoning why GitHub are not implementing it (besides that it's mostly useful for maintainers of popular packages or private projects). You can have filtering, and search, and sorting in issues listing and then you go to an issue and it's not always intuitive which issue is next and which is previous. Also, issues and PRs share the incremental IDs. Some users would expect the system to remember their search, others would not, some would even want to go to adjacent ID disregarding if it's an issue or PR, open or closed. The next/prev buttons on PR commits are quite easier from UX perspective as their predictable - Git commits have parents and therefore you have a linear history in a PR (in most cases). |
Closing this as stale, hard to do and because of what @hkdobrev said |
A proposal. Shortcuts used:
Activate shortcuts only when on issue or pull request page. GitHub is reflecting in URL filters used for issue or pull request list. User expected flow:
|
Status update: I tried a implementation here https://github.com/iamandrewluca/refined-github/commit/3f54cf968de54a3683d787befdd8e2a8d0bb19d8 I almost want to give up on this 🙂 I started implementation with every type of discussion list in mind. Even when coming from global issue or pull request list. I consider a Navigation can be done using It kind of works, there are may be still some edge cases. Also there is the case, when you fetch a page from a discussion list, We may think but we use cursors. As I found, github cursors are just a offset encoding, a base64 representation of Also some context can be found here #2974 Maybe I'll come back to it later, who wants to give a try and improve the implementation feel free to copy it. |
Any updates @iamandrewluca? |
@fregante Unfortunately no. Someday maybe I'll retry the PR. Till then whoever wants, feel free to experiment with info provided in #2974 comments, and https://github.com/iamandrewluca/refined-github/commit/3f54cf968de54a3683d787befdd8e2a8d0bb19d8 I think I blocked myself trying to cover to many cases for navigation. ps: I'll do a review and try again in weekend, also I'll use unique cache id how you suggested. |
I wonder if this feature can actually exist without it being frustrating. There are multiple possible conflicting expectations of how this should work:
I think we should give up on this. What I usually do is "Open all" issues and deal with the tabs in order. This has a clear beginning and end and it's visual: the list will stay in the tab bar, not hidden behind Prev/Next buttons. In the end, I reached the same conclusions that Haralan reached 4 years ago: #343 (comment) |
I'll close this, I think this feature will give us headaches. @iamandrewluca if you want the feature, feel free to publish your current code as a standalone, I'm sure many will disagree and accept the compromise:
|
I'm wondering if something like this has already been added, if not myself or someone else who has the time should try and add this functionality. If you've ever used a system such as Taiga, there's nice left and right navigation buttons to quickly go through issues, especially if you have a lot of them.
Currently with Github, every time you read an issue and comment / close it, you then have to go back to the entire list of issues, remember where you left off and somehow keep track of the next issue to open.
This lack of functionality has bothered me so much that I actually sent Github staff a long email about it over a year ago. They replied but since then have not added this basic functionality, for a reference this is precisely what I'm describing, if you've ever used Taiga they already have this.
As well, a similar type of functionality when you want to quickly go through commits, review changes, pull requests, etc. would also be extremely helpful.
The text was updated successfully, but these errors were encountered: