PromucFlow_constructor/app/client/src/sagas
Rudraprasad Das f572d6dda4
feat: adding branch persistence (#36622)
## Description
Persisting latest branch. Re-opening the branch opens it in the latest
branch

Fixes https://github.com/appsmithorg/appsmith/issues/30321

## Automation

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

### 🔍 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/11325191494>
> Commit: 570c6fba8b85f59c8577efda5863d19049b0ebe1
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11325191494&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Git`
> Spec:
> <hr>Mon, 14 Oct 2024 10:27:07 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**
- Enhanced Git branch management functionality in the ApplicationCard
component.
- New utility functions for storing and retrieving the latest Git
branch.
	- Improved error handling and response management for Git operations.
	- Added user-specific tracking for Git branches in the AppEditorEngine.
	- Introduced a new feature flag for Git branch persistence.
- New Cypress test suite to verify Git branch persistence after
switching branches.
- Added methods for asserting branch visibility and URL consistency in
the GitSync class.

- **Bug Fixes**
- Refined error handling for various sagas, ensuring accurate error
dispatching and user feedback.

- **Documentation**
- Updated function signatures and error handling descriptions in the
initialization and Git synchronization processes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-10-14 19:04:16 +08:00
..
__tests__ chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ActionExecution fix: batched evaluate action params to a chunk size (#36482) 2024-10-09 10:09:13 +05:30
autoHeightSagas chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
BuildingBlockSagas chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
CanvasSagas chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PartialImportExportSagas chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PasteWidgetUtils chore: delete unused code (#36461) 2024-09-23 13:52:00 +03:00
WebsocketSagas chore: delete unused code (#36461) 2024-09-23 13:52:00 +03:00
ActionSagas.ts chore: [Plugin Action Editor] Combine Plugin Editor UI state (#36651) 2024-10-08 16:12:27 +05:30
AnalyticsSaga.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
ApiPaneSagas.ts chore: [Plugin Action Editor] Combine Plugin Editor UI state (#36651) 2024-10-08 16:12:27 +05:30
AppThemingSaga.tsx chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30
AutoLayoutUpdateSagas.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
BatchSagas.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
CommunityTemplatesSagas.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
CurlImportSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
DatasourcesSagas.ts chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30
DebuggerSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
editorContextSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ErrorSagas.tsx chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30
EvalErrorHandler.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
EvaluationsSaga.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
EvaluationsSaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
EvaluationsSagaUtils.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
EvaluationsSagaUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
EvalWorkerActionSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
FocusRetentionSaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
FormEvaluationSaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
getNextEntityAfterRemove.test.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
GitSyncSagas.ts chore: making autocommit GA (#36347) 2024-09-25 14:32:01 +05:30
GlobalSearchSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
helper.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
helper.ts chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30
IDESaga.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
InitSagas.ts feat: adding branch persistence (#36622) 2024-10-14 19:04:16 +08:00
JSLibrarySaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
JSPaneSagas.ts chore: [Plugin Action Editor] Combine Plugin Editor UI state (#36651) 2024-10-08 16:12:27 +05:30
layoutConversionSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
LintingSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
loadGoogleApi.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ModalSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
NavigationSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
OnboardingSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
OneClickBindingSaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PageVisibilitySagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PluginSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PostEvaluationSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
PostLintingSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
QueryPaneSagas.ts chore: [Plugin Action Editor] Combine Plugin Editor UI state (#36651) 2024-10-08 16:12:27 +05:30
RecentEntitiesSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ReplaySaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
SaaSPaneSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
selectors.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
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: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
TemplatesSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
TernSaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ThemeSaga.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
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: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetBlueprintSagas.test.ts fix: jest test failures coz of getIsAnvilLayout (#32664) 2024-04-15 09:17:23 +05:30
WidgetBlueprintSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetDeletionSaga.test.ts fix: Prevent Errors in Debugger When Deleting List Widget (#35820) 2024-08-30 10:38:19 +01:00
WidgetDeletionSagas.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetEnhancementHelpers.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetLoadingSaga.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetOperationSaga.test.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetOperationSagas.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
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: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
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