PromucFlow_constructor/app/client/src
Vemparala Surya Vamsi e151524d1c
feat: constrained diff between states (#31847)
## Description
We are constraining the diff between the old dataTree and the
newDataTree to its only affected nodes. The affected nodes list is the
evalOrder, unevalUpdates and updatedValuePaths (which represents
localStorage and setter updates). Through limiting the diff to the
affected node list this should help in reducing the diff computation
latency and overall improve the performance of each evaluation cycle.
We are also cleaning up code related to compressing and decompressing
updates since we deprecated that functionality.

Fixes #31272  

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!IMPORTANT]
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8447023192>
> Commit: `cb925afbb99577947fbc7233a35e4454223b402a`
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8447023192&attempt=2"
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

- **New Features**
- Introduced new logic for handling widget state updates efficiently.
- Enhanced evaluation logic to support optimized diff updates and
serialization.
- Improved data tree generation for error handling and evaluation order.
- **Bug Fixes**
- Addressed issues in generating optimized updates for large collections
and handling `undefined` values.
- Fixed Cypress tests in the "PgAdmin Clone App" spec for more reliable
interaction with UI elements.
- **Refactor**
- Simplified the logic for widget state cleanup and evaluation paths
handling.
- Removed unused variables and functions related to widget meta
properties and evaluation paths.
- **Tests**
- Added new spec file `PgAdmin_spec.js` to Cypress limited tests for
client-side regression testing.
- **Chores**
- Updated type imports across various files to reflect changes in
evaluation logic.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-27 14:37:46 +05:30
..
actions feat: constrained diff between states (#31847) 2024-03-27 14:37:46 +05:30
api chore: Remove "Save theme" functionality (#31481) 2024-03-12 18:54:39 +05:30
assets feat: Tabler Icons (#30248) 2024-01-19 11:54:44 +03:00
ce feat: constrained diff between states (#31847) 2024-03-27 14:37:46 +05:30
components chore: Prepared statement description changes (#32042) 2024-03-26 14:09:35 +05:30
constants feat: collapse all prop sections except data for table, json widgets (#32052) 2024-03-26 15:36:00 +05:30
ee chore: Remove analytics logging of JS functions as it causes a performance b… (#31663) 2024-03-18 11:50:13 +05:30
enterprise
entities chore: making body and variables as optional props- 31568 (#31665) 2024-03-20 19:03:52 +05:30
globalStyles fix: Remove guided tour code (#30387) 2024-01-24 16:31:21 +05:30
icons feat: Adds partial import functionality (#28293) 2023-11-17 12:46:18 +05:30
layoutSystems chore: [chart widget] show configuration errors only in editor (#32024) 2024-03-26 09:49:58 +05:30
mockComponentProps
mockResponses
mocks feat: Anvil DnD highlight activation upgrade (#29979) 2024-01-11 21:31:38 +05:30
navigation feat: Changed add button to toggle button in left pane (#31523) 2024-03-07 17:56:58 +05:30
pages feat: collapse all prop sections except data for table, json widgets (#32052) 2024-03-26 15:36:00 +05:30
plugins/Linting chore: making body and variables as optional props- 31568 (#31665) 2024-03-20 19:03:52 +05:30
polyfills
reducers feat: constrained diff between states (#31847) 2024-03-27 14:37:46 +05:30
reflow chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
sagas feat: constrained diff between states (#31847) 2024-03-27 14:37:46 +05:30
selectors chore: [chart widget] show configuration errors only in editor (#32024) 2024-03-26 09:49:58 +05:30
templates
theme
transformers feat: expires in field added in oauth2 api datasource (#30866) 2024-02-07 18:26:21 +05:30
UITelemetry chore: Add traces for measuring data transfer time between worker thread and… (#30537) 2024-01-25 14:04:17 +05:30
usagePulse fix: unhandledRejection error in sentry log (#28091) 2023-10-16 04:01:00 +01:00
utils chore: [chart widget] show configuration errors only in editor (#32024) 2024-03-26 09:49:58 +05:30
WidgetProvider chore: widgets alignment (#31923) 2024-03-22 16:53:29 +03:00
WidgetQueryGenerators chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
widgets feat: collapse all prop sections except data for table, json widgets (#32052) 2024-03-26 15:36:00 +05:30
workers feat: constrained diff between states (#31847) 2024-03-27 14:37:46 +05:30
App.css
AppErrorBoundry.tsx
config.d.ts
Globals.d.ts chore: Add support for 3D Custom ECharts (#26657) 2023-09-27 16:54:27 +05:30
index.css chore: widgets alignment (#31923) 2024-03-22 16:53:29 +03:00
index.tsx chore: frontend and backend telemetry updates for execute flow #28800 and #28805 (#28936) 2023-11-24 13:09:02 +05:30
LandingScreen.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
preload-route-chunks.ts fix: Refactor preloads to fix an issue with CDN on EE (#28402) 2023-10-30 13:32:37 +05:30
react-app-env.d.ts
RouteChangeListener.tsx
serviceWorker.js chore: Remove unused services (#30292) 2024-01-23 05:43:16 +05:30
store.ts chore: Refactor URLAssembly to throw error on missing pageId for app route resolution only (#28527) 2023-11-02 15:55:24 +05:30
wdyr.ts