Create a xb_test_page module with throwaway code that lets you create a page entity

Created on 8 January 2025, 14 days ago

Overview

XB has the Page entity type, but not yet any UI for creating an entity of this type. A nice UI for adding pages within XB will come in the next few weeks, but in the meantime, it would be helpful to be able to test XB with page entities, not just nodes.

Proposed resolution

Create an xb_test_page submodule that's hidden: true, and add some quick and dirty code to it that lets you create a page entity and then navigate to the XB URL for it. The only required field for the page entity is title, so this should be easy to automate. E.g., just setting the title to Untitled or something like that.

This isn't necessarily blocked on or a blocker to πŸ“Œ Move the addition of the XB field on the Article bundle to a hidden submodule Active , but it might be helpful to do them at roughly the same time, so that even for XB developers/testers, nodes aren't privileged over pages, but rather it's up to you whether to (via Drush) enable xb_test_node, xb_test_page, or both, depending on which you'd rather test with.

User interface changes

πŸ“Œ Task
Status

Active

Version

0.0

Component

Page

Created by

πŸ‡ΊπŸ‡ΈUnited States effulgentsia

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

Comments & Activities

Production build 0.71.5 2024