PromucFlow_constructor/app/client/test/sagas.ts
Hetu Nandu 723ad29d7a
chore: Cleanup Redux Actions file (#35720)
## Description

Cleans out and reorganises the Redux Actions Constants file

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/10489649733>
> Commit: 9fa7003f7c2d1b43a6c693cb1d34ba5cc2c11832
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10489649733&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Wed, 21 Aug 2024 13:45:56 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**
- Introduced new interfaces for enhanced structured data handling
related to page management and property pane visibility.
- Added functionality to control widget panel visibility with a new
action.

- **Bug Fixes**
- Improved flexibility in closing property panes by adding an optional
parameter to the related function.

- **Refactor**
- Streamlined import statements for various types to improve
organization and maintainability.
- Removed unused functions and action handlers to simplify user and data
source management.
	- Updated action type constants for consistency across the application.
- Removed sagas related to URL redirection and history management,
simplifying navigation handling.

- **Chores**
- Cleaned up unused imports to reduce code clutter and improve
readability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-08-22 09:49:30 +05:30

64 lines
2.4 KiB
TypeScript

import { watchActionExecutionSagas } from "ee/sagas/ActionExecution/ActionExecutionSagas";
import userSagas from "ee/sagas/userSagas";
import workspaceSagas from "ee/sagas/WorkspaceSagas";
import { watchActionSagas } from "sagas/ActionSagas";
import layoutUpdateSagas from "sagas/AutoLayoutUpdateSagas";
import { watchDatasourcesSagas } from "sagas/DatasourcesSagas";
import { watchJSActionSagas } from "ee/sagas/JSActionSagas";
import apiPaneSagas from "../src/sagas/ApiPaneSagas";
import applicationSagas from "ee/sagas/ApplicationSagas";
import batchSagas from "../src/sagas/BatchSagas";
import draggingCanvasSagas from "../src/sagas/CanvasSagas/DraggingCanvasSagas";
import selectionCanvasSagas from "../src/sagas/CanvasSagas/SelectionCanvasSagas";
import curlImportSagas from "../src/sagas/CurlImportSagas";
import debuggerSagas from "../src/sagas/DebuggerSagas";
import formEvaluationChangeListener from "../src/sagas/FormEvaluationSaga";
import globalSearchSagas from "../src/sagas/GlobalSearchSagas";
import initSagas from "../src/sagas/InitSagas";
import JSLibrarySaga from "../src/sagas/JSLibrarySaga";
import jsPaneSagas from "../src/sagas/JSPaneSagas";
import LintingSaga from "../src/sagas/LintingSagas";
import modalSagas from "../src/sagas/ModalSagas";
import pluginSagas from "../src/sagas/PluginSagas";
import queryPaneSagas from "../src/sagas/QueryPaneSagas";
import saaSPaneSagas from "../src/sagas/SaaSPaneSagas";
import snipingModeSagas from "../src/sagas/SnipingModeSagas";
import themeSagas from "../src/sagas/ThemeSaga";
import websocketSagas from "../src/sagas/WebsocketSagas/WebsocketSagas";
import actionExecutionChangeListeners from "../src/sagas/WidgetLoadingSaga";
import widgetOperationSagas from "../src/sagas/WidgetOperationSagas";
import NavigationSagas from "../src/ee/sagas/NavigationSagas";
export const sagasToRunForTests = [
initSagas,
watchActionSagas,
watchActionExecutionSagas,
widgetOperationSagas,
watchDatasourcesSagas,
applicationSagas,
apiPaneSagas,
jsPaneSagas,
userSagas,
pluginSagas,
workspaceSagas,
curlImportSagas,
snipingModeSagas,
queryPaneSagas,
modalSagas,
batchSagas,
themeSagas,
actionExecutionChangeListeners,
formEvaluationChangeListener,
saaSPaneSagas,
globalSearchSagas,
websocketSagas,
debuggerSagas,
watchJSActionSagas,
selectionCanvasSagas,
draggingCanvasSagas,
LintingSaga,
JSLibrarySaga,
NavigationSagas,
layoutUpdateSagas,
];