Ensure that the UI can load a content template without crashing

Created on 21 April 2025, about 6 hours ago

Overview

Right now, there's no way to see the XB UI loaded for a content template. You can only load it in the context of a fieldable content entity.

But we'll need some way to edit content templates, without any additional entity present (I think).

Proposed resolution

Make it possible to load a content template directly into the XB UI at a URL something like /xb/node.article.full. Right now, that will probably crash badly due to certain assumptions in the backend API controllers, and possibly other things too.

It should be loadable without crashing. We do NOT need the template to actually be editable or saveable (or even auto-saveable). Just loadable without errors. The next step, in a separate issue, will be to ensure that the content template is auto-saveable and, presumably, saveable -- but that might take some doing, since the XB UI currently doesn't support dynamic prop sources, which are outright required in order to save content templates at all (or they'll fail validation).

User interface changes

None expected.

πŸ“Œ Task
Status

Active

Version

0.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

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

Comments & Activities

Production build 0.71.5 2024