-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
CHE-7880: Save latest commit message before showing Git Commit dialog #8004
Conversation
@@ -137,6 +142,9 @@ public void showDialog(Project project) { | |||
newFiles.addAll(status.getUntracked()); | |||
show(newFiles.stream().collect(joining("\nA\t", "A\t", ""))); | |||
}); | |||
} else { | |||
view.setMessage(""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it isn't necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
notificationManager.notify(constant.logFailed(), FAIL, NOT_EMERGE_MODE); | ||
} | ||
}); | ||
if (latestCommitMessage == null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just set focus to commit message text box
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added setting focus to message field on clicking the amend
checkbox.
ci-test |
ci-test build report: |
ci-test |
ci-test build report: |
ci-test |
ci-test build report: |
What does this PR do?
Save latest commit message before showing Git Commit dialog
What issues does this PR fix or reference?
#7880
Latest commit message sets without delay when amend option is switched on in Git Commit dialog
Release Notes
N/A
Docs PR
N/A