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
Separate column for Notes (already coded) #11413
Labels
Comments
pmgiant
changed the title
Separate column for Notes
Separate column for Notes (already coded)
Nov 30, 2023
You can as well open the PR for discussion, it is easier to give comments then. The current "merging" of message/notes is partly historic, partly to not "use resources" for a feature not much used (it has potential though). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature description
I need to see git notes in a separate column of RevisionGridControl. My notes are usually short and often re-generated by scripts.
I`ve just prepared the required code changes, this issue is for discussion.
The only initially visible change is a new menu item: View / Show git notes column.
Checking it adds a new column to the revision grid, between "Message" and "Avatar".
This column displays the first row of a note.
Notes displayed by CommitDataBodyRenderer (Commit tab of the "Commit info" pane) and MessageColumnProvider remain unaffected.
I`ve simplified the code a bit, now the CommitData and GitRevision classes have separate members for "Body" and "Notes". Parsing/re-formatting logic has been adjusted accordingly, code duplicates were not fixed in order to minimise footprint.
This change probably also fixes some potential bugs, as the notes are no longer part of the content of the message body internally.
Future plans:
Environment
Related: #6039 Git notes improvements
The text was updated successfully, but these errors were encountered: