Provide Flexible choice of region for placeBlockInDefaultTheme and placeBlockInAdminTheme config actions

Created on 18 July 2024, 4 months ago
Updated 23 July 2024, 4 months ago

Problem/Motivation

We want recipe authors to have a flexible way to set the region in which a block should be placed, because available regions will differ by theme.

Proposed resolution

Allow for a nested array within $value that will be keyed by the name of the target theme, with the machine name of the target region for that theme. Also allow for a 'default' key in this array, in case a custom or unknown theme is in use for the target theme. For example:

region_map:
  olivero: some_region
  gin: some_region
  claro: some_region
  ...
  default: some_other_region
✨ Feature request
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
recipe systemΒ  β†’

Last updated about 17 hours ago

Created by

πŸ‡¨πŸ‡¦Canada mandclu

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

Comments & Activities

Production build 0.71.5 2024