[PP-1] HTTP API: new /xb/api/field-form route to load form for editing specific entity base/configurable field

Created on 26 July 2024, about 1 month ago
Updated 20 August 2024, 19 days ago

Overview

Sibling issue of 📌 HTTP API: new /xb/api/meta-form route to load form for editing entity meta fields Active , necessary for being able to easily change the value that a DynamicPropSource returns, by allowing the editing of a base/configurable field on the host entity.

Quoting 🌱 Milestone 0.1.0: Experience Builder Demo Active :

  1. (stretch) As a creator, I want to map component properties to fields instead of using static content. For example, display the node title in a hero component, or use a design token (i.e. CSS variable) for the background color of the hero component.

(IOW: for in 🌱 UX design tracker Active .)

👆 That is referring to the UX for choosing which existing host entity field to use, which will be unblocked by 📌 HTTP API: update /xb-component/{component_id} to list possible prop sources for current entity context Fixed .

But after that is done, the natural next step is that the Content Creator is able to click through to editing the underlying structured data. That is what this response aims to provide.

(Saving these is out of scope — because it is out of scope for 🌱 [META] Early phase back-end work coordination Active too.)

Proposed resolution

Look at https://www.drupal.org/project/quickedit for inspiration.

User interface changes

None — we'll need a front-end sibling issue to actually use this. This is about allowing that front-end work to happen independently, about pre-emptively unblocking that.

📌 Task
Status

Closed: outdated

Component

Page builder

Created by

🇧🇪Belgium Wim Leers Ghent 🇧🇪🇪🇺

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

Comments & Activities

Production build 0.71.5 2024