Refine API response with DynamicPropSource suggestions to provide better UX

Created on 19 September 2025, 13 days ago

Overview

📌 Move `PropSourceEndpointTest` into new `XbConfigEntityHttpApiTest::testComponent()` Active built a HTTP API on top of FieldForComponentSuggester.

That's been around for >1 year and never used in the UI. So the labels are developer-supporting, not end-user supporting. But confusing.

  1. Too verbose: This Article's Title → just Title
  2. Way too verbose when matching subsets that do NOT include the main property (or a computed property depending on the main property): Subset of this Article's field_silly_image: alt (1 of 7 props — absent: entity, title, width, height, srcset_candidate_uri_template, src_with_alternate_widths) switch to a nested structure: just {Silly Image: {Alternative Text}, to allow for a nested contextual menu to be presented in the UI being added at Allow linking a component prop of a template to a dynamic field Active .
  3. Way too verbose when matching subsets that DO include the main property (or a computed property depending on the main property): Subset of this Article's field_silly_image: src_with_alternate_widths, alt, width, height (4 of 7 props — absent: entity, title, srcset_candidate_uri_template) → switch to just Silly Image
  4. The ordering does not match the mental model of the site builder: it should match the order of the

Proposed resolution

See above!

User interface changes

Allow linking a component prop of a template to a dynamic field Active becomes much better 😊

📌 Task
Status

Active

Version

1.0

Component

Shape matching

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024