Issue Feature Under Review

#111292Compare every page preview with the live page and merge the workspace preview into the preview bar

Matthias Vogel 10/30/26, 14:06 updated 11/10/26, 10:22

Description

Problem

The workspace preview is a page of its own (route workspace_previewcontrols) with its own top bar. It has no simulation (date, hidden pages and content, frontend login), and editors outside a workspace cannot compare a preview with the live page at all. Since #110664 every backend preview runs on the preview page with a bar above the frame, so two different preview pages exist.

Proposal

  • The preview page of the backend is the only preview page. Its bar gets a menu “Compare with live”: Off, Slider, Side by side, Stacked. Off is the default, the chosen mode is stored per backend user.
  • The live frame shows the page as a visitor sees it now: no workspace, no hidden records, current date, no frontend login. It follows the preview to other pages and keeps the scroll position at the same element, matched by its HTML id, or at the same percentage.
  • The live frame of the slider keeps the full height and is clipped, so its content does not reflow; the divider between the frames can be dragged or moved with the keyboard.
  • In a workspace the bar shows the stage, publish and discard buttons, added by EXT:workspaces through a new PSR-14 event BeforePreviewPageRenderedEvent. The former route workspace_previewcontrols redirects to the preview page. The bar shows no frontend address any more.
  • New Page TSconfig options.preview.compareModes (slider, columns, rows); workspaces.splitPreviewModes is deprecated and still read as fallback.

Notes

Follow-up of #110664. Depends on #111290 (publishing from the workspace preview).

Reviews 1

History 03