Some components cannot be used in XB because UI prevents SDC props being named `name`

Created on 13 August 2024, 4 months ago

Overview

Title says it all.

Becomes readily apparent when trying to place the shoe_tab_panel component that ๐Ÿ“Œ Introduce an example set of representative SDC components; transition from "component list" to "component tree" Fixed introduced.

Was spotted a long time ago, but only now is becoming relevant. Fixing this will allow us to remove @todos such as:

// @todo the current quick-and-dirty UI PoC unfortunately prevents any prop from being named `name`, because it expects that to convey the component name โ€” but it's not actually one of the props consumed by the SDC.

Proposed resolution

Change the data structure that the client sends to the server and expects to receive from /api/layout/node/1.

User interface changes

None.

๐Ÿ› Bug report
Status

Active

Component

Page builder

Created by

๐Ÿ‡ง๐Ÿ‡ชBelgium wim leers Ghent ๐Ÿ‡ง๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡บ

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024