"Unlock" button is hidden behind a "More actions" dropdown in the Gin Admin theme

Created on 9 September 2024, 2 months ago

Problem/Motivation

On node edit forms with the Gin Admin theme the "Unlock" button is hidden behind a secondary actions dropdown button with the title "More actions". This became an issue after Gin admin theme introduced this dropdown menu, hiding all buttons except from the most important one ("Save" in case of a node).
I think "Unlock" button is too important to be hidden, as it should be used every time when user decides to not save the node. Having it hidden may cause increase number of content locked without valid reason.

Steps to reproduce

  1. Install and use as default admin theme the Gin Admin theme,
  2. Install "Content locking" module and enable this for one of the node types,
  3. Create or edit a node of type selected in previous point.
  4. Check that "Unlock" button is hidden behind a secondary actions dropdown button.

Proposed resolution

As it looks like Gin maintainers are not planning to change this feature ( https://www.drupal.org/project/gin/issues/3466692 ✨ Options to disable "more actions" dropdown? Closed: works as designed ), I think "Content locking" should takie similair approach like other modules, making their buttons to jump out of this dropdown menu. For example, like this: https://www.drupal.org/project/save_edit/issues/3461404 πŸ’¬ The "Save & Edit" button is hidden behind a "More actions" dropdown button in the Gin Admin theme Fixed

πŸ’¬ Support request
Status

Active

Version

2.4

Component

Code

Created by

πŸ‡΅πŸ‡±Poland besek

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024