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
New context menu for Commit Details View Files, containing the existing File Actions #381
Comments
Hi @nicklaros, The Commit Details View File View is constrained to a fixed width, determined by the user (who can resize: the VSCode Window width, the Git Graph View’s width, and the horizontal divider between the information and File View in the Commit Details View). There are several reasons why I’ve decided not to add a horizontal scroll bar to the File View, that unfortunately means some content must be hidden when not enough width is available. Based on feedback I’d received from users, the buttons were determined to be the least useful / used component, so it made sense to hide them first. Although I’m not wanting to change the current overflow behaviour, I think this would be a great opportunity to make the “Copy File Path to the Clipboard”, “View File at this Revision” & “Open File” buttons also accessible by right clicking on the corresponding file name in the Commit Details View File View. This would ensure these actions are always available no matter how much width is available. I think this might actually be the preferred location of these actions for some users. I’ll change this bug to a feature request and make it available in the next version of Git Graph. I’ll also publish a beta release of this functionality this weekend, so you can use it straight away. |
I see, showing it on right click menu would be a great additions. Thanks @mhutchie Did I forgot to say Git Graph was a great extension? Yes indeed it's great and one of my favorite vs code extension. |
Hi @nicklaros, I've implemented the right-menu for the files in the Commit Details View, and I'm really pleased with how it's turned out (I think many users will regular use it). Unfortunately there are a number of edge cases (e.g. when the Commit Details View is docked to the bottom of the Git Graph View, and when background data refreshes occur), that are going to take some extra time to get working. Although I won't have a beta release with this functionality available this weekend, I'll continue working on these corner cases, and make it available as soon as possible. |
…ve method to run any available actions on a file.
This will be available in v1.27.0, which will be released later this weekend. |
…n the Commit Details View Files View from being left-clicked. This issue was introduced with #381.
Describe the Bug
When Clicking on a commit, it shows commit detail and when I hover on a file it will show some action buttons, such as:
But when Git Graph opened in small window or tab, some buttons got truncated, makes it unclickable.
Steps to Reproduce
Steps to reproduce the behaviour:
Expected Behaviour
Button don't get truncated so I can click it.
Environment
Screenshots (optional)
Here I try to hover on file
store_setting_ormer.go
butView File at this Revision
andOpen File
button got truncated and hidden.⚠ Please make sure you complete all of the required sections of this template. Without this required information, it will be harder to replicate this bug, and cause additional delays in resolving it.
The text was updated successfully, but these errors were encountered: