- Issue created by @catch
- Assigned to effulgentsia
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Thank you for opening this hyper-critical issue!
Since ✨ JSON-based data storage proposal for component-based page building Active was proposed by @effulgentsia, I think it'd be helpful to read even just a high-level take on how @effulgentsia imagined this would work 😇🙏
- 🇬🇧United Kingdom catch
Replying to @lauriii from 📌 Refactor the XB field type to be multi-valued, to de-jsonify the tree, and to reference the field_union type of the prop values Active .
I believe there should be an easier way for managing the challenges related to the search indexing.
Do you have any concrete proposals for this? The use cases have been identified for several months now, and I do not believe any alternative way to do it has been proposed. Neither for Experience Builder itself, nor examples from other content builders - other than ones that have no concept of this whatsoever and require custom templates to be written for each alternative rendering.
In the meantime, more and more cases continue to be identified, which all currently rely on very similar concepts.
So far:
1. Optional fields that later need to be incorporated into other view modes.
2. Custom teaser text. that doesn't appear in the main content.
3. Search indexing - both core search module and search_api. Search API has over 120,000 installs.
4. Newsletters via simplenews - simplenews has over 20,000 modern Drupal installs.
5. Alex Pott's German content audit module
In Barcelona I brought up the case of wanting the show the first four (or however many) components of an article in a newsletter with a link to read more. iirc the alternative solution to this was for the site builder to create two content slots, one for content that would appear in the newsletter teaser, one for content that wouldn't. This requires the site builder to know in advance of building their entire site that they will need to do this. It also prevents them from being able to increase or decrease the amount of teaser content later because it would be baked into the content model itself.