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

Created on 13 August 2024, 8 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