Deleting a block does not redirect back to the correct theme.

Created on 6 July 2015, almost 9 years ago
Updated 24 January 2023, over 1 year ago

Problem/Motivation

When working with the Block Layout interface, it's confusing to delete a block and be taken back to another theme's block layout page. This could cause users to accidentally delete blocks from another theme (thinking they belong to the theme they just deleted a block from).

Proposed resolution

This might not be the Drupal 8 way of doing things (since I just started diving into Drupal 8 Core recently), but for now I suggest we just add a destination query string variable to the delete operation that returns to the current page.

Remaining tasks

Attach the patch.

User interface changes

The interface itself does not change, it just redirects to a different location.

API changes

There are no API changes.

Data model changes

There are no Data model changes.

πŸ› Bug report
Status

Needs work

Version

10.1 ✨

Component
BlockΒ  β†’

Last updated about 6 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States sammarks15

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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 smustgrave

    This will need an issue summary update and title update. If the issue is fixed and this is just about adding test coverage then it should be stated.

Production build 0.69.0 2024