Allow for ordering and excluding direct add links

Created on 3 December 2019, over 4 years ago
Updated 24 March 2023, over 1 year ago

It would be ideal to set the order of the links that shown in the direct add dropbutton. That way, you can set the type of block that is likely to be used the most to be first and it can be accessed in one click.

Additionally, it would a nice feature to allow some links to not be shown in the dropbutton, in the event that there are a lot of options. This would be separate from any block restrictions related to layout_builder_restrictions, as any excluded block types would still show up in the regular "Add block" menu.

✨ Feature request
Status

Needs work

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.

  • Adding the ability to choose what blocks are available with Direct Add would improve this module greatly. I foresee using Direct Add to provide authors quick access to the most commonly used blocks, and then utilizing Layout Builder Browser β†’ to provide the full set of available components.

    I would recommend reviewing Layout Builder Browser's configuration pages to provide a similar experience. It's not necessary to include categories. But the ability to curate the available blocks and their order would great.

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

    @mccauslt Thanks for the recommendation. I'll take a look. Also, if you would like to get very occasional updates about the module and requests for input, please consider following this issue: https://www.drupal.org/project/lb_direct_add/issues/3332077 β†’

Production build 0.69.0 2024