Overview

Reported by @jessebaker.

Names like cta1href make no sense:

Proposed resolution

Use each prop's title, which is present in the schema.

Once #3463999: Auto-create/update Component config entities for all discovered SDCs that meet XB's minimum criteria lands, we can make "each prop must have a title" a requirement for SDCs to be eligible for XB. Until then, fall back.

User interface changes

Now you see CTA 1 link 👍

CommentFileSizeAuthor
after.png34.06 KBwim leers
before.png32.61 KBwim leers
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Wim Leers created an issue. See original summary.

wim leers’s picture

Assigned: Unassigned » wim leers

Wim Leers credited bnjmnm.

wim leers’s picture

Test coverage was trivial thanks to @bnjmnm's test coverage he added in #3461422: Evolve component instance edit form to become simpler: generate a Field Widget directly 🚀

Crediting him for making this so delightful 😄

wim leers’s picture

Assigned: wim leers » jessebaker
Status: Active » Needs review
jessebaker’s picture

Assigned: jessebaker » f.mazeikis

Verified that this works as I requested, needs back-end review.

f.mazeikis’s picture

Status: Needs review » Reviewed & tested by the community

Approved.

  • Wim Leers committed 8b58bdf5 on 0.x
    Issue #3467162 by Wim Leers, jessebaker, bnjmnm, f.mazeikis: Follow-up...
wim leers’s picture

Assigned: f.mazeikis » Unassigned
Status: Reviewed & tested by the community » Fixed

Re-ran the pipeline, all green as expected. 👍

There's some flakiness with Cypress E2E tests, just like we have with functional JS tests in Drupal core. We've got #3456020-15: Harden Cypress E2E test against environment variability + document Cypress test best practices to fix that.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.