PromucFlow_constructor/app/client/src/components/editorComponents
Hetu Nandu cdd33a846f
feat: cURL import now happens via a modal (#34830)
## Description

Adds the cURL import flow to go through a modal instead of editor level
screen. This is done to ensure the IA is correct as per IDE 2.0
standards

Fixes #32942

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!CAUTION]
> 🔴 🔴 🔴 Some tests have failed.
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/9869174972>
> Commit: 6143c1c79c0bb7c6a4899fc477985d0ed23699df
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9869174972&attempt=2&selectiontype=test&testsstatus=failed&specsstatus=fail"
target="_blank">Cypress dashboard</a>.
> Tags: @tag.All
> Spec: 
> The following are new failures, please fix them before merging the PR:
<ol>
> <li>cypress/e2e/Regression/ClientSide/OtherUIFeatures/Omnibar_spec.js
>
<li>cypress/e2e/Regression/ClientSide/PartialImportExport/PartialExport_spec.ts</ol>
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/identified-flaky-tests-65890b3c81d7400d08fa9ee3?branch=master"
target="_blank">List of identified flaky tests</a>.
> <hr>Wed, 10 Jul 2024 07:56:03 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

- **Refactor**
- Updated test case function calls and refactored imports to improve
code structure and maintainability in multiple files related to CURL
import flows.
- Consolidated and rearranged steps in CURL import flow test cases for
better readability and organization.

- **New Features**
- Introduced `AppCURLImportModal` component to handle CURL command
imports within the API editor.
- Added constants `SET_CURL_MODAL_OPEN` and `SET_CURL_MODAL_CLOSE` for
managing the state of the CURL modal.

- **Style**
- Updated selector formats and added proper commas in the `ApiEditor.js`
file.

- **Chores**
- Removed unused constants and functions related to CURL import page
paths across multiple files for cleaner codebase.
- Streamlined the management of the CURL import modal state in the
reducer and added relevant selectors.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-10 14:22:39 +05:30
..
ActionCreator feat: added modal name, lint warning for string, action selector modal (#32893) 2024-05-02 17:48:53 +05:30
ActionRightPane chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
CodeEditor chore: Modify logic to detect and hide deep paths in autocomplete suggestions (#33966) 2024-06-06 17:38:40 +05:30
Debugger fix: make individual words in label selectable #22110 (#33922) 2024-06-04 21:03:16 +03:00
form fix: Api pane and settings responsiveness (#33297) 2024-05-09 17:02:48 +05:30
GlobalSearch feat: cURL import now happens via a modal (#34830) 2024-07-10 14:22:39 +05:30
HighlightedCode fix: Entity props show evaluated value (#30889) 2024-02-07 14:34:03 +05:30
LazyCodeEditor chore: add PROPERTY color constant in CodeEditorColors (#33699) 2024-06-05 00:37:56 +05:30
LightningMenu feat: workflow queries/actions rename code split (#31300) 2024-03-05 10:28:34 +05:30
PartialImportExport fix: remove building blocks on canvas (#33761) 2024-05-31 11:22:34 +05:30
WidgetQueryGeneratorForm chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
ActionExecutionInProgressView.tsx chore: Show schema as a tab instead of the right pane (#30906) 2024-02-08 13:25:23 +05:30
ActionNameEditor.tsx fix: Updating the ramp link for Enterprise features to open the pricing page (#32698) 2024-04-16 19:05:07 +05:30
ApiResponseMeta.tsx fix: Api Pane IA (#32603) 2024-04-12 15:38:22 +05:30
ApiResponseView.test.tsx fix: allowing bottom tabs to be selectable as text (#33263) 2024-05-13 23:41:36 +05:30
ApiResponseView.tsx feat: Collapsible Bottom View (#33441) 2024-05-22 19:43:07 +05:30
AutoResizeTextArea.test.tsx fix: add testing library eslint rules (#31028) 2024-02-12 18:59:10 +03:00
AutoResizeTextArea.tsx
BetaCard.tsx
Button.tsx chore: update storybook (#32828) 2024-04-22 12:17:28 +03:00
Checkbox.tsx
CloseEditor.tsx chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
ContextDropdown.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
Divider.tsx
DropdownComponent.tsx
EditableText.tsx chore: move cypress strings to vars (#33245) 2024-05-08 12:18:14 +05:30
EditorContextProvider.test.tsx fix: add testing library eslint rules (#31028) 2024-02-12 18:59:10 +03:00
EditorContextProvider.tsx feat: WDS - Anvil compatible Modal Widget (#30351) 2024-01-26 09:30:57 +05:30
emptyResponse.tsx
EntityBottomTabs.tsx feat: Collapsible Bottom View (#33441) 2024-05-22 19:43:07 +05:30
EntityExplorerSidebar.tsx chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
EntityNameComponent.tsx
ErrorBoundry.tsx fix: fix modal position and styles (#30805) 2024-02-06 10:26:47 +03:00
ErrorTooltip.tsx
Form.tsx chore: Updating the login and signup page for cloud hosting as per new design (#32641) 2024-04-17 21:46:44 +05:30
FormLabel.tsx
FormRow.tsx
HelperTooltip.tsx
InputComponent.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
JSResponseView.test.tsx fix: allowing bottom tabs to be selectable as text (#33263) 2024-05-13 23:41:36 +05:30
JSResponseView.tsx feat: remove disable overlay for incorrect js objects (#33990) 2024-06-05 15:57:58 +05:30
LetterIcon.tsx
LoadingOverlayScreen.tsx
NavBarItem.tsx chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
PageLoader.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
PaneWrapper.tsx
ProductAlertBanner.tsx
PropertyPaneSidebar.tsx chore: add snapshots for input type widgets (#34436) 2024-06-27 10:51:28 +05:30
RadioButtonGroup.tsx fix: revert for super users and update ui for profiling ques for non super users (#27942) 2023-10-16 17:37:06 +05:30
ReadOnlyEditor.tsx
RequestView.tsx
SelectComponent.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
Spinner.tsx
StoreAsDatasource.tsx fix: Resolving datasource page redirection, switch env and on page load response view debugger issues (#30156) 2024-01-10 18:41:24 +05:30
Tooltip.tsx
utils.test.ts
utils.ts