PromucFlow_constructor/app/client/src/pages
Ashit Rath d39eb588b9
fix: sniping mode for module to bind to existing and new widgets (#35072)
## Description
Fixes sniping for module instances. 
For binding to widgets, the module instance id and moduleInstance name
was to be passed to the `BindDataButton` component.

Fixes https://github.com/appsmithorg/appsmith/issues/31957

## 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/10056587287>
> Commit: 74ec4dc42fee3ca211037c60753aee4c869a4e83
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10056587287&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Tue, 23 Jul 2024 10:37:32 UTC
<!-- end of auto-generated comment: Cypress test results  -->


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


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

## Summary by CodeRabbit

- **New Features**
- Introduced new `apiName` prop in the `ApiResponseView` component for
enhanced flexibility in API response rendering.
- Added `moduleInstanceId` to `BindDataButtonProps` for improved data
binding context.
- Enhanced `QueryResponseTab` components by adding `actionName` prop,
improving functionality and display.
  
- **Bug Fixes**
- Updated logic in `QueryResponseTab` to allow for fallback to
`actionName` when rendering, enhancing adaptability.

- **Tests**
- Added a comprehensive test suite for `bindDataToWidgetSaga` to ensure
expected behavior and integration with Redux state management.

- **Refactor**
- Improved the logic in `bindDataToWidgetSaga` to utilize `actionName`,
streamlining the data binding process.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-23 16:36:22 +05:30
..
AdminSettings fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
Applications fix: Changes for Anvil Alpha release (#34211) 2024-07-05 13:57:59 +05:30
AppViewer fix: canvas resizing issues (#35004) 2024-07-23 13:40:43 +03:00
common fix: Changes for Anvil Alpha release (#34211) 2024-07-05 13:57:59 +05:30
Editor fix: sniping mode for module to bind to existing and new widgets (#35072) 2024-07-23 16:36:22 +05:30
setup chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
Templates chore: add appsmith icon package (#32927) 2024-04-26 15:37:09 +03:00
tests test: Extract pageId with regex to cover more cases (#34521) 2024-07-02 06:31:59 +05:30
UserAuth chore: Updating the login button names for OIDC & SAML to get it from tenant config (#32979) 2024-05-15 11:11:47 +05:30
UserProfile chore: Improve code splitting of FE components (#26659) 2023-08-28 21:07:32 +05:30
users chore: Improve code splitting of FE components (#26659) 2023-08-28 21:07:32 +05:30
workspace chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
routes.tsx chore: [App Sidebar] Data Pane (#28248) 2023-10-24 15:28:21 +05:30
utils.ts fix: gsheet file picker background issue fixed (#24049) 2023-06-08 14:58:29 +05:30