fix(studio): a failed preview's retry button takes a click again (#8610)

* fix(studio): a failed preview's retry button takes a click again

The editing canvas covered the whole stage, above the failure drawn inside it. The live preview now reports its failure to the player store and the canvas stands aside while it shows.

* test(studio): the retry walk waits for the canvas to come back once the preview can show

* fix(studio): no editing box over a failed preview can take its retry click

* fix(studio): a failed preview closes the canvas menu and ends the text edit

* fix(studio): a menu or text edit already on its way stays shut once the preview fails

* fix(studio): the canvas menu and the text edit each end themselves when the preview fails

* test(studio): the canvas menu rows select their target as the overlay does

* refactor(studio): name the inline edit's failed-preview refusal and its save on failure

* test(studio): the preview failure walk selects text so the formatting toolbar opens
This commit is contained in:
Miguel Ángel
2026-11-24 01:32:45 +00:00
committed by GitHub
parent 169af43b65
commit df57e691cb
9 changed files with 324 additions and 7 deletions
+6 -1
View File
@@ -1165,7 +1165,7 @@ jobs:
node packages/studio/tests/e2e/perf-ratchet.mjs check \
packages/studio/tests/e2e/perf-ceilings.json studio-open /tmp/studio-open-counts.json \
/tmp/base-perf-ceilings.json
- name: Check fade handles, render selects, thumbnail connection release, trim snapping and a script-hidden backdrop
- name: Check fade handles, render selects, thumbnail connection release, trim snapping, a script-hidden backdrop and a failed preview's retry
if: success() || failure()
run: |
set -euo pipefail
@@ -1198,6 +1198,11 @@ jobs:
node packages/studio/tests/e2e/timeline-snap-release.mjs || failed "snap release"
STUDIO_URL="http://localhost:5316/#project/aroll-backdrop" \
node packages/studio/tests/e2e/aroll-backdrop.mjs || failed "script-hidden backdrop"
STUDIO_URL="http://localhost:5316/" \
node packages/studio/tests/e2e/preview-failure-retry.mjs || failed "preview failure retry"
rm -rf packages/studio/data/projects/inline-text-caret
cp -R packages/studio/tests/e2e/fixtures/inline-text-caret \
packages/studio/data/projects/inline-text-caret
rm -rf packages/studio/data/projects/graded-video-transitions
cp -R packages/studio/tests/e2e/fixtures/graded-video-transitions \
packages/studio/data/projects/graded-video-transitions