From 71610f437a342e436ff8ba41753919ff0bf4d5a3 Mon Sep 17 00:00:00 2001 From: Claude Dev Date: Mon, 16 Mar 2026 16:18:23 +0100 Subject: [PATCH] Tutorial: Spotlight bei Modal-Steps ausblenden Bei Steps die auf ein Modal zeigen (#modal-new, #modal-sources) wird der Spotlight-Overlay nicht angezeigt. Das Modal hat bereits einen eigenen Abdunkelungs-Hintergrund, der zusaetzliche Spotlight-Shadow verdunkelte das Formular unlesbar. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/static/dashboard.html | 2 +- src/static/js/tutorial.js | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/static/dashboard.html b/src/static/dashboard.html index abfef81..cee6d10 100644 --- a/src/static/dashboard.html +++ b/src/static/dashboard.html @@ -764,7 +764,7 @@ - + diff --git a/src/static/js/tutorial.js b/src/static/js/tutorial.js index 6f4ed65..cc64b6e 100644 --- a/src/static/js/tutorial.js +++ b/src/static/js/tutorial.js @@ -1113,8 +1113,10 @@ const Tutorial = { async _enterStep(i) { var step = this._steps[i]; - // Erst scrollen, dann spotlighten - if (step.target && step.position !== 'center') { + // Bei Modal-Steps: Spotlight ausblenden (Modal hat eigene Abdunkelung) + var isModalStep = step.target && (step.target.indexOf('#modal-') !== -1); + + if (step.target && step.position !== 'center' && !isModalStep) { await this._scrollToTarget(step.target); this._spotlightElement(step.target); } else {