Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293910

Revisit the redirect to 'add block' form in the 'add block content' form

$
0
0

Problem/Motivation

When you submit the block content add form, you're redirected to the add block (place block) form for the newly added block content item.

This made sense in the context of block content only being used with the global page layout, but with the advent of layout builder it no longer makes sense.

Steps to reproduce

Goto block/add
Add a block content item
Note you're redirected to the place block form

Proposed resolution

When on the block content form, when the block content item is being created for the first time, add a secondary action 'Save and configure'. Have this button do the redirect. Have the existing save button redirect back to the block library.

This is similar to the pattern with terms, where we have two save buttons, one that returns to the list, and one that reloads the add form ready to add additional terms

Remaining tasks

Agree, patch, review

User interface changes

New 'Save and place' button.
This uses the existing 'place block' terminology seen in the block layout page

Step 1 go to /block/add

step1

Before you would be redirected to

before

After change you would be redirected to

after

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 293910

Trending Articles