PromucFlow_constructor/app/client/src/sagas
Diljit 9d1f515d6d
chore: make branchName a query param in consolidated api (#38851)
## Description
- Move `branchName` header to `branchName` query param for consolidated
api
- Update the service worker prefetching logic to reflect the new url
signature changes for consolidated api.

## 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/13005671168>
> Commit: 45b23c18a097f8bc667a89b629c9d339d73ad040
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13005671168&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Tue, 28 Jan 2025 08:54:43 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

## Release Notes

- **New Features**
- Added support for branch-specific data retrieval across multiple
components.
- Enhanced API endpoint configuration to dynamically handle branch
parameters.

- **Improvements**
- Refactored URL generation and parameter handling for more flexible API
calls.
- Updated server-side controllers to support branch-related query
parameters.

- **Technical Updates**
- Modified several API and saga functions to include optional branch
information.
- Improved type safety and parameter management in consolidated API
services.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-28 16:05:11 +05:30
..
__tests__ chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
ActionExecution fix: tabs behavior for anvil (#38857) 2025-01-27 19:51:51 +03:00
autoHeightSagas chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
BuildingBlockSagas fix: Separate Plugin Entity from Action (#38582) 2025-01-15 11:29:32 +05:30
CanvasSagas chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
PartialImportExportSagas chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
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: Replace entities in entity explorer with new ADS templates (#38750) 2025-01-24 16:21:50 +05:30
AnalyticsSaga.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
ApiPaneSagas.ts chore: Move action redesign to GA (#38659) 2025-01-16 22:26:34 +05:30
AppThemingSaga.tsx chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
AutoLayoutUpdateSagas.tsx chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
BatchSagas.tsx chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
CommunityTemplatesSagas.tsx chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
CurlImportSagas.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
DebuggerSagas.ts fix: Separate Plugin Entity from Action (#38582) 2025-01-15 11:29:32 +05:30
editorContextSagas.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
ErrorSagas.tsx chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
EvalErrorHandler.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
EvaluationsSaga.test.ts chore: merge updateActionData with an evaluation (#38793) 2025-01-23 15:17:47 +05:30
EvaluationsSaga.ts chore: merge updateActionData with an evaluation (#38793) 2025-01-23 15:17:47 +05:30
EvaluationsSagaUtils.test.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
EvaluationsSagaUtils.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
EvalWorkerActionSagas.ts chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
FocusRetentionSaga.ts fix: Separate Plugin Entity from Action (#38582) 2025-01-15 11:29:32 +05:30
FormEvaluationSaga.ts fix: Separate Plugin Entity from Action (#38582) 2025-01-15 11:29:32 +05:30
getNextEntityAfterRemove.test.ts fix: Separate Plugin Entity from Action (#38582) 2025-01-15 11:29:32 +05:30
GitSyncSagas.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
GlobalSearchSagas.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
helper.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
helper.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
IDESaga.tsx chore: Refactoring usage of editorType to ideType to remove code duplication (#38778) 2025-01-21 15:24:06 +05:30
InitSagas.ts chore: make branchName a query param in consolidated api (#38851) 2025-01-28 16:05:11 +05:30
JSLibrarySaga.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
JSPaneSagas.ts fix: JSObject diff error when actions are missing (#38572) 2025-01-18 09:48:04 +05:30
layoutConversionSagas.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
LintingSagas.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
loadGoogleApi.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ModalSagas.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
NavigationSagas.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
OnboardingSagas.ts chore: Removing unused files & components (#38832) 2025-01-27 11:43:46 +05:30
OneClickBindingSaga.ts fix: Separate Plugin Entity from Action (#38582) 2025-01-15 11:29:32 +05:30
PluginSagas.ts fix: Separate Plugin Entity from Action (#38582) 2025-01-15 11:29:32 +05:30
PostEvaluationSagas.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
PostLintingSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
QueryPaneSagas.ts fix: Separate Plugin Entity from Action (#38582) 2025-01-15 11:29:32 +05:30
RecentEntitiesSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ReplaySaga.ts fix: Separate Plugin Entity from Action (#38582) 2025-01-15 11:29:32 +05:30
SaaSPaneSagas.ts fix: Separate Plugin Entity from Action (#38582) 2025-01-15 11:29:32 +05:30
selectors.tsx fix: Separate Plugin Entity from Action (#38582) 2025-01-15 11:29:32 +05:30
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: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
TemplatesSagas.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
TernSaga.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
ThemeSaga.tsx chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
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: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
WidgetBlueprintSagas.test.ts fix: jest test failures coz of getIsAnvilLayout (#32664) 2024-04-15 09:17:23 +05:30
WidgetBlueprintSagas.ts fix: Separate Plugin Entity from Action (#38582) 2025-01-15 11:29:32 +05:30
WidgetDeletionSaga.test.ts fix: Prevent Errors in Debugger When Deleting List Widget (#35820) 2024-08-30 10:38:19 +01:00
WidgetDeletionSagas.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
WidgetEnhancementHelpers.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetLoadingSaga.ts chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
WidgetOperationSaga.test.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetOperationSagas.tsx chore: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
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: Separate files for Redux Types (#38559) 2025-01-10 10:21:54 +05:30
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