PromucFlow_constructor/app/client/test/factories
Alex 138fc6a148
feat: side-by-side edit mode hover analytics (#34185)
## Description
The purpose of this PR is to collect data about hovered canvas and
widgets and send it to analytics platform.

Fixes #33159

## 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/9584384829>
> Commit: 9cec247f7f1e82e0cc23fa5aa5499008bdc58964
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9584384829&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: ``

<!-- 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**
- Introduced analytics tracking for side-by-side hover actions in the
IDE canvas.
- Added a new `AnalyticsWrapper` component for handling analytics events
within layout systems.
- Implemented a custom hook `useIsInSideBySideEditor` to check for
side-by-side editor mode.
  - Added new CSS styles for layout systems.

- **Bug Fixes**
- Improved handling of widget hover events and analytics tracking in
side-by-side editor mode.

- **Refactor**
- Refactored logic for determining the current entity info and segment
state in the IDE.
  - Updated import paths and reordered imports for better organization.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-20 14:03:06 +05:30
..
Actions chore: Unify ID extraction regex from browser url (#33925) 2024-06-11 15:14:54 +05:30
Widgets feat: added modal name, lint warning for string, action selector modal (#32893) 2024-05-02 17:48:53 +05:30
AppIDEFactoryUtils.ts feat: side-by-side edit mode hover analytics (#34185) 2024-06-20 14:03:06 +05:30
DatasourceFactory.ts chore: Refactor DataSidePane to accept selector as prop to show usage messages in EE (#32870) 2024-04-26 15:38:25 +05:30
MockPluginsState.ts fix: default port numbers for the datasources (#32901) 2024-04-30 13:15:11 +05:30
PageFactory.ts chore: Unify ID extraction regex from browser url (#33925) 2024-06-11 15:14:54 +05:30
WidgetFactoryUtils.ts chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30