PromucFlow_constructor/app/client/src/ce/utils
sneha122 43474fcfa1
fix: analytic events added for start with data flow (#29463)
## Description

This PR:
- Adds analytic events for start with data onboarding flow, List of
events and their details can be found in this
[doc](https://www.notion.so/appsmith/Analytic-Events-c326270138c046f4b29328bc18b89b2d)
- There was an issue in DATASOURCE_SCHEMA_FETCH event, it was throwing
misleading information when the datasource structure fetch API failed,
that issue has been fixed as well

#### PR fixes following issue(s)
Fixes #29435 
#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### Type of change
- Chore (housekeeping or task changes that don't impact user perception)
>
>
>
## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [x] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### 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
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] 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 user interactions during the
onboarding process, including skipping steps.

- **Refactor**
- Improved internal logic for fetching and refreshing datasource
structures to enhance error handling and success tracking.

- **Documentation**
- Updated type definitions to reflect new analytics events related to
the onboarding flow.

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

Co-authored-by: “sneha122” <“sneha@appsmith.com”>
2023-12-08 15:26:57 +05:30
..
autocomplete fix: Adjust autocomplete results ranking for function arguments (#28632) 2023-11-10 14:18:42 +05:30
BusinessFeatures chore: split for env walkthrough PR (#28806) 2023-11-13 14:37:29 +05:30
Environments feat: open ai feature request (#28295) 2023-11-03 11:20:34 +07:00
FilterInternalProperties chore: Peekoverlay for moduleInputs (#28972) 2023-11-21 18:08:18 +05:30
actionExecutionUtils.ts chore: Action execution changes for modules (#29357) 2023-12-07 00:48:52 +05:30
adminSettingsHelpers.ts feat: code split files based on feature flags (#27678) 2023-09-30 02:12:56 +05:30
airgapHelpers.tsx feat: util to serve images locally or via remote url (#22080) 2023-04-10 12:32:31 +05:30
analyticsUtilTypes.ts fix: analytic events added for start with data flow (#29463) 2023-12-08 15:26:57 +05:30
getEntityPayloadInfo.ts fix: widget icon in debugger (#29141) 2023-11-28 10:22:43 +05:30
getIsActionCreatedInApp.ts chore: action response view refactor (#29031) 2023-11-24 11:34:06 +05:30
index.ts fix: fix 404 crash happening during first load (#27229) 2023-09-13 11:27:18 +05:30
licenseHelpers.tsx chore: Improve code splitting of FE components (#26659) 2023-08-28 21:07:32 +05:30
moduleInstanceHelpers.tsx chore: Refactoring create query operation helpers to include modules in the list (#28721) 2023-11-09 17:10:36 +05:30
permissionHelpers.tsx chore: split for env walkthrough PR (#28806) 2023-11-13 14:37:29 +05:30
planHelpers.ts fix: git branch protection fixes (#28667) 2023-11-07 20:25:02 +05:30
preloadHelpers.ts fix: Refactor preloads to fix an issue with CDN on EE (#28402) 2023-10-30 13:32:37 +05:30
signupHelpers.ts feat: added an intermediary step to enable new create new app flow (#27457) 2023-11-09 09:49:02 +05:30