PromucFlow_constructor/app/client/src/sagas
Rudraprasad Das b458bd09b2
fix: autocommit ui issues (#30887)
## Description
- Adds initial checks in Sagas to avoid showing the auto-commit progress
bar unnecessarily
- Adds component-level checks to avoid rendering progress when
auto-commit is disabled
- Adds logic to remove branch tab from git settings modal when neither
default branch nor protected branch permissions are present

#### PR fixes following issue(s)
Fixes #30628
Fixes #30631 
Fixes #30706 
Fixes #30704 
Fixes #30737


#### Media
<img width="1726" alt="image"
src="https://github.com/appsmithorg/appsmith/assets/8724051/5afe1455-6496-447a-87ff-f67d4efea39e">



#### Type of change
> Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)

## 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
- [x] 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**
- Enhanced autocommit functionality with improved progress polling,
error handling, and branch tabs visibility based on permissions.
- **Refactor**
- Adjusted autocommit progress polling logic and action types for better
performance and reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-12 10:53:48 +05:30
..
__tests__ feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
ActionExecution fix: Module Debugger error CE change and setter type fix (#30848) 2024-02-07 16:36:01 +05:30
autoHeightSagas feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
CanvasSagas chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
PartialImportExportSagas fix: Refactor partial import process (#30633) 2024-01-25 20:46:51 +05:30
WebsocketSagas chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
ActionSagas.ts chore: Handle Editor Pane Segments with an additional flag (#30942) 2024-02-07 12:10:33 +05:30
AnalyticsSaga.ts
ApiPaneSagas.ts feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
AppThemingSaga.tsx feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
AutoLayoutUpdateSagas.tsx chore: Update DSL for Anvil (#27966) 2023-10-19 20:50:17 +05:30
BatchSagas.tsx fix: reset widget to default value after setter method (#29151) 2023-12-08 11:16:31 +01:00
CommunityTemplatesSagas.tsx feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
CurlImportSagas.ts feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
DatasourcesSagas.ts chore: Initiate execution of google.api script at editor level (#30837) 2024-02-08 15:17:19 +05:30
DebuggerSagas.ts chore: Prevent logging error analytics on first page load (#29019) 2023-11-22 09:48:12 +01:00
editorContextSagas.ts
ErrorSagas.tsx feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
EvalErrorHandler.ts fix: Module Debugger error CE change and setter type fix (#30848) 2024-02-07 16:36:01 +05:30
EvaluationSaga.utils.ts chore: send serialised updated and using klona/json instead of klona (#27319) 2023-09-26 17:44:20 +05:30
EvaluationsSaga.ts fix: resetWidget doesn't reset child widgets inside a list (#30121) 2024-01-09 18:51:56 +05:30
EvalWorkerActionSagas.ts chore: refactor create jsobject under modules (#29555) 2023-12-13 16:16:27 +05:30
FocusRetentionSaga.ts chore: Split files for Module Instances in IDE (#30562) 2024-01-24 14:22:40 +05:30
FormEvaluationSaga.ts fix: trigger call for plugins without require datasource flag (#30566) 2024-01-24 00:39:12 +05:30
GitSyncSagas.ts fix: autocommit ui issues (#30887) 2024-02-12 10:53:48 +05:30
GlobalSearchSagas.ts chore: Refactor Context Switching (#29966) 2024-01-08 11:09:47 +05:30
helper.test.ts
helper.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
IDESaga.tsx chore: Refactor JS and Query List context switching (#30834) 2024-02-02 10:36:02 +05:30
InitSagas.ts fix: Module Debugger error CE change and setter type fix (#30848) 2024-02-07 16:36:01 +05:30
JSLibrarySaga.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
JSPaneSagas.ts feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
layoutConversionSagas.ts chore: Refactor entity explorer to support displaying module instances in the list (#28855) 2023-11-16 17:03:59 +05:30
LintingSagas.ts chore: "Revert Lazy load autocomplete and linting services" (#30035) 2024-01-04 15:26:18 +05:30
loadGoogleApi.ts chore: Initiate execution of google.api script at editor level (#30837) 2024-02-08 15:17:19 +05:30
ModalSagas.ts fix: Anvil Widgets not accessible when widget has no content. (#30780) 2024-02-05 18:00:50 +05:30
NavigationSagas.ts
OnboardingSagas.ts fix: Remove guided tour code (#30387) 2024-01-24 16:31:21 +05:30
OneClickBindingSaga.ts chore: Refactor the create action logic to support module actions (#28404) 2023-10-27 12:06:57 +05:30
PageVisibilitySagas.ts
PluginSagas.ts feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
PostEvaluationSagas.ts fix: Module Debugger error CE change and setter type fix (#30848) 2024-02-07 16:36:01 +05:30
PostLintingSagas.ts chore: CE change to log lint error in moduleEditor (#29230) 2023-12-04 23:37:45 +05:30
QueryPaneSagas.ts fix: Remove stale values in Query form on view change (#30975) 2024-02-09 09:36:45 +05:30
RecentEntitiesSagas.ts
ReplaySaga.ts feat: Add copy paste functionality for Anvil. (#30217) 2024-01-24 21:55:08 +05:30
SaaSPaneSagas.ts feat: Create Query asks for Page (#29253) 2023-12-05 11:20:36 +05:30
selectors.tsx chore: add params for query instance (#30333) 2024-01-17 10:28:33 +05:30
SnapshotSagas.ts chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
SnipingModeSagas.ts chore: Splitting entities reducer for supporting more reducers on EE (#27560) 2023-09-22 18:12:20 +05:30
TemplatesSagas.ts feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
TernSaga.ts chore: "Revert Lazy load autocomplete and linting services" (#30035) 2024-01-04 15:26:18 +05:30
ThemeSaga.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
ToastSagas.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
UtilSagas.ts
WidgetAdditionSagas.ts feat: add layouts and widgets for sections and zones. (#29713) 2023-12-26 09:16:58 -05:00
WidgetBlueprintSagas.test.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetBlueprintSagas.ts chore: add highlight calculation logic for layouts. (#27980) 2023-10-19 16:27:40 -04:00
WidgetDeletionSagas.ts fix: Remove guided tour code (#30387) 2024-01-24 16:31:21 +05:30
WidgetEnhancementHelpers.ts fix: Anvil Editor issues with Resizer in safari (#28361) 2023-10-26 10:07:06 +05:30
WidgetLoadingSaga.ts chore: separated tree type into common file to be extended on EE (#27812) 2023-10-10 18:02:17 +05:30
WidgetOperationSaga.test.tsx
WidgetOperationSagas.tsx feat: Add copy paste functionality for Anvil. (#30217) 2024-01-24 21:55:08 +05:30
WidgetOperationUtils.test.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetOperationUtils.ts feat: Add copy paste functionality for Anvil. (#30217) 2024-01-24 21:55:08 +05:30
WidgetSelectionSagas.ts fix: Anvil Widgets not accessible when widget has no content. (#30780) 2024-02-05 18:00:50 +05:30
WidgetSelectUtils.test.ts
WidgetSelectUtils.ts fix: Widget selection context switch adjustments (#30117) 2024-01-12 10:53:47 +05:30