PromucFlow_constructor/app/client/src/sagas
Vemparala Surya Vamsi f9664a3b7c
chore: debounce handle action updates (#38396)
## Description
Debounced handleActionUpdate actions together with bufferedActions, this
has reduced the webworker scripting and LCP by about 25-30% on a windows
machine.


Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## 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/12542044958>
> Commit: 834a437d377baf45cc9c187eedaff261b7de6155
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12542044958&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Mon, 30 Dec 2024 06:24:18 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**
	- Enhanced action data handling and evaluation mechanisms
	- Improved Redux action processing for more efficient updates

- **Refactor**
	- Streamlined saga logic for action data management
	- Updated type definitions to improve code clarity and type safety

- **Tests**
- Added comprehensive test cases for action data buffering and
consolidation

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-30 12:18:19 +05:30
..
__tests__ chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
ActionExecution chore: debounce handle action updates (#38396) 2024-12-30 12:18:19 +05:30
autoHeightSagas chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
BuildingBlockSagas chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
CanvasSagas chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PartialImportExportSagas chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PasteWidgetUtils chore: delete unused code (#36461) 2024-09-23 13:52:00 +03:00
WebsocketSagas chore: Remove socket-io and websocket connections (#37784) 2024-11-28 10:58:56 +05:30
ActionSagas.ts chore: add new ADD_ACTION blueprint operation type (#37078) 2024-10-25 12:00:34 +03:00
AnalyticsSaga.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
ApiPaneSagas.ts fix: API Body format focus retention (#37150) 2024-11-01 11:24:49 +05:30
AppThemingSaga.tsx chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30
AutoLayoutUpdateSagas.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
BatchSagas.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
CommunityTemplatesSagas.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
CurlImportSagas.ts chore: Migrate sub components into Plugin Action Editor (#36844) 2024-10-16 18:29:10 +05:30
DatasourcesSagas.ts chore: Adding no access state for Datasource tab based on permissions given via GAC (#38268) 2024-12-23 20:27:36 +05:30
DebuggerSagas.ts chore: Debugger Quick wins (#37954) 2024-12-10 14:43:40 +00:00
editorContextSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ErrorSagas.tsx chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30
EvalErrorHandler.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
EvaluationsSaga.test.ts chore: debounce handle action updates (#38396) 2024-12-30 12:18:19 +05:30
EvaluationsSaga.ts chore: debounce handle action updates (#38396) 2024-12-30 12:18:19 +05:30
EvaluationsSagaUtils.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
EvaluationsSagaUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
EvalWorkerActionSagas.ts chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
FocusRetentionSaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
FormEvaluationSaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
getNextEntityAfterRemove.test.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
GitSyncSagas.ts chore: making autocommit GA (#36347) 2024-09-25 14:32:01 +05:30
GlobalSearchSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
helper.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
helper.ts chore: add new ADD_ACTION blueprint operation type (#37078) 2024-10-25 12:00:34 +03:00
IDESaga.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
InitSagas.ts chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
JSLibrarySaga.ts chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
JSPaneSagas.ts chore: Debugger Quick wins (#37954) 2024-12-10 14:43:40 +00:00
layoutConversionSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
LintingSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
loadGoogleApi.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ModalSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
NavigationSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
OnboardingSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
OneClickBindingSaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PluginSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PostEvaluationSagas.ts chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
PostLintingSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
QueryPaneSagas.ts chore: Updating generate page interaction to show it in a modal following the IDE 2.0 interaction pattern (#37414) 2024-11-19 12:05:10 +05:30
RecentEntitiesSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ReplaySaga.ts chore: Migrate sub components into Plugin Action Editor (#36844) 2024-10-16 18:29:10 +05:30
SaaSPaneSagas.ts chore: Updating generate page interaction to show it in a modal following the IDE 2.0 interaction pattern (#37414) 2024-11-19 12:05:10 +05:30
selectors.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
SnapshotSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
SnipingModeSaga.test.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
SnipingModeSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
TemplatesSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
TernSaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ThemeSaga.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ToastSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
UtilSagas.ts chore: Cleanup Redux Actions file (#35720) 2024-08-22 09:49:30 +05:30
WidgetAdditionSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetBlueprintSagas.test.ts fix: jest test failures coz of getIsAnvilLayout (#32664) 2024-04-15 09:17:23 +05:30
WidgetBlueprintSagas.ts chore: add new ADD_ACTION blueprint operation type (#37078) 2024-10-25 12:00:34 +03:00
WidgetDeletionSaga.test.ts fix: Prevent Errors in Debugger When Deleting List Widget (#35820) 2024-08-30 10:38:19 +01:00
WidgetDeletionSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetEnhancementHelpers.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetLoadingSaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetOperationSaga.test.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetOperationSagas.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetOperationUtils.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetOperationUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetSelectionSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetSelectUtils.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetSelectUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00