Drop support for drop button option?

Created on 9 January 2023, almost 2 years ago
Updated 19 January 2024, 11 months ago

Problem/Motivation

Since the introduction of the popover/click toggle widget in https://www.drupal.org/project/lb_direct_add/issues/3157440 β†’ , I have stopped using the dropbutton widget. As I'm looking at adding new functionality in https://www.drupal.org/project/lb_direct_add/issues/3330008 β†’ , I noticed that the dropbutton widget is not a good fit for adding sections with the icon without modifying how the icon is displayed. I considered not offering the dropbutton for selecting section layouts. This introduces complexity in terms of how the config schema will evolve. It would be easier to not support the dropbutton option, but I have no idea how many people might still be using it.

This issue is to introduce the idea of moving away from it as a UI option in favor of the newer widget. I'm hoping to get feedback to help guide this decision.

Remaining tasks

Gather feedback
Make a decision

User interface changes

Removal of the dropbutton widget for displaying the direct add choices.

Data model changes

Removal of config schema related to being able to select a widget.

🌱 Plan
Status

Active

Version

2.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States pyrello

Live updates comments and jobs are added and updated live.
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.

  • πŸ‡«πŸ‡·France simon georges Rouen, France

    We are currently working with some content types with a very "fixed" template, where each region can only accomodate only 1 component. In that case, the dropdown feels a better option, while for our other content types, having the pop-over with the list of components is nicer. I was just about to create a feature request to have the possibility to choose the UX depending on the entity bundle :-D

  • πŸ‡ΊπŸ‡ΈUnited States pyrello

    @Simon Georges Do you think that this would fit your use case? https://www.drupal.org/project/lb_direct_add/issues/3415713 ✨ Add permission to view "More options" link Needs review

Production build 0.71.5 2024