PromucFlow_constructor/app/client/src/actions
Ashok Kumar M 271dca0296
feat: Move conversion flow under feature flag. (#32490)
[![workerB](https://img.shields.io/endpoint?url=https%3A%2F%2Fworkerb.linearb.io%2Fv2%2Fbadge%2Fprivate%2FU2FsdGVkX105sGkyMb3eywi17Q8zKGh7H7PVjvpTo%2Fcollaboration.svg%3FcacheSeconds%3D60)](https://workerb.linearb.io/v2/badge/collaboration-page?magicLinkId=8cXsNLR)
## Description
Auto Layout System is being deprecated in favor of Anvil.
So we will no longer update Auto Layout and hence we are removing
conversion flow to make sure no new Auto Layout Apps are created.

However we still want to be able to help users who really have mission
critical use cases to convert.
two ways to do this
- ask Support and they will enable the feature flag to enable
conversion.(for cloud users)
- ask Support and they will reveal the global
function(`overrideFeatureFlag({release_layout_conversion_enabled:
true})`) to enable conversion.(for users not connected to internet)

Implementation:

- current feature flags are supplied from the consolidated api and
widgets consume them via `selectFeatureFlags` selector.
- to override these flags locally, we provide a global
function(accessible from console) `overrideFeatureFlag` which can take
an object of featureflags and save them to indexed db.
- then we use these saved values to override feature flag values
supplied by the consolidated api.
- `selectFeatureFlags` is where the values are combined and consumed by
all components.


Fixes #32140
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## 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/8641988198>
> Commit: de8e06778bd9fe1feab2f5d20adbaed90e542019
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8641988198&attempt=2"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->
2024-04-11 17:21:14 +05:30
..
actionSelectorActions.ts chore: Add analytics event to track telemetry is disabled & update properties for INVITE_USER event (#24042) 2023-06-06 02:57:40 +05:30
activeFieldActions.ts chore: Refactor debugger analytics for active fields (#28036) 2023-10-16 09:22:11 +05:30
analyticsActions.ts chore: Removing feature flag for app level invites (#22650) 2023-04-26 12:48:16 +05:30
apiPaneActions.ts chore: Debugger Split states (#31043) 2024-02-29 11:53:57 +05:30
appCollabActions.ts feat: Refactor code for SAML integration (#12700) 2022-04-12 16:20:01 +05:30
appSettingsPaneActions.ts chore: Make App Sidebar Generally Available (#30923) 2024-02-07 11:25:23 +05:30
appThemingActions.tsx feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
appViewActions.ts feat: App Theming (#9714) 2022-05-04 15:15:57 +05:30
authActions.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
autoHeightActions.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
autoLayoutActions.ts feat: added anvil type for app layout (#27633) 2023-10-04 14:24:16 +05:30
batchActions.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
browserRequestActions.ts feat: Refactor code for SAML integration (#12700) 2022-04-12 16:20:01 +05:30
canvasSelectionActions.ts chore: Layout system wise restructuring of Canvas Widget (#27496) 2023-10-04 17:23:29 +05:30
communityTemplateActions.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
controlActions.tsx chore: Make use of widget methods to get binding properties in sniping mode (#25429) 2023-07-26 11:08:11 +05:30
crudInfoModalActions.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
datasourceActions.ts chore: change saas authentication to context based (#31064) 2024-03-07 15:36:31 +05:30
debuggerActions.ts chore: refactor in debugger saga to transform error logs in EE (#32383) 2024-04-11 11:36:48 +05:30
editorActions.ts feat: debugger error navigation (#25505) 2023-08-01 09:32:41 +05:30
editorContextActions.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
errorActions.ts Remove server error cases 2023-04-05 14:09:00 +05:30
evaluationActions.ts feat: constrained diff between states (#31847) 2024-03-27 14:37:46 +05:30
explorerActions.ts feat: Refactor code for SAML integration (#12700) 2022-04-12 16:20:01 +05:30
featureFlagActions.ts feat: Move conversion flow under feature flag. (#32490) 2024-04-11 17:21:14 +05:30
focusHistoryActions.ts fix: On delete of last item, redirect user to blank screen (#32418) 2024-04-05 17:56:17 +05:30
gitSyncActions.ts fix: autocommit ui issues (#30887) 2024-02-12 10:53:48 +05:30
globalSearchActions.ts chore: Sunset Omnibar Documentation and Snippets (#24787) 2023-06-30 15:51:08 +05:30
helpActions.ts feat: Refactor code for SAML integration (#12700) 2022-04-12 16:20:01 +05:30
ideActions.ts fix: action selector create flow (#32326) 2024-04-05 11:28:47 +05:30
importActions.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
initActions.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
jsActionActions.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
JSLibraryActions.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
jsPaneActions.ts fix: action selector create flow (#32326) 2024-04-05 11:28:47 +05:30
lintingActions.ts feat: show lint errors in async functions bound to sync fields (#21187) 2023-04-03 16:11:15 +05:30
metaActions.ts fix: reset widget to default value after setter method (#29151) 2023-12-08 11:16:31 +01:00
metaWidgetActions.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
onboardingActions.ts fix: Remove guided tour code (#30387) 2024-01-24 16:31:21 +05:30
oneClickBindingActions.ts chore: Add analytics event to track telemetry is disabled & update properties for INVITE_USER event (#24042) 2023-06-06 02:57:40 +05:30
pageActions.tsx chore: Import debugger fixes (#31080) 2024-02-14 12:00:18 +05:30
pageVisibilityActions.ts feat: Bundle optimization and first load improvements (#21667) 2023-05-11 10:56:03 +05:30
pluginActionActions.ts chore: execute action event updated with source (#31662) 2024-03-12 15:36:33 +05:30
pluginActions.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
propertyPaneActions.ts fix: action selector create flow (#32326) 2024-04-05 11:28:47 +05:30
queryPaneActions.ts chore: Debugger Split states (#31043) 2024-02-29 11:53:57 +05:30
reflowActions.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
releasesActions.ts feat: Refactor code for SAML integration (#12700) 2022-04-12 16:20:01 +05:30
templateActions.ts fix: updates position of start from templates dialog. (#31194) 2024-02-20 01:43:33 +05:30
themeActions.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
tourActions.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
userActions.ts feat: Frontend changes for consolidated-api with EE test case support (#30506) 2024-01-24 12:14:16 +05:30
utilActions.ts feat: Refactor code for SAML integration (#12700) 2022-04-12 16:20:01 +05:30
websocketActions.ts chore: Refactor rts connection retry with limits (#19781) 2023-01-14 21:38:39 +05:30
widgetActions.tsx chore: Block Selections when Canvas is in Side by Side mode (#31587) 2024-03-13 11:53:49 +05:30
widgetSelectionActions.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
widgetSidebarActions.tsx 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