PromucFlow_constructor/app/client/src
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
..
actions Merge branch 'release' into feat/reactive-actions-run-behaviour 2025-05-07 21:29:10 +01:00
api fix: logout user if the session has expired between page switches (#40718) 2025-05-21 16:32:19 +05:30
assets feat: add action resp viz (#39690) 2025-03-12 13:59:36 +01:00
ce fix: add missing displayName and slug to organization reducer (#40779) 2025-05-28 04:59:32 -07:00
components chore: fix resetting of Dropdown control of UQI (#40775) 2025-06-03 13:10:17 +05:30
constants chore: Adding debounce to onValueChange for input widgets (#40849) 2025-06-06 15:51:36 +05:30
Datasource/components chore: reconnect ds detached from datasource editor part 1 (#35907) 2024-09-02 11:26:34 +05:30
ee chore: Update flags for self-hosting agents (#40639) 2025-05-13 17:36:58 +05:30
enterprise fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
entities chore: Updating the spelling for runBehaviour (#40490) 2025-05-02 17:58:26 +05:30
git chore: re-instate status call for protected branches in git connected apps (#40880) 2025-06-06 13:53:37 +05:30
git-artifact-helpers/application chore: git pkg - package integration with git (#39342) 2025-02-19 13:42:58 +01:00
globalStyles fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
hooks chore: Updating google authentication config to support Multi Org flow on EE (#39985) 2025-03-31 18:33:11 +05:30
icons chore:delete unused files (#36368) 2024-09-19 16:01:03 +03:00
IDE chore: Updating the dropdown width for the run behavior settings of JS object (#40691) 2025-05-19 19:33:27 +05:30
instrumentation chore: added push log faro wrapper function captureLog (#40539) 2025-05-02 11:54:14 +05:30
layoutSystems chore: fix container query bug in ai chat widget (#40607) 2025-05-08 13:37:58 +05:30
mockResponses
mocks chore: delete unused code (#36461) 2024-09-23 13:52:00 +03:00
navigation chore: update import of AppState to DefaultReduxState (#40494) 2025-05-01 15:53:37 +05:30
pages chore: decoupled property pane registration (#40851) 2025-06-05 16:25:49 +05:30
PluginActionEditor chore: added automatic option to run behaviour behind feature flag (#40608) 2025-05-16 16:29:31 +05:30
plugins/Linting fix: Reduce cycle deps by removing wrong exports (#39268) 2025-02-14 18:26:31 +05:30
polyfills chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
reducers chore: Changes for supporting input in UI modules property pane (#40546) 2025-05-07 19:21:09 +05:30
reflow chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
sagas chore: Module editor Remove page tab from navigate to action selector (#40743) 2025-05-23 14:41:27 +05:30
selectors chore: Update list and form widget to work with UI modules (#40711) 2025-05-22 18:02:47 +05:30
templates
theme
usagePulse fix: Use Spring's native CSRF protection, and fix login page (#37292) 2025-03-08 21:01:02 +05:30
utils chore: reduce mixpanel recording sessions (#40881) 2025-06-06 08:49:26 +00:00
WidgetProvider chore: Update list and form widget to work with UI modules (#40711) 2025-05-22 18:02:47 +05:30
WidgetQueryGenerators fix: JSON form generate form flow broken for tables without primaryKey and READ_WRITE permissions (#40275) 2025-04-24 03:57:03 -07:00
widgets chore: Adding debounce to onValueChange for input widgets (#40849) 2025-06-06 15:51:36 +05:30
workers chore: add feature flag for app computation cache (#40543) 2025-05-05 17:55:25 +05:30
App.css
AppErrorBoundry.tsx chore: refactor faro (CE) (#40350) 2025-04-29 10:32:36 +05:30
config.d.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
Globals.d.ts fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
index.css fix: Revert "Revert "feat: Added focus ring for focus visible (#37700)" (#… (#38655) 2025-02-03 11:12:29 +05:30
index.tsx chore: update import of AppState to DefaultReduxState (#40494) 2025-05-01 15:53:37 +05:30
LandingScreen.tsx fix: handle undefined user object in LandingScreen for non-existent cloud billing domains (#40855) 2025-06-04 06:02:30 -07:00
preload-route-chunks.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
react-app-env.d.ts chore: Eject CRA (#39264) 2025-02-14 14:24:41 +05:30
RouteChangeListener.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
serviceWorker.ts chore: add etag caching in consolidated api for application view mode (#38873) 2025-01-30 13:54:34 +05:30
store.ts chore: update import of AppState to DefaultReduxState (#40494) 2025-05-01 15:53:37 +05:30
wdyr.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00