Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Work in progress

97236[FEATURE] Compare every preview with the live page

Matthias Vogel CR 0 V 0 Expert +1248 −698 updated 11/10/26, 10:39

Commit message

The workspace preview was a page of its own with its own bar. It had no
simulation, and editors outside a workspace could not compare a preview
with the live page at all.

The preview page of the backend now covers both. Its bar has a menu
"Compare with live" with Off, Slider, Side by side and Stacked. The live
frame shows the page as a visitor sees it now, follows the preview to
other pages and keeps the scroll position at the same element, matched
by its HTML id. The chosen mode is stored per backend user and Page
TSconfig options.preview.compareModes restricts the modes. In a
workspace the bar adds the stage, publish and discard buttons through
the new event BeforePreviewPageRenderedEvent. The former workspace
preview route redirects to the preview page, and Page TSconfig
workspaces.splitPreviewModes is deprecated. The module "Content >
Preview" shows the preview page with its bar in its frame.

The live frame of the slider keeps the full height and is clipped, so
its content no longer reflows while the slider moves. Besides the slider
in the bar, the divider between the frames can be dragged or moved with
the keyboard.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 4
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/36/97236/4 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/36/97236/4 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Relation chain 3

  1. main 96718[WIP] Add device preview with zoom and pan to the preview module Based on this change Work in progress Merge conflict Benjamin Kott CR 0 V 0 Nightmare +5791 −649
  2. 97236 [FEATURE] Compare every preview with the live page This change

  3. main 97235[BUGFIX] Preview hidden pages across site domains This change is based on it Matthias Vogel CR 0 V 0 → 14.3 Impossible +10762 −91

    The chain has patch set 4 of 12, the changes above it need a rebase.

Issues 1

Files 39

Show 19 more files

Review log 48

  1. Matthias Vogel uploaded patch set 1 10/30/26, 10:54

  2. core-ci voted on patch set 1 V -1 10/30/26, 11:05 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112856

  3. Matthias Vogel uploaded patch set 2 V -1 10/30/26, 14:19

  4. core-ci voted on patch set 2 V +1 10/30/26, 14:33 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112880

  5. Matthias Vogel uploaded patch set 3 V +1 11/09/26, 16:51

  6. core-ci voted on patch set 3 V +1 11/09/26, 17:03 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113741

  7. Matthias Vogel uploaded patch set 4 V +1 11/10/26, 10:22

  8. core-ci voted on patch set 4 V +1 11/10/26, 10:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/113872