Globally disable sample content generation

Created on 28 August 2024, 7 months ago
Updated 10 September 2024, 7 months ago

Problem/Motivation

There is no way to globally disable generation of the sample values upon block insertion

Steps to reproduce

Place a block -> either core sample values are added or custom via Field Sample Value module, and there is no way to disable this behaviour globally

Proposed resolution

Add an option to disable sample generation globally

Remaining tasks

Provide a patch

User interface changes

A new configuration option allowing to disable sample values generation

API changes

None

Data model changes

None

✨ Feature request
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Taran2L Lviv

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

Comments & Activities

  • Issue created by @Taran2L
  • πŸ‡ΊπŸ‡ΈUnited States tim bozeman

    Interesting. Why would you want to disable that? What would you want instead?

  • πŸ‡ΊπŸ‡¦Ukraine Taran2L Lviv

    hi @tim bozeman

    Removing content from all fields feels counterproductive, especially for complex components that have conditional logic. Creating an empty sample value generator and changing ALL fields of ALL components to use it an overkill

    To be honest, the expectation is an empty form, as core does.

  • πŸ‡ΊπŸ‡ΈUnited States tim bozeman

    I'm not really opposed to a setting like that that disables sample generation, but we are going in a different direction than what core provides. We are trying to implement a philosophy of get it on the screen quickly, with example content, then let me easily edit it in place.

Production build 0.71.5 2024