"Used in" column is inaccurate for inline content blocks

Created on 30 May 2025, about 1 month ago

Problem/Motivation

The "Used In" column in the usage list is inaccurate for inline content blocks used in layout builder. It's currently deriving its data based on the content block, but it should be getting its data from the parent page.

Here's a screenshot that depicts the problem:

Steps to reproduce

  1. Create a layout builder page and add a block to it that uses some entity
  2. Create a new revision of that page that deletes the block
  3. View usage of the referenced entity, observe that the "Used in" column inaccurately states "Default" instead of "Old revision(s)"

Proposed resolution

We already have some special handling for inline (non-resuable) content blocks used in page layouts. For the entity label and status columns, we already find the parent page and pull the data from there. But for the "used in" column data, we aren't. We should. It might be more complicated to do so.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bkosborne New Jersey, USA

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

Comments & Activities

Production build 0.71.5 2024