delete button moved from main actions and put in sidebar

Created on 15 June 2023, over 1 year ago
Updated 19 September 2024, 3 months ago

Problem/Motivation

The gin theme moves the delete button from the main actions to the side bar. Users have found that they accidentially fill in the log message and then hit delete as the buttons just there. Want to move the delete button back. WOuld be nice to have this as a configured option.

Proposed resolution

Here is a patch that removes the delete button movement code.

Remaining tasks

Be nice if someone could add this stuff as a config option in UI.

User interface changes

Put delete button back in main actions.

Feature request
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom zarexogre

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

Comments & Activities

  • Issue created by @zarexogre
  • Status changed to Closed: works as designed over 1 year ago
  • 🇨🇭Switzerland saschaeggi Zurich

    I'm closing this as works as designed for the time being as we're currently not planning in introducing new settings in general. But (!) there are plans to add a split button (Save/Preview/Delete) to the sticky header where the delete action would be part of, but that's currently in the backlog.

    Cheers

  • 🇬🇧United Kingdom robcarr Perthshire, Scotland

    I agree. The location of the Delete button in the sidebar is poor UX, as it's too instinctive to hit that button when adding a note to the revision log or changing state. Should be elsewhere, or added to the save/preview button cluster which is more consistent with other Drupal UX.

    The patch is perfect (thanks @zarexogre), and I will probably use this as a default in all my builds.

    @saschaeggi - can't find any reference to a split button anywhere

  • 🇧🇪Belgium flyke

    I updated some projects just to have most recent security fixes and immediatly got a call from a client that the delete button was missing.
    I checked and confirmed with her that this is really bad UX.

    I created a new patch that works on the current 8.x-3.x version.

  • 🇧🇪Belgium flyke

    I have a very specific use case where the gin form alters are kind of disasterous for the content editors UX, but where I still prefer the Gin theme above the Claro theme for that project.

    Here is an alternative patch that disables all of the gin form alter stuff, so I can add this patch for that project.

Production build 0.71.5 2024