Problem/Motivation

When I’m filtering layout blocks by name in Layout builder I see a lot of empty spaces. Searching works correctly, but it would be much more convenient if it will look more compact as it was on D8.

Comments

nedaveleva created an issue. See original summary.

nedaveleva’s picture

nedaveleva’s picture

Before patch:
before patchbefore patch

After patch:
after patch

nedaveleva’s picture

nedaveleva’s picture

Status: Active » Needs review
nedaveleva’s picture

Issue summary: View changes
nedaveleva’s picture

gauravvvv’s picture

StatusFileSize
new1.97 KB
new1.78 KB

Re-rolled patch #2, Attached interdiff for same.

Please update .pcss file, and run yarn run build:css to compile pcss to CSS. don't edit CSS file directly @nedaveleva

gauravvvv’s picture

StatusFileSize
new2.14 KB
chetanbharambe’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new512.04 KB
new405.26 KB

Verified and tested patch #9.
Patch applied successfully and looks good to me.

Testing Steps:
# Goto: admin/structure/types/manage/article/display/default/layout
# Goto: Bottom of the page
# Click on Add Block
# Search any block by respective name

Expected Results:
# User should not see a lot of empty spaces.

Actual Results:
# When the user filtering layout blocks by name in Layout builder then the user is able to see a lot of empty spaces.

Please refer attached screenshots for the same.
Looks good to me.
Can be a move to RTBC.

avpaderno’s picture

Status: Reviewed & tested by the community » Needs review
tim.plunkett’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#3223048: Layout builder filter leaves blank space

This is a duplicate issue. The other one is fixing the JS. Please help test that code!

ovanes’s picture

StatusFileSize
new803 bytes

Hello I have rerolled patch filtering_layout_blocks-3231919-2.patch adjusted for core 9.5.x