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
Hide Remote HEAD Symbolic References via Extension Setting #407
Comments
Hi @wilkmaciej, Thank you for raising this feature request, and associated pull request! From the information you've provided, it's still unclear to me what the use case is for hiding a branch labels. By hiding a branch label, the user loses all actions available for branches (check out, rename, delete, merge, push, pull etc.), and would be left with commits being shown, but no way of knowing what branch they're on.
Would you please provide some more details, and some example branch names for the use case you have, so I can better understand the motivation for this feature request. |
I just wanted to hide origin/HEAD label because personally I'm not using it and i wanted the graph to look more clean. :P |
Thanks for the clarification @wilkmaciej, I definitely now understand the use case you have for this functionality, and agree that there should be a way to hide I think this functionality needs to be reframed slightly, and made more specific to the use case, as after reading your initial feature request and pull request I would have never thought to use it to resolve the use case you have. If we released it in it's current form, I think many users may not realise that it could be used to solve this problem, and therefore not get as much value from it. Unless you have other potential use cases that you could let me know, I think that the I think it would be best to have a new boolean extension setting for "Repository: Show Remote Heads", that is enabled by default, but can be unchecked by the user to hide If you have other use cases that you think necessitate the current generalised solution, please let me know. If not, it would be great if you would implement this alternative solution, however I'm also more than happy to do it myself for the next release. FYI: I really appreciate that you generalised the functionality, I assume with the intention that it would be able to be used by more users for different use cases. Almost always I try to do the same with everything I implement, the only exceptions I ever make is when a more specific solution is easier for users, will satisfy most of their needs, and ultimately be used by more people. |
Hello |
This will be available in v1.28.0. I really appreciate that you've taken the time and effort to contribute to Git Graph, and been able to implement new functionality that will be used by many users. Please read my response to your Pull Request #408 (comment) for my full thanks, and additional information. If you'd like to use it before the next release, you can download v1.28.0-beta.1, and install it following the instructions provided here. |
Describe the feature that you'd like
Option to filter branch labels
Additional context (optional)
I just want to hide some branch labels to have clear view on the graph
The text was updated successfully, but these errors were encountered: