The Needs Review Queue Bot → tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
+++ b/core/modules/layout_builder/js/layout-builder.js @@ -43,9 +43,17 @@ + $linkJquery.parent().toggle(textMatch);
nitpick/personal preference, I'd name this $link - the $ indicates its a jQuery object
I think we need a 9.5 version of this patch with the es6 and compiled version
- Status changed to Needs review
almost 2 years ago 12:31am 3 February 2023 - 🇮🇳India DeepaliJ
Applied patch #91 on Drupal 10.1.x-dev.
The patch applied cleanly.
The issue got fixed after applying the patch.
Refer to the previous before and after screenshots.Also, tried to apply the patch on the 9.5 version but patch failed to apply with below error:
Checking patch core/modules/layout_builder/js/layout-builder.js... error: while searching for: * The link to add the block. */ const toggleBlockEntry = (index, link) => { const textMatch = link.textContent.toLowerCase().indexOf(query) !== -1; $(link).toggle(textMatch); }; // Filter if the length of the query is at least 2 characters. error: patch failed: core/modules/layout_builder/js/layout-builder.js:43 error: core/modules/layout_builder/js/layout-builder.js: patch does not apply Checking patch core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFilterTest.php
- 🇮🇳India sonam.chaturvedi Pune
Verified and tested patch #91 on 10.1.x-dev. Patch applied cleanly.
Test Results:
1. Blank Space issue is no longer reproducible on 10.1.x-dev.
2. When changing a matching string to a shorter matching string then filter work and results match. For ex. When searched for "ch", then searched "cha" and then again searched "ch", all matching results are displayed.Refer attached video for before and after patch.
@smustgrave This patch resolves the https://www.drupal.org/project/drupal/issues/3103506 🐛 Layout Builder Add Block filter doesn't update after changing a matching string to a shorter matching string Closed: duplicate issue.
- 🇺🇸United States smustgrave
Closed 🐛 Layout Builder Add Block filter doesn't update after changing a matching string to a shorter matching string Closed: duplicate as a duplicate and moved over credit.
- 🇺🇸United States tedbow Ithaca, NY, USA
smustgrave → credited tedbow → .
- 🇺🇸United States oknate Greater New York City Area
smustgrave → credited oknate → .
- Status changed to Needs work
almost 2 years ago 11:07am 13 February 2023 The Needs Review Queue Bot → tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- Status changed to Needs review
almost 2 years ago 2:39pm 13 February 2023 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
+++ b/core/modules/layout_builder/js/layout-builder.js @@ -43,9 +43,15 @@ + // Checks if a category is currently hidden. Toggles the category on if so.
extreme nit pick ™️ - greater than 80 chars here
other than that I think this is ready
- Status changed to RTBC
almost 2 years ago 10:08pm 8 March 2023 - Status changed to Needs work
almost 2 years ago 12:33pm 12 March 2023 - Status changed to Needs review
almost 2 years ago 5:09am 13 March 2023 - Status changed to Needs work
almost 2 years ago 2:32pm 13 March 2023 - Status changed to Needs review
almost 2 years ago 5:18am 14 March 2023 - Assigned to R.shaikh
- 🇮🇳India gauravvvv Delhi, India
Re-rolled patch for 9.5.x, attached interdiff for same.
- Status changed to RTBC
almost 2 years ago 4:25pm 14 March 2023 - Status changed to Fixed
almost 2 years ago 7:14am 17 March 2023 Automatically closed - issue fixed for 2 weeks with no activity.