Add option to ovewrite fences presets in the formatter settings (preset by reference)

Created on 5 February 2024, about 1 year ago

Problem/Motivation

This is a follow-up issue to Allow to define presets for typical configurations (fences_presets submodule) Active . Additionally, to having a global page for creating fences presets, we should additionally support the option to pass them by reference. Meaning, if we are using a fences preset inside a field's formatter settings, edit the fences settings and save, the global preset should be overwritten with the edited settings.

Steps to reproduce

Proposed resolution

  • Create a checkbox to enable "preset syncing" on the fences field formatters settings.
  • If enabled, the currently selected preset should be synced with the global preset config entity.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

3.0

Component

Code (fences)

Created by

🇩🇪Germany Grevil

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

Comments & Activities

  • Issue created by @Grevil
  • 🇩🇪Germany Grevil

    @Anybody said in an internal conversation, that he would like this feature to be separated in its own submodule, instead of putting the feature inside "fences_presets". I don't think this is necessary, if the "sync" checkbox is disabled by default (opted out of syncing / config entity not passed by reference).

    Of course, if there are valid reasons for having another submodule, he can definitely convince me otherwise! ;)

  • Status changed to Postponed 19 days ago
  • 🇩🇪Germany Anybody Porta Westfalica

    Let's postpone this for now, if anyone is interested, feel free to work on it, but for us the current functionality is good enough

Production build 0.71.5 2024