PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide/Templates
Jacques Ikot 9118f36432
fix: widget card filter (#32420)
## Description
> [!TIP]  
When user starts to search for a widget, and hovers over the canvas
area, the search filter resets. This issues is caused by the resetting
of the widget cards state whenever user hovers

**Fix**
I have changed the trigger for the useEffect, to only set the widget
cards state only when the building blocks are loaded.

Fixes #32408  

## Automation

/ok-to-test tags="@tag.Templates, @tag.Visual, @tag.Widget"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]  
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8610964331>
> Commit: `c5f3b657d91278a4ee841bc05db3ae4cab4b34c6`
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8610964331&attempt=1"
target="_blank">Click here!</a>
> All cypress tests have passed 🎉🎉🎉

<!-- end of auto-generated comment: Cypress test results  -->





<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- Improved the update mechanism for the widgets list in the UI Editor
sidebar to ensure it refreshes correctly after fetching new building
blocks.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Rahul Barwal <rahul.barwal@appsmith.com>
2024-04-09 10:38:01 +01:00
..
BuildingBlocks fix: widget card filter (#32420) 2024-04-09 10:38:01 +01:00
Filtering feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
CreateNewAppFromTemplates_spec.ts chore: Add spec for create new app from template (#31311) 2024-02-28 14:42:35 +05:30
Fork_Template_Existing_app_spec.js test: Cypress | Helpers improved + Flaky fixes (#30735) 2024-02-01 16:42:53 +05:30
Fork_Template_To_App_spec.ts test: Cypress | Text_With_Different_Size_spec.ts re-write + Flaky fixes (#30445) 2024-02-08 16:55:58 +05:30
ForkTemplateToGitConnectedApp.js feat: enabled editor pane sidebar (#29882) 2024-01-12 20:13:58 +05:30
TemplatesPage_spec.ts feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30