From 8edb99ffbc117ec85fa9e0ec1ea9e12d679f9a1d Mon Sep 17 00:00:00 2001 From: Alexey Merkulov Date: Thu, 2 Mar 2023 21:19:26 +0100 Subject: [PATCH] [IFT] Change debugger toolbar highlighting defaults and remove pulsation and inside highlighting from Jupyter onboarding GitOrigin-RevId: bd157fb57d4f0a52d7bf5d8ccd660c58ad16a1b0 --- .../java/ift/lesson/essential/JavaOnboardingTourLesson.kt | 2 +- plugins/ide-features-trainer/src/training/dsl/LessonUtil.kt | 2 +- .../python/ift/lesson/essensial/PythonOnboardingTourLesson.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/java/java-features-trainer/src/com/intellij/java/ift/lesson/essential/JavaOnboardingTourLesson.kt b/java/java-features-trainer/src/com/intellij/java/ift/lesson/essential/JavaOnboardingTourLesson.kt index 0c86e09559b1..59eef90c9238 100644 --- a/java/java-features-trainer/src/com/intellij/java/ift/lesson/essential/JavaOnboardingTourLesson.kt +++ b/java/java-features-trainer/src/com/intellij/java/ift/lesson/essential/JavaOnboardingTourLesson.kt @@ -338,7 +338,7 @@ class JavaOnboardingTourLesson : KLesson("java.onboarding", JavaLessonsBundle.me JavaLessonsBundle.message("java.onboarding.start.debugging", icon(AllIcons.Actions.StartDebugger)) } - highlightDebugActionsToolbar(highlightInside = false, usePulsation = false) + highlightDebugActionsToolbar() task { rehighlightPreviousUi = true diff --git a/plugins/ide-features-trainer/src/training/dsl/LessonUtil.kt b/plugins/ide-features-trainer/src/training/dsl/LessonUtil.kt index 1d9e231c16ab..1f799aec1e2d 100644 --- a/plugins/ide-features-trainer/src/training/dsl/LessonUtil.kt +++ b/plugins/ide-features-trainer/src/training/dsl/LessonUtil.kt @@ -414,7 +414,7 @@ fun LessonContext.highlightRunToolbar(highlightInside: Boolean = true, usePulsat } } -fun LessonContext.highlightDebugActionsToolbar(highlightInside: Boolean = true, usePulsation: Boolean = true) { +fun LessonContext.highlightDebugActionsToolbar(highlightInside: Boolean = false, usePulsation: Boolean = false) { task { // wait for the treads & variables tab to become selected // otherwise the incorrect toolbar can be highlighted in the next task diff --git a/python/python-features-trainer/src/com/jetbrains/python/ift/lesson/essensial/PythonOnboardingTourLesson.kt b/python/python-features-trainer/src/com/jetbrains/python/ift/lesson/essensial/PythonOnboardingTourLesson.kt index 6b482fecb556..7ae2c7934be5 100644 --- a/python/python-features-trainer/src/com/jetbrains/python/ift/lesson/essensial/PythonOnboardingTourLesson.kt +++ b/python/python-features-trainer/src/com/jetbrains/python/ift/lesson/essensial/PythonOnboardingTourLesson.kt @@ -249,7 +249,7 @@ class PythonOnboardingTourLesson : PythonLessonsBundle.message("python.onboarding.start.debugging", icon(AllIcons.Actions.StartDebugger)) } - highlightDebugActionsToolbar(highlightInside = false, usePulsation = false) + highlightDebugActionsToolbar() task { rehighlightPreviousUi = true