Review main Merged

95206[TASK] Make the contextual record edit sheet resizable

Oli Bartsch CR +2 V +2 Normal +222 −6 updated 08/24/26, 04:58

Commit message

The sheet-positioned modal opened by <typo3-backend-contextual-record-
edit-trigger> now offers a resize handle on its free edge, the same
way the backend's navigation component (e.g. the page tree) is
resizable. The width is persisted in the users' "uc" configuration,
so it survives across sessions.

Modal gains a `resize-identifier` option, only active for sheet
positioned modals, which is the only position docked to a single
edge of the viewport. Persistence reuses the existing "resize.*"
storage.Persistent bucket already used by the navigation component.

The trigger element gains a `context` attribute so the width is kept
independently per context, e.g. "pages" and "tt_content" get their
own width. Today `context` is set to the record's table by all core
call sites, but it accepts any string, so a future caller could pass
something more specific, e.g. "tt_content.textmedia" vs.
"tt_content.header", to size sheets per content type.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
    • Georg Ringer +1
    • Florian Keitgen +1
    • Garvin Hicking +1
    • Matthias Vogel +1
  • Verified V +2 Done
    • Oli Bartsch +2
    • Georg Ringer +1
    • Garvin Hicking +1
    • Matthias Vogel +1
    • core-ci +1 CI

Issues 2

Files 13

Review log 2123

  1. Oli Bartsch uploaded patch set 1 08/10/26, 13:38

  2. Oli Bartsch updated the commit message in patch set 2 08/10/26, 13:39

  3. Garvin Hicking commented on patch set 2 08/10/26, 14:19

    We should also add this to the styleguide as a variant for modals

    contextual-record-edit-trigger.ts:31

    ```suggestion * width independently per context. This might be just the database table ```
  4. Oli Bartsch uploaded patch set 3 08/10/26, 16:00

  5. Oli Bartsch updated the commit message in patch set 4 08/10/26, 16:00

  6. Oli Bartsch commented on patch set 4 08/10/26, 16:00

    Reply

    Done

    contextual-record-edit-trigger.ts:31 Reply

    Done
  7. Garvin Hicking commented on patch set 4 CR +1 V +1 08/10/26, 16:44

    Yeah, this is what would make me feel comfortable :-)
  8. Matthias Vogel voted on patch set 4 CR +1 V +1 08/11/26, 11:10

  9. Oli Bartsch commented on patch set 4 08/11/26, 15:52

    We need to wait for feedback of Flix & Laura on this.
  10. Oli Bartsch rebased onto patch set 5 CR +1 V +1 08/20/26, 08:03

  11. Oli Bartsch wrote 08/20/26, 08:04

    Unset private
  12. Oli Bartsch commented on patch set 5 08/20/26, 08:05

    Reply

    feedback received. Both are fine with adjusting after having this tested in the wild for a couple of months now.
  13. core-ci voted on patch set 5 V +1 08/20/26, 08:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/106911

  14. Garvin Hicking voted on patch set 5 CR +1 V +1 08/20/26, 10:04

  15. Matthias Vogel voted on patch set 5 CR +1 V +1 08/20/26, 10:06

  16. Garvin Hicking updated the commit message in patch set 6 CR +1 V +1 08/20/26, 10:20

  17. Garvin Hicking voted on patch set 6 CR +1 V +1 08/20/26, 10:20

  18. Matthias Vogel voted on patch set 6 CR +1 V +1 08/20/26, 10:21

  19. core-ci voted on patch set 6 V +1 08/20/26, 10:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/106912

  20. Georg Ringer voted on patch set 6 CR +1 V +1 08/20/26, 13:33

  21. Oli Bartsch voted on patch set 6 CR +2 V +2 08/21/26, 18:43

  22. Oli Bartsch merged patch set 7 08/21/26, 18:43

  23. Florian Keitgen voted on patch set 7 CR +1 08/24/26, 04:58