Skip to content

feat: show resizable commit message above Changes diff - #2842

Open
tib8 wants to merge 1 commit into
sourcegit-scm:developfrom
tib8:show-message-on-changes
Open

tib8 wants to merge 1 commit into
sourcegit-scm:developfrom
tib8:show-message-on-changes

Conversation

@tib8

@tib8 tib8 commented Oct 29, 2026

Copy link
Copy Markdown

The Changes tab currently requires switching to the Information tab to read the complete commit message. Show it in a scrollable pane above the diff, with a splitter to resize the pane and an expand/collapse toggle that reduces it to a single subject line. Remember the expanded height and collapsed state.

Reuse the existing commit-message formatting, links, and copy actions. Reset message scrolling when the commit changes and prevent an earlier asynchronous message request from replacing the current selection's message.

Validation:

  • Based on the latest develop; targets develop as required by the contribution guidelines.
  • dotnet run --project tests/ChangesMessageChecks --artifacts-path C:/sourcegit/build/show-message-pr-checks — 22 checks passed, covering resizing, collapse/expand, saved preferences, scrolling, commit switching, and small layouts.
  • dotnet format --verify-no-changes src/SourceGit.csproj — passed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant