Review 14.3 Merged

95202[TASK] Sticky language header in comparison view

Garvin Hicking CR +2 V +2 Normal +218 −9 updated 08/10/26, 13:09

Commit message

The language comparison view of the page module can get long, making it
hard to tell which column belongs to which language and translation mode
while scrolling.

A new web component typo3-backend-page-layout-sticky-language-header
carries the header information of a language column twice: the default
slot stays in the flow, a second, initially hidden slot holds a copy
showing flag, language title and translation mode.

As soon as the column header is scrolled out of view, that copy is shown
below the doc header, aligned with its column and clipped at the edges
of the grid. Placement is done in script, since CSS anchor positioning
is not available in all browsers the backend targets.

This is an interim solution, as the language column header is subject to
a general overhaul. It is nevertheless useful, since it is contained in
that header and can be dropped together with it.

Review

  • Code review CR +2 Done
    • Garvin Hicking +2
  • Verified V +2 Done
    • Garvin Hicking +2
    • core-ci +1 CI

Issues 1

Files 4

Review log 34

  1. Garvin Hicking commented on patch set 1 08/10/26, 12:16

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 08/10/26, 12:25 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/106276

  3. Garvin Hicking voted on patch set 1 CR +2 V +2 08/10/26, 13:09

  4. Garvin Hicking merged patch set 2 08/10/26, 13:09