-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Feature Request] - View / Search Branches On Repo #1101
Comments
For now, if I want to change branch, I would click the Branch dropdown in the repo code page. I wonder why you need this added to the Octotree sidebar. What are your use cases? What do you think the behavior should be when people change branches outside the code page? Thanks. |
True, and a fair point. But then i could also argue that the Would that also make the Octotree feature Also, with my particular suggestion, it would reduce the number of wasteful page refreshes, whereby performing such actions on the side-panel could reduce that number by a factor of several, as i could already be on lets say a pull request page, and so i'd have to click on Code tab (refresh performed), then click on branch list dropdown and filter down on search, and then click on target branch within dropdown (another refresh performed), and the click on the commits link (another refresh performed). So now imagine if i could do all this on the side-panel, with only one refresh performed throughout the while process. Wouldn't that be much more of a seamless experience? |
Also in addition to the original suggestion of this ticket, we could also add a |
Thanks. Couple of questions:
|
I imagined that the branch link would navigate to the page which lists the commits within the target branch. So for example route to the URI
Sure, you can start off at a basic level, and then iterate with the additional features later on (search + pin). But based on my personal everyday usage of GitHub, i generally check over of there any commits additional commits made to a particular branch, especially that i am involved in, but not actively working on (yet), so i can decide when to rebase (or merge) down that branch with which my other colleagues have committed to into my active working feature branch. If that makes sense. So for me personally, a search + pin would be really handy. It may or may not be a common use-case, but it's just my typical GitHub workflow. I'll leave this to your discretion. |
Description
Could we have a feature where we can see a list of branches (maybe sorted by most active first) on the side-panel, a dedicated section similar to that of
View Pull Requests
section?On top of that, you could implement a fuzzy search facility, which will allow the user to enter the name of the branch, and while the user types the results will be dynamically re-rendered, maybe with a sensible text input debounce rate, surfacing and narrowing the results of branches on the main list within the side-panel.
The list of branches themselves would also be linked, whereby when clicked, the main page will navigate to the
commits
list of the target branch.Thoughts? 🤔
The text was updated successfully, but these errors were encountered: