## Description This pr is for code splitting of analytics events for workflows project. It also does a pending code split for the jsPaneSagas which got missed during the audit logs feature release. [EE PR](https://github.com/appsmithorg/appsmith-ee/pull/3636) Changelog - Added a context of parent for packages and workflows so the analytics events can have extra information. - Updated code split for audit logs feature. #### PR fixes following issue(s) Fixes #31355 #### Type of change - New feature (non-breaking change which adds functionality) #### Issues raised during DP testing > Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR) > > > ## Checklist: #### Dev activity - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag #### QA activity: - [ ] [Speedbreak features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-) have been covered - [ ] Test plan covers all impacted features and [areas of interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-) - [ ] Test plan has been peer reviewed by project stakeholders and other QA members - [ ] Manually tested functionality on DP - [ ] We had an implementation alignment call with stakeholders post QA Round 2 - [ ] Cypress test cases have been added and approved by SDET/manual QA - [ ] Added `Test Plan Approved` label after Cypress tests were reviewed - [ ] Added `Test Plan Approved` label after JUnit tests were reviewed <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced analytics tracking for specific actions in the application, providing detailed insights into user behavior and action success rates. - Introduced context-aware data points for optimized analytics data collection, including parent context extraction from URLs. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
16 lines
309 B
TypeScript
16 lines
309 B
TypeScript
/**
|
|
* Code splitting helper for audit logs
|
|
*/
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
export const logActionExecutionForAudit = (payload: {
|
|
actionId: string;
|
|
pageId: string;
|
|
collectionId: string;
|
|
actionName: string;
|
|
pageName: string;
|
|
}) => {
|
|
return {
|
|
type: "",
|
|
};
|
|
};
|