Review 13.4 Merged

90041[TASK] Simplify workspaces PreviewController

Christian Kuhn CR +2 V +2 Normal +27 −44 updated 07/10/25, 09:23

Commit message

The workspaces "split" preview renders the "initial" stage
change buttons server side, and updates them with an ajax
call when stages are changed or changes are discarded.
This leads to duplicate code: PreviewController and the
ajax call do the same thing. The patch simplifies this by
not delivering available stages up front, but fetches the
buttons via ajax directly after load. The call is quite
quick - much quicker than rendering the page itself, so
it does not harm usability.

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
  • Verified V +2 Done
    • Christian Kuhn +2
    • core-ci +1 CI

Issues 1

Files 6

Review log 34

  1. Christian Kuhn uploaded patch set 1 07/10/25, 09:16

  2. core-ci voted on patch set 1 V +1 07/10/25, 09:22 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/81550

  3. Christian Kuhn voted on patch set 1 CR +2 V +2 07/10/25, 09:23

  4. Christian Kuhn merged patch set 2 07/10/25, 09:23