[V2] Allow configuration enable/disable for some features

Created on 1 March 2023, almost 2 years ago
Updated 11 February 2024, 11 months ago

Problem/Motivation

This module makes some opinionated choices that go beyond providing a gin-based layout builder UI.

As a site builder and developer, i'd like to be able to opt-in / out of some options

Proposed resolution

Set a module configuration area where the user can enable/disable the following module features (list could be increased).

  • Enable/disable the toastified messages moved to the offcanvas area. Some users might have their own messaging UI or might want to have them on the original place.
  • Enable/disable the module on the public theme. Some users migth want the Gin reset only for admin UI and provide their own UI on the public facing theme (if any)
  • Enable/disable the improved UI on the page (add block / section, etc). Some users might only want to have the offcanvas reset but provide their own UI for the page content contextual links/buttons.
Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇪🇸Spain idiaz.roncero Madrid

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

Comments & Activities

  • Issue created by @idiaz.roncero
  • 🇬🇧United Kingdom very_random_man

    Yes I'm thinking this might be handy too. At the moment gin_lb is presenting issues with consistency. The main use case is where there are users who do page editing but don't use the admin theme for anything. For example, you may have site admins / editors using the admin theme for both content and general tasks but group editors only editing content and layouts in the front end theme. Gin LB adds loads of improvements that enhance the group editors' experience but the more 'Ginny' bits don't make sense to them.

    Another kind of inconsistency is the media browser. It looks great on layout builder pages but none of the benefits are available on other media elements, like node edit forms. This requires a certain amount of effort to figure out how gin_lb is working and how to activate it on non-LB forms.

    As mentioned above, the next example I'm dealing with is Toastify. Currently I have toastified messaging on only LB pages and nothing on the rest of the front end. I think it would be a good idea to remove it entirely and maybe just recommend using this module: https://www.drupal.org/project/toastify which would apply it across the theme by the looks of things. I'll raise this as separate ticket.

    Maybe this module needs a broader remit to provide ginnyness to front-end themes as a whole? I'd love to apply some of the normal Gin node editing functionality to the front-end theme, such as having the form actions pinned to the top.

  • 🇫🇷France Grimreaper France 🇫🇷
  • 🇫🇷France Grimreaper France 🇫🇷
Production build 0.71.5 2024