ComponentTreeItem should automatically purge subtrees for slots that are no longer exposed

Created on 22 April 2025, 21 days ago

Overview

This spun off from ✨ Content templates, part 3b: store exposed slot subtrees on individual entities Active . In that issue, we're changing ComponentTreeItem to store multiple subtrees as individual field items, each tied to a specific slot that is exposed by the full view mode's content template. If the template changes such that a slot no longer exists, or is no longer exposed, entities' ComponentTreeItem values will have stale data.

Proposed resolution

Whenever a ComponentTreeItem is saved, it should be automatically purged of any items that are targeted at slots in the template which are no longer exposed.

User interface changes

None.

✨ Feature request
Status

Active

Version

0.0

Component

Data model

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

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

Comments & Activities

Production build 0.71.5 2024