mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
IJOB-573 Fix stuck after commit in Git Commit lesson
(cherry picked from commit 6139068f467f268af27626961b4ef51d1927649d) IJ-CR-147744 GitOrigin-RevId: 3926a59644d4751e4c330cf029bae06d3511db7e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f8d7aa015a
commit
6219a86371
@@ -23,6 +23,7 @@ import com.intellij.util.PlatformUtils
|
||||
import com.intellij.util.ui.UIUtil
|
||||
import com.intellij.vcs.commit.AbstractCommitWorkflowHandler
|
||||
import com.intellij.vcs.commit.CommitActionsPanel
|
||||
import com.intellij.vcs.commit.CommitNotification
|
||||
import com.intellij.vcs.commit.restoreState
|
||||
import com.intellij.vcs.log.ui.frame.VcsLogChangesBrowser
|
||||
import com.intellij.vcs.log.ui.table.VcsLogGraphTable
|
||||
@@ -180,7 +181,7 @@ class GitCommitLesson : GitLesson("Git.Commit", GitLessonsBundle.message("git.co
|
||||
triggerAndBorderHighlight().component { ui: JBOptionButton ->
|
||||
ui.text?.contains(commitButtonText) == true
|
||||
}
|
||||
triggerOnNotification { it.displayId == VcsNotificationIdsHolder.COMMIT_FINISHED }
|
||||
triggerOnNotification { it is CommitNotification }
|
||||
showWarningIfCommitWindowClosed()
|
||||
test {
|
||||
ideFrame {
|
||||
@@ -282,7 +283,7 @@ class GitCommitLesson : GitLesson("Git.Commit", GitLessonsBundle.message("git.co
|
||||
text(GitLessonsBundle.message("git.commit.amend.commit", strong(amendButtonText)))
|
||||
text(GitLessonsBundle.message("git.commit.amend.commit.balloon"),
|
||||
LearningBalloonConfig(Balloon.Position.above, width = 0))
|
||||
triggerOnNotification { it.displayId == VcsNotificationIdsHolder.COMMIT_FINISHED }
|
||||
triggerOnNotification { it is CommitNotification }
|
||||
showWarningIfCommitWindowClosed()
|
||||
test {
|
||||
ideFrame {
|
||||
|
||||
Reference in New Issue
Block a user