PromucFlow_constructor/app/client/test/sagas.ts
Shrikant Sharat Kandula a1c8cb69f0
chore: Remove socket-io and websocket connections (#37784)
We don't use the websocket connection for anything of consequence. This
PR removes it and the `socket-io` dependency from the client.

The RTS still has it, will be removed in a subsequent PR.

## Automation

/test sanity

### 🔍 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/12062399334>
> Commit: 4f018b1958e82ca29d8a7492ec0bf4529f43b0ef
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12062399334&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Thu, 28 Nov 2024 04:55:02 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


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

## Summary by CodeRabbit

## Release Notes

- **New Features**
	- None

- **Bug Fixes**
	- None

- **Refactor**
- Removed websocket and collaborative editing functionality, simplifying
the application architecture.
- Eliminated related constants, actions, reducers, and sagas to
streamline codebase.

- **Chores**
- Updated test configurations by removing references to websocket sagas.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-11-28 10:58:56 +05:30

62 lines
2.3 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 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,
debuggerSagas,
watchJSActionSagas,
selectionCanvasSagas,
draggingCanvasSagas,
LintingSaga,
JSLibrarySaga,
NavigationSagas,
layoutUpdateSagas,
];