- Issue created by @larowlan
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
title prop of the first cards component
What if the cards components are reordered? π«£
I can see this working well if and only if these target component instances that are locked as described in π± [META] 7. Content type templates β aka "default layouts" β clarify the tree+props data model Active β but that means you'd only be allowed to target content type template-defined component instances using tokens, not per-content entity ones.
I think that limitation would work well, because for the metatag use case, you'd want to define these tokens at the content entity type bundle level, so that consistent meta tags are generated for all entities of that content entity type + bundle. The same is true for search indexing and newsletters.
- π³πΏNew Zealand john pitcairn
What if the cards components are reordered?
In that case I'd expect to get the new first card.
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
That's a simple technical solution, but is it also a valid semantical solution? Is it usable, understandable?
It's easy to think of scenarios where a simple rearranging of components resuls in very different values for tokens, and that resulting value not being the Content Creator's intent.
- π³πΏNew Zealand john pitcairn
Semantically it's the same as the first image on the page becoming the social media preview image, no? Make another image the first image and you'd certainly expect that to change. Content creators understand this.
I think anything else is trying to be too clever and making a sizeable assumption. Provide an extension point and leave more case-specific solutions to contrib?