PromucFlow_constructor/app/client/src/ce
Ankita Kinger 5fadce541d
chore: Adding analytics for run action button click & fixing certain states for execution (#36800)
## Description

Adding analytics for run action button click & fixing certain states for
execution under the modularised flow. This PR combines the events
RUN_API_CLICK and RUN_QUERY_CLICK to RUN_ACTION_CLICK for the
modularised flow. It also combines the parameters we pass to these
events.

Fixes [#36794](https://github.com/appsmithorg/appsmith/issues/36794)

## Automation

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

### 🔍 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/11273497231>
> Commit: b21315a6bb88a364501c1b7d4c0fa78b042f2f81
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11273497231&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Thu, 10 Oct 2024 13:09:34 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

- **New Features**
- Added analytics logging for action execution with the new
"RUN_ACTION_CLICK" event.
	- Introduced a new hook for tracking analytics on run actions.

- **Bug Fixes**
	- Enhanced the context handling in the PluginActionContextProvider.

- **Refactor**
- Updated the `onRunClick` function in the PluginActionToolbar for
better encapsulation.
- Improved the `useHandleRunClick` hook with additional context and
analytics integration.

- **Documentation**
	- Updated event tracking system to reflect new and removed event names.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-10-10 18:51:22 +05:30
..
actions chore: [Plugin Action Editor] Combine Plugin Editor UI state (#36651) 2024-10-08 16:12:27 +05:30
api chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30
components chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
configs chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
constants fix: remove redundant eval trigger (#36764) 2024-10-10 16:32:53 +05:30
entities chore: removed old flags for airgap instances (#36609) 2024-10-07 15:26:25 +05:30
hooks fix: New query button does not show up issue fixed (#36766) 2024-10-09 13:22:27 +05:30
IDE/hooks chore: [Plugin Action Editor] Implement a useIsEditorIsInitialised hook (#36328) 2024-09-16 16:40:37 +05:30
navigation chore: [Plugin Action Editor] Combine Plugin Editor UI state (#36651) 2024-10-08 16:12:27 +05:30
pages chore: Adding the functionality of running and deleting an action under modularised flow (#36746) 2024-10-09 14:08:45 +01:00
PluginActionEditor chore: Adding analytics for run action button click & fixing certain states for execution (#36800) 2024-10-10 18:51:22 +05:30
plugins/Linting chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
reducers chore: [Plugin Action Editor] Combine Plugin Editor UI state (#36651) 2024-10-08 16:12:27 +05:30
sagas fix: remove redundant eval trigger (#36764) 2024-10-10 16:32:53 +05:30
selectors chore: [Plugin Action Editor] Combine Plugin Editor UI state (#36651) 2024-10-08 16:12:27 +05:30
types fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
utils chore: Adding analytics for run action button click & fixing certain states for execution (#36800) 2024-10-10 18:51:22 +05:30
workers chore: delete unused code (#36461) 2024-09-23 13:52:00 +03:00
AppRouter.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
RouteBuilder.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
RouteParamsMiddleware.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00