PromucFlow_constructor/app/client/cypress/e2e/Sanity/Datasources
Ankita Kinger 26b05343b4
chore: Updating styles and adding docs link for REST API plugin for better UI/UX (#37941)
## Description

- Adding docs link for REST API plugin
- Updating styles for JS function popover when the name is too long
- Updating styles for response pane
- Removing edit configuration button next to URL for an API, and adding
the datasource tab for API editor as well for a saved API. Also, adding
a new icon button in schema tab (now datasource tab) for editing DS
configuration.

Fixes [#37925](https://github.com/appsmithorg/appsmith/issues/37925) 
Fixes [#37928](https://github.com/appsmithorg/appsmith/issues/37928)
Fixes [#37926](https://github.com/appsmithorg/appsmith/issues/37926)
Fixes [#37927](https://github.com/appsmithorg/appsmith/issues/37927)

## Automation

/ok-to-test tags="@tag.Datasource, @tag.IDE"

### 🔍 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/12234851157>
> Commit: 925369c4282e6c2c408283be416ffc0f50608e4c
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12234851157&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Datasource, @tag.IDE`
> Spec:
> <hr>Mon, 09 Dec 2024 12:28:22 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

## Release Notes

- **New Features**
- Introduced a new `Datasource` component, enhancing the management of
datasource configurations.
- Added a new icon, `DatasourceConfigIcon`, to improve visual
representation.
- Implemented a new `DatasourceInfo` component for displaying datasource
details and editing options.
- Added a new `DatasourceSelector` component to streamline datasource
selection based on plugin context.

- **Improvements**
- Updated default tab selection logic to prioritize the `Datasource`
tab.
- Enhanced styling for the `StatusBar` and `StyledSwitchLabel`
components for better UI consistency.
  - Added new access-related messages to the `StatusDisplay` component.
- Refined rendering logic for the `StoreAsDatasource` component to
improve user interaction.

- **Bug Fixes**
- Fixed rendering logic for the debugger tabs to ensure accurate display
based on user interactions.
- Streamlined test logic for the "Edit Datasource" button functionality.

- **Documentation**
  - Updated constant messages for improved clarity and user guidance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Trisha Anand <trisha@appsmith.com>
Co-authored-by: Hetu Nandu <hetu@appsmith.com>
2024-12-09 18:12:09 +05:30
..
Airtable_Basic_Spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
Arango_Basic_Spec.ts feat: update response tab UI (#37640) 2024-11-28 17:01:50 +05:30
ArangoDataSourceStub_spec.js feat: Enable new toolbar for cypress (#37148) 2024-12-03 09:21:43 +05:30
AuthenticatedApiDatasource_spec.js chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
AuthenticatedApiWithOAuth_spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
DatasourceForm_spec.js chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
DSAutosaveImprovements_spec.ts feat: Enable new toolbar for cypress (#37148) 2024-12-03 09:21:43 +05:30
ElasticSearchDatasource_spec.js chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
GraphQL_spec.ts chore: Updating styles and adding docs link for REST API plugin for better UI/UX (#37941) 2024-12-09 18:12:09 +05:30
MockDBs_Spec.ts feat: update response tab UI (#37640) 2024-11-28 17:01:50 +05:30
MongoDatasourceURI_spec.ts feat: Enable new toolbar for cypress (#37148) 2024-12-03 09:21:43 +05:30
MsSQL_Basic_Spec.ts feat: Enable new toolbar for cypress (#37148) 2024-12-03 09:21:43 +05:30
MsSQLDataSourceStub_spec.js chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
MySQL_spec.js chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
MySQLDataSourceStub_spec.js chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
MySQLNoiseTest_spec.js chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
Port_Number_Placeholder_Spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
PostgresDatasource_spec.js test: remove startRoutesForDatasource from commands (#33688) 2024-05-30 10:09:04 +05:30
RedshiftDataSourceStub_spec.js chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
RestApiDatasource_spec.js chore: Update RestApiDatasource_spec.js (#38042) 2024-12-09 16:18:25 +05:30
RestApiOAuth2Validation_spec.ts chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30
SMTPDatasource_spec.js feat: Enable new toolbar for cypress (#37148) 2024-12-03 09:21:43 +05:30
Styles_spec.js chore: Addding dependent tags (#36965) 2024-10-18 18:19:08 +05:30