[PP-1] Add ability to select displays from a list when creating or editing a piece of content

Created on 10 May 2018, about 6 years ago
Updated 28 March 2024, 3 months ago

The main use case that's been identified for Layout Library is the ability to select a pre-defined display and apply it to content.

The selection should be stored with the node. When the display selection is changed, it should create a new revision to the content, allowing the user to revert and not lose any inline blocks they had created.

If there have been no overrides to the individual content display, then changes to the pre-defined display should update the content display.

Here is a mockup of the add form in the settings tray, using Layout Library:

The MVP for the field is a select list with stored display library names.

πŸ“Œ Task
Status

Needs work

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States DyanneNova

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

    This works today, I think it can be closed (with appropriate attribution) and follow-on tasks created for anything else that needs to be done.

Production build 0.69.0 2024