Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Delete" button to Manage Blocks page for Layouts #6485

Open
stpaultim opened this issue Apr 28, 2024 · 0 comments
Open

Add "Delete" button to Manage Blocks page for Layouts #6485

stpaultim opened this issue Apr 28, 2024 · 0 comments

Comments

@stpaultim
Copy link
Member

stpaultim commented Apr 28, 2024

Description of the need

In issue #2894 we are creating a simple wizard to create a layout specific to one or more entity types. One criticism of the current PR is that a person my create and save a new layout before they get to the manage blocks page, at which point they might realize that don't want the layout at all and they have to go back to the Manage Layouts page to remove it.

This could be fixed by changing the way Layouts are saved so that a new layout is not created and saved until the person get's to the manage blocks page and saves it there. I believe that this would mirror how views work. One can work their way through the process of creating a view without saving it, until they get to the final step.

This feature is for an alternative, easier approach, to at least partially solving this problem. In many places in the Backdrop UI, we provide a delete button next to the save button, to make it easy for someone to remove content or configuration that they no longer need.

Proposed solution

Add this "Delete Layout" button to the Manage Blocks page for each layout.

image

Alternatives that have been considered

The alternative mentioned above is that we NOT save a layout until we get to the "Save Layout" button on the Manage Blocks page, to make it easier for someone to back out of a layout that they started, but decided they don't want to keep.

Additional information

We provide a "Delete" button on node edit pages.
image

We provide a "Delete" button on the configure page for File Types
image

We provide a "Delete" button on the configure tab for custom menus.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant