Problem/Motivation
The Tabs block within the Layout Builder in Drupal 10.3 is not functioning as expected. When attempting to filter blocks by name, the Tabs block does not appear in the block list, making it impossible to add or configure the Tabs block via the Layout Builder.
Steps to reproduce
- Log in to the Drupal 10.3 site.
- Navigate to the Layout Builder for any content type.
- Attempt to add a new block.
- In the block selection panel, use the filter to search for "Tabs" by entering the block name.
- Observe the filtered block list.
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | Tabs block in layout builder.png | 357.72 KB | bebalachandra |
| #9 | layout-builder-local-tasks-block-3465933-9.patch | 675 bytes | ab.shakir |
Issue fork drupal-3465933
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
sajideen commentedComment #3
sajideen commentedComment #4
sajideen commentedComment #5
smustgrave commentedDon't believe review is the correct status. When someone answers they may put into review or PNMI
Comment #6
sajideen commentedComment #7
cilefen commentedI just verified block search works in general. Have you seen these URLs? Tabs are not like other blocks.
Comment #8
ab.shakir commentedThis was committed for purpose in core version 10.2.x to simplify the block listing in layout builder. But I'm not sure regarding the idea whether this should be hidden by default or not, given the importance of the local tasks links and its different use cases.
Comment #9
ab.shakir commentedWe can add it back for special cases using the patch.
Comment #10
ab.shakir commentedComment #11
smustgrave commentedFixes should be in an MR for tests to run
Issue summary appears incomplete
May require test coverage
Comment #12
tisteegz commentedI have been trying to work out why the Tabs are now unavailable so thanks for creating this issue. Is there no way to configure which blocks are deemed "Not useful". Is the patch the only way to get the "Tabs" back in?
Comment #15
bebalachandra commentedCreated MR using the patch file created from @ab.shakir. verified on local tabs block is visible in layout builder.