PromucFlow_constructor/app/client/cypress/support
Ankita Kinger fde8d013aa
chore: Adding debounce to onValueChange for input widgets (#40849)
## Description

Adding debounce to `onValueChange` for input widgets to fix multiple
Execute API calls happening in reactive queries flow.

Fixes [#40813](https://github.com/appsmithorg/appsmith/issues/40813)

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/15486342735>
> Commit: 6943ba5d0df915256cf29831df53e9ff9880d617
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=15486342735&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Fri, 06 Jun 2025 09:40:52 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


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

- **New Features**
- Input widgets now update their displayed values instantly while saving
changes in the background with a short delay, improving typing
responsiveness.
- Input changes are grouped and saved after a brief pause, reducing
unnecessary updates and enhancing performance.
- **Bug Fixes**
- Input fields now stay in sync with external updates and clear any
pending background updates when needed, preventing outdated or duplicate
changes.
- **Chores**
- Improved cleanup of background processes when input widgets are
removed, ensuring smoother operation.
- **Tests**
- Added typing delays in input simulation during Cypress tests to better
mimic real user input timing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-06-06 15:51:36 +05:30
..
ee
Objects test: fix failing Rich text editor (#40479) 2025-04-29 23:38:22 +05:30
Pages chore: Adding debounce to onValueChange for input widgets (#40849) 2025-06-06 15:51:36 +05:30
AdminSettingsCommands.js fix: Fix for the embedded case (#38101) 2024-12-13 15:04:00 +05:30
ApiCommands.js chore: Removing the feature flag for using Entity Item component from ADS templates (#39093) 2025-03-14 17:40:02 +05:30
commands.js ci: Updating fixtures to replace executeOnLoad with reactiveActions (#40555) 2025-05-02 19:14:53 +05:30
Constants.js chore: AI Chat e2e tests (#39490) 2025-03-07 17:33:16 +05:30
dataSourceCommands.js feat: datasource homepage ui redesign and search functionality for the datasources (#38360) 2025-01-09 16:18:44 +05:30
e2e.js chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
gitSync.js chore: git mod - test fixes (#38357) 2025-01-07 12:30:42 +01:00
index.d.ts feat: added global logout feature (#39942) 2025-04-02 12:20:06 +05:30
queryCommands.js chore: Removing the feature flag for using Entity Item component from ADS templates (#39093) 2025-03-14 17:40:02 +05:30
RapidMode.ts
themeCommands.js test: updated themeCommands (#33632) 2024-05-27 23:10:20 +05:30
timeout.js
widgetCommands.js chore: Removing the feature flag for using Entity Item component from ADS templates (#39093) 2025-03-14 17:40:02 +05:30
WorkspaceCommands.js fix: App card routing (#38798) 2025-01-29 13:52:20 +05:30