PromucFlow_constructor/app/client/src/selectors
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
..
actionSelectors.tsx chore: remove xml parser v3 as a default library (#28012) 2023-10-20 11:08:47 +05:30
activeEditorFieldSelectors.ts chore: Refactor debugger analytics for active fields (#28036) 2023-10-16 09:22:11 +05:30
analyticsSelectors.tsx
apiPaneSelectors.ts chore: Debugger Split states (#31043) 2024-02-29 11:53:57 +05:30
appCollabSelectors.tsx
appSettingsPaneSelectors.tsx chore: Make App Sidebar Generally Available (#30923) 2024-02-07 11:25:23 +05:30
appThemingSelectors.tsx
appViewSelectors.tsx
authSelectors.tsx
autoHeightSelectors.ts
autoLayoutSelectors.tsx chore: Remove unneeded fields in snapshot response body (#32813) 2024-04-22 08:08:45 +05:30
buildingBlocksSelectors.ts feat: add analytics for drag and drop building blocks (#32699) 2024-04-22 15:58:37 +01:00
canvasSelectors.ts
crudInfoModalSelectors.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
curlImportSelectors.ts feat: cURL import now happens via a modal (#34830) 2024-07-10 14:22:39 +05:30
datasourceSelectors.ts chore: [App Sidebar] Data Pane (#28248) 2023-10-24 15:28:21 +05:30
dataTreeSelectors.ts feat: workflow js run on browser (#31106) 2024-02-26 21:14:35 +05:30
debuggerSelectors.test.ts chore: Import debugger fixes (#31080) 2024-02-14 12:00:18 +05:30
debuggerSelectors.tsx chore: Debugger Split states (#31043) 2024-02-29 11:53:57 +05:30
editorContextSelectors.ts
editorSelectors.tsx fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
errorSelectors.tsx
explorerSelector.ts
flattenedChildCanvasSelector.ts
focusHistorySelectors.ts
formSelectors.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
gitSyncSelectors.tsx chore: autocommit feature branch (#34062) 2024-06-10 12:35:23 +05:30
globalSearchSelectors.tsx
helpSelectors.tsx
ideSelectors.tsx feat: side-by-side edit mode hover analytics (#34185) 2024-06-20 14:03:06 +05:30
jsPaneSelectors.ts feat: revamped logic for tabs removal and action/JS deletion (#32690) 2024-04-19 12:19:24 +05:30
layoutSystemSelectors.ts fix: Changes for Anvil Alpha release (#34211) 2024-07-05 13:57:59 +05:30
lintingSelectors.ts
mainCanvasSelectors.tsx
navigationSelectors.ts chore: split for overlay changes on EE to accommodate module instance (#29647) 2023-12-18 12:42:36 +05:30
onboardingSelectors.tsx fix: Remove guided tour code (#30387) 2024-01-24 16:31:21 +05:30
oneClickBindingSelectors.tsx
pageListSelectors.tsx
propertyPaneSelectors.tsx fix: action selector create flow (#32326) 2024-04-05 11:28:47 +05:30
queryPaneSelectors.ts feat: revamped logic for tabs removal and action/JS deletion (#32690) 2024-04-19 12:19:24 +05:30
settingsSelectors.tsx
tableFilterSelectors.tsx
templatesSelectors.tsx fix: remove building blocks on canvas (#33761) 2024-05-31 11:22:34 +05:30
themeSelectors.tsx chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
tourSelectors.tsx
ui.tsx feat: cURL import now happens via a modal (#34830) 2024-07-10 14:22:39 +05:30
usersSelectors.tsx feat: make features call a blocking API call for page load (#27974) 2023-10-11 23:19:19 +05:30
websocketSelectors.ts
widgetDragSelectors.ts chore: Block Selections when Canvas is in Side by Side mode (#31587) 2024-03-13 11:53:49 +05:30
widgetEnhancementSelectors.ts chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
widgetReflowSelectors.tsx
widgetSelectors.test.tsx
widgetSelectors.ts feat: Anvil: Interact with a focused widget's widget name component (#33646) 2024-05-23 15:02:34 +05:30