Review main Abandoned

75774[WIP][FEATURE] Add PSR-14 events for rendering content previews

Benni Mack CR 0 V 0 Expert +835 −304 updated 03/24/23, 11:44

Commit message

This change unifies the rendering of preview
elements for content elements within the Page Module.

Currently done:
* Migrate all existing PreviewRenderers to PSR-14 Event Listeners
  and also incorporate a new FluidPreviewRenderer and a
  FallbackPreviewRenderer.
* Continue to allow "StandardPreviewRendererResolver" and
  "StandardPreviewRenderer" as a fallback to still be
  used.

Next up:
* Add Deprecations (also to the usages when StandardPreviewRendererResolver
  is used)
* Split up the RecordPreviewEvent in one for the page module
  and a more generic one.
* Add proper tests for the now standalone PreviewRenderers
* Write enough RSTs
* See if we can get rid of RecordPreviewEvent->getGridColumnItem()

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Files 21