PromucFlow_constructor/app/client/cypress/e2e/Regression/ClientSide
Rahul Barwal d15eea3e1e
fix: widget icon in Connect To options in oneclick binding menu (#36703)
## Description
This pull request fixes the issue with the widget icon not displaying
correctly in the Connect To options.
The `useConnectToOptions` function now correctly retrieves the widget
config for the current widget and uses the `iconSVG` property from the
config to display the widget icon.


Fixes #`Issue Number`  
_or_  
Fixes https://github.com/appsmithorg/appsmith/issues/36353
> [!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/11208692370>
> Commit: 80a63553ab8f1d77695d3261095a90acdb4b5a4d
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11208692370&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Mon, 07 Oct 2024 09:25:24 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Enhanced datasource selection validation by ensuring images associated
with queried items are present and valid.
- Improved icon retrieval for connectable widgets in the dropdown,
allowing for more accurate icon displays based on widget types.

- **Bug Fixes**
- Fixed icon rendering issues in dropdown options to ensure the correct
icons are displayed.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Jacques Ikot <jacquesikot@gmail.com>
2024-10-07 17:22:02 +05:30
..
ActionExecution chore: Replacing ted api call for resources (#36472) 2024-09-25 19:41:00 +05:30
AdminSettings chore: Make edit launch buttons as links & add upgrade ramps for session timeout setting (#31862) 2024-03-21 15:37:13 +05:30
Anvil fix: disable anvil snapshots tests (#36422) 2024-09-19 14:22:21 +03:00
AppNavigation chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
AuditLogs chore: Make edit launch buttons as links & add upgrade ramps for session timeout setting (#31862) 2024-03-21 15:37:13 +05:30
Autocomplete chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
Binding chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
Branding test: Updating the locator for upgrade button on admin settings (#33872) 2024-05-31 21:07:28 +05:30
BugTests chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
CodeComment
CommunityTemplate fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
Debugger chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
DynamicHeight chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
Editor
EmbedSettings test: Cypress | Added Dynamic checks for Flaky fix + Cypress upgrade (#30840) 2024-02-02 16:01:59 +05:30
ExplorerTests chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
Fork chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
FormLogin chore: change snapshot package (#35867) 2024-09-12 11:09:42 +03:00
FormNativeToRawTests fix: commands title changed to command for each datasource query editor forms (#32526) 2024-04-10 17:05:01 +05:30
Git fix: updating migration repo for DSCrudAndBindings spec (#36452) 2024-09-30 18:36:51 +08:00
Github chore: Updating the login and signup page for cloud hosting as per new design (#32641) 2024-04-17 21:46:44 +05:30
Google chore: Updating the login and signup page for cloud hosting as per new design (#32641) 2024-04-17 21:46:44 +05:30
Homepage
IDE test: udpated 3rd party api for Commandclick nav spec (#36545) 2024-09-26 12:09:17 +05:30
JSLibrary
JSObject test: fix JsObjectMutation flaky test (#32936) 2024-04-26 18:19:22 +05:30
Linting fix: show linting errors on browser API added (#32732) 2024-04-18 18:49:15 +05:30
MobileResponsiveTests test: updated tests with aghelper table methods (#33737) 2024-05-31 14:01:06 +05:30
Onboarding chore: Remove unnecessary flag ab_show_templates_instead_of_blank_canvas_enabled (#33313) 2024-05-13 09:32:00 +05:30
OneClickBinding fix: widget icon in Connect To options in oneclick binding menu (#36703) 2024-10-07 17:22:02 +05:30
OtherUIFeatures chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
PartialImportExport test: PartialExport_Widgets_spec - updated test validation logic (#33371) 2024-05-21 18:40:02 +05:30
PeekOverlay
Performance chore: decoupled svg imports from main bundle (#36662) 2024-10-05 11:28:27 +05:30
ProductRamps chore: rm dr ce (#34765) 2024-07-31 08:24:51 +05:30
PropertyPane
PublishedApps
Refactoring
SetProperty chore: Replacing ted api call for resources (#36472) 2024-09-25 19:41:00 +05:30
SettingsPane chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
Templates chore: Added sanity and tags for blank tag specs (#36421) 2024-09-19 18:21:58 +05:30
ThemingTests fix: Theming Selected new Font is reverted whenever Color is removed (#36119) 2024-09-06 12:46:51 +05:30
UserProfile
VisualTests chore: change snapshot package (#35867) 2024-09-12 11:09:42 +03:00
Widgets chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
Workspace fix: Fix shareapp case due to load issue (#36627) 2024-10-04 13:19:16 +05:30