PromucFlow_constructor/app/client/src
ashit-rath 1fbfb28abf
chore: reset entities reducers on editor unmount (#29565)
## Description

Reset widgets, actions and jsCollection on application unmount.
This is to make sure no entities get into workflows or modules editor

#### PR fixes following issue(s)
PR for https://github.com/appsmithorg/appsmith-ee/pull/3138

#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### Type of change
> Please delete options that are not relevant.
- Chore (housekeeping or task changes that don't impact user perception)

## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [ ] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed


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

## Summary by CodeRabbit

- **New Features**
- Implemented a feature to reset the editor to its initial state across
various components.

- **Refactor**
  - Enhanced state management to ensure a consistent reset behavior.

- **Chores**
- Updated internal state handling to improve performance and
reliability.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-19 16:01:44 +05:30
..
actions feat: ui for autocommit (#29441) 2023-12-11 21:11:43 +05:30
api chore: template upload process revamping (#29626) 2023-12-15 17:31:25 +05:30
assets chore: Added context switching for pages pane (#29100) 2023-11-28 18:16:43 +05:30
ce chore: reset entities reducers on editor unmount (#29565) 2023-12-19 16:01:44 +05:30
components feat: http2 support for REST API and GraphQL (#29304) 2023-12-19 15:56:20 +05:30
constants feat: http2 support for REST API and GraphQL (#29304) 2023-12-19 15:56:20 +05:30
ee chore: split for overlay changes on EE to accommodate module instance (#29647) 2023-12-18 12:42:36 +05:30
enterprise
entities feat: http2 support for REST API and GraphQL (#29304) 2023-12-19 15:56:20 +05:30
globalStyles feat: show additional info for autocomplete results (#28564) 2023-11-10 13:36:10 +05:30
icons feat: Adds partial import functionality (#28293) 2023-11-17 12:46:18 +05:30
layoutSystems fix: update event name for template fork from canvas starter templates (#29622) 2023-12-14 17:17:53 +05:30
mockComponentProps
mockResponses
mocks chore: Add MutuationObserver to track changes in positions of widgets and layouts. (#28315) 2023-10-24 07:37:06 -04:00
navigation chore: Editor Pane Segments completion (#29688) 2023-12-18 16:10:25 +05:30
pages chore: Refactoring queries/JS section on entity explorer to support private entities on packages (#29703) 2023-12-18 22:37:32 +05:30
plugins/Linting chore: CE changes for linting (#28542) 2023-11-03 16:31:49 +05:30
polyfills
reducers chore: reset entities reducers on editor unmount (#29565) 2023-12-19 16:01:44 +05:30
reflow chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
sagas chore: template upload process revamping (#29626) 2023-12-15 17:31:25 +05:30
selectors chore: split for overlay changes on EE to accommodate module instance (#29647) 2023-12-18 12:42:36 +05:30
templates
theme
transformers feat: http2 support for REST API and GraphQL (#29304) 2023-12-19 15:56:20 +05:30
UITelemetry chore: capturing more telemetry data as per fe coder's requirements(#29153) (#29287) 2023-12-05 11:02:03 +05:30
usagePulse fix: unhandledRejection error in sentry log (#28091) 2023-10-16 04:01:00 +01:00
utils chore: Refactoring queries/JS section on entity explorer to support private entities on packages (#29703) 2023-12-18 22:37:32 +05:30
WidgetProvider chore: add configuration for large and small widgets (#28671) 2023-11-14 10:55:48 +05:30
WidgetQueryGenerators chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
widgets feat: Integrate WDS Menu Button Widget (#29113) 2023-12-06 14:33:38 +05:30
workers chore: Refactoring entity types and updating DS action create permission to fix some bugs on EE (#29573) 2023-12-14 20:14:30 +05:30
App.css
AppErrorBoundry.tsx
config.d.ts
Globals.d.ts
index.css
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
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