PromucFlow_constructor/app/client/src/utils
Rudraprasad Das 692e394e73
chore: git mod - integration app (#38315)
## Description
- Git mod integration with applications behind feature flag

Fixes #37815 
Fixes #37816 
Fixes #37817 
Fixes #37818 
Fixes #37819 
Fixes #37820 


## 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/12526603607>
> Commit: 19f3ca0a35b16b25b2cff8700e2df4b2a497e7fe
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12526603607&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Sat, 28 Dec 2024 15:57:13 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

## Summary by CodeRabbit

## Release Notes

- **New Features**
- Introduced various new hooks for Git functionalities, including
`useGitModEnabled`, `useGitCurrentBranch`, `useGitProtectedMode`, and
`useGitConnected`.
	- Added a new component `DeployButton` to manage deployment actions.
- Integrated `ConnectSuccessModal` to enhance user feedback upon
successful Git connection.
	- Added `GitImportModal` for improved Git import functionality.
- Introduced `GlobalProfileView` for managing and displaying user
profile information.
	- Added a new icon, `CloudIconV2`, to the icon provider.
- Implemented `fetchGlobalSSHKey` and `gitImport` sagas for better state
management.

- **Improvements**
- Enhanced handling of Git-related states and actions across multiple
components and sagas.
- Streamlined selector usage for determining preview mode by replacing
`combinedPreviewModeSelector` with `selectCombinedPreviewMode`.
- Updated the `DeployPreview` component to manage success feedback and
handle commit operations more effectively.
- Improved the `StatusChangesView` component by adding a callout for
migration messages.
	- Added new transformers for application status handling.

- **Bug Fixes**
- Updated error handling and loading states across various actions and
components to improve reliability.

- **Refactor**
- Refactored action creators to use `createArtifactAction` instead of
`createSingleArtifactAction` for consistency and clarity.
- Consolidated Git import and connection logic to improve modularity and
maintainability.
- Modified the `Header` component to utilize
`GitApplicationContextProvider` for managing Git-related state.
- Updated various components to utilize the new
`selectCombinedPreviewMode` selector for improved state management.
- Refactored the `DeployPreview` component to enhance its functionality
and styling consistency.
- Enhanced the `applicationStatusTransformer` to handle multiple status
transformations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-30 15:53:32 +05:30
..
Analytics chore: Masking user data in mixpanel session recordings (#38267) 2024-12-20 16:32:02 +03:00
autocomplete chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
autoHeight chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
CallbackHandler chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
editor chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
FilterInternalProperties chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
formControl chore: CE code for datasource management (#38394) 2024-12-27 20:29:59 +03:00
hooks chore: git mod - integration app (#38315) 2024-12-30 15:53:32 +05:30
migrations chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
NavigationSelector chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ProductRamps chore: added premium tags datasources for knowing users request to add new integrations (#38110) 2024-12-19 20:00:09 +05:30
validation chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ApiPaneUtils.test.ts chore: Migrate sub components into Plugin Action Editor (#36844) 2024-10-16 18:29:10 +05:30
ApiPaneUtils.tsx chore: Migrate sub components into Plugin Action Editor (#36844) 2024-10-16 18:29:10 +05:30
AppsmithConsole.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
AppsmithUtils.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
AppsmithUtils.tsx chore: Analytics util refactor (#38089) 2024-12-19 17:46:22 +05:30
AppUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
bootIntercom.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
boxHelpers.test.ts chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
boxHelpers.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
BrandingUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
buildingBlockUtils.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
canvasStructureHelpers.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
canvasStructureHelpers.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
configTree.ts chore: separated tree type into common file to be extended on EE (#27812) 2023-10-10 18:02:17 +05:30
CustomWidgetBuilderService.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
CustomWidgetBuilderService.ts chore: add custom widget to anvil (#37878) 2024-12-06 16:03:40 +05:30
dayJsUtils.ts fix: Layout Conversion bugs for auto Layout (#22565) 2023-05-03 04:26:52 +00:00
DynamicBindingUtils.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
DynamicBindingUtils.ts chore: update logic to calculate length of lint (#36548) 2024-11-19 13:25:44 +05:30
editorContextUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
formhelpers.test.ts
formhelpers.ts chore: added premium tags datasources for knowing users request to add new integrations (#38110) 2024-12-19 20:00:09 +05:30
GenerateCrudUtil.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
GeneratePageUtils.ts chore: Updating generate page interaction to show it in a modal following the IDE 2.0 interaction pattern (#37414) 2024-11-19 12:05:10 +05:30
generators.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
getCodeMirrorNamespace.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
getPathAndValueFromActionDiffObject.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
getQueryParamsObject.test.ts fix: getQueryParamsFromString function updated to use URLSearchParams (#37559) 2024-11-19 21:33:09 +05:30
getQueryParamsObject.ts fix: getQueryParamsFromString function updated to use URLSearchParams (#37559) 2024-11-19 21:33:09 +05:30
helpers.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
helpers.tsx chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30
history.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
importUppy.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
JSPaneUtils.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
JSPaneUtils.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
klona.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
lazyLottie.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
localStorage.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
localStorage.tsx chore: Side by Side exits beta phase (#38347) 2024-12-30 10:41:52 +05:30
MessageUtil.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
metaWidgetState.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
PremiumDatasourcesHelpers.ts fix: calendly link on schedule a call click, jira and slack integration premium tag (#38331) 2024-12-25 11:58:07 +05:30
PropertyControlFactory.tsx chore: Add documentation for property pane config (#36880) 2024-11-07 15:41:20 +05:30
PropertyControlRegistry.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
ReducerUtils.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
reflowHookUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
replayHelpers.test.js chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
replayHelpers.tsx chore: [Plugin Action Editor] Combine Plugin Editor UI state (#36651) 2024-10-08 16:12:27 +05:30
resizeObserver.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
storage.ts chore: Include version in all requests (#37551) 2024-11-27 12:58:28 +05:30
SuccessfulBindingsMap.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
testPropertyPaneConfig.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
treeUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
TypeHelpers.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
URLUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
UseComposeRef.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetBlueprintUtils.ts chore: enable no-explicit-any rule (#35321) 2024-07-31 18:41:28 +03:00
widgetEvalUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetFeatures.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetFeatures.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetLoadingStateUtils.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetLoadingStateUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetMigrationUtils.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetMigrationUtils.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
WidgetPropsUtils.test.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetPropsUtils.tsx chore: decouple widget-config.json from main chunk (#36924) 2024-10-17 20:48:39 +05:30
WidgetQueryGeneratorRegistry.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetQueryGeneratorRegistry.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
widgetRenderUtils.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
widgetRenderUtils.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetSizeUtils.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WidgetSizeUtils.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
workerInstances.ts chore: optimise first evaluation by adding worker scope cache (CE) (#38068) 2024-12-13 09:44:19 +05:30
WorkerUtil.test.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
WorkerUtil.ts chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30