[later phase] Provide API for finding and UI for surfacing dangling/dead component subtrees — aka garbage clean-up

Created on 14 May 2025, about 5 hours ago

Overview

But #3519168 introduced a new kind of problem: it's possible for component subtrees in slots to continue to be stored, but never be visible, because the containing component instance itself is relying on the Fallback component, which essentially renders an empty <div> (Fallback::renderComponent()) + HTML comments to allow the XB UI to still visualize the slots (Fallback::setSlots()).

Conceptually related: 📌 `BlockComponent::validateComponentInput()` allows garbage to pile up Active .

Proposed resolution

  1. Provide API (Drupal service?) for finding dangling/dead component subtrees aka garbage
  2. Provide UI in XB for surfacing dangling/dead component subtrees — aka enabling admin users to clean up garbage

User interface changes

Feature request
Status

Postponed

Version

0.0

Component

Page builder

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024