PromucFlow_constructor/app/client/src/utils
Anand Srinivasan 071b992710
chore: send segment anonymous id (#19122)
Add segment's `anonymousId` as a header in all API calls.

cached id ->
[details](https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/identity/#segment-id-persistence)

On Page load actions:
- If segment is enabled:
  - and cached id exists -> trigger with cached id
  - if cached id doesn’t exist, we wait for max 2 seconds.
    - if segment init is success -> trigger with anonymous id
    - if failed/delayed -> trigger without anonymous id
- If segment is disabled we don’t wait at all and anonymous id is not
sent.

Signed-off-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: Hetu Nandu <hetu@appsmith.com>
2023-01-06 19:39:38 +05:30
..
autocomplete chore: update imports for code split (#19085) 2022-12-22 12:04:28 +05:30
autoHeight fix: Switch to preview mode performance issue (#18457) 2022-11-27 22:42:00 +05:30
CallbackHandler feat: Automatic height updates for widgets based on contents (Auto Height) (#18341) 2022-11-23 15:18:23 +05:30
editor feat: merge GraphQL plugin to release (#16554) 2022-09-09 21:29:47 +05:30
formControl fix: removed old key_val_input, updated keyval_array, show ds info (#18626) 2022-12-13 20:09:16 +05:30
hooks fix: Improving form widget keyboard accessibility (#18991) 2022-12-30 15:52:11 +01:00
migrations feat: Dynamic Menu Items - Table Widget (#18945) 2022-12-30 16:22:11 +05:30
validation fix: update settings pane validations (#18739) 2022-12-12 10:21:14 +05:30
AnalyticsUtil.tsx chore: send segment anonymous id (#19122) 2023-01-06 19:39:38 +05:30
ApiPaneUtils.test.ts fix: Action Selector menu goes out of viewport (#16878) 2022-09-23 10:46:26 +05:30
ApiPaneUtils.tsx fix: fixes right body type not selected after curl import (#16549) 2022-09-21 09:40:36 +00:00
AppsmithConsole.ts fix: Aggregate calls to add and remove Appsmith errors (#18285) 2022-12-07 11:28:29 +01:00
AppsmithUtils.test.ts perf: Widget re-rendering refactor (#14485) 2022-08-19 15:40:36 +05:30
AppsmithUtils.tsx chore: send segment anonymous id (#19122) 2023-01-06 19:39:38 +05:30
AppUtils.ts feat: Code Scanner Widget (#15990) 2022-09-16 10:25:32 +05:30
bootIntercom.ts chore: git sync cypress tests (#10006) 2022-02-25 06:13:16 +00:00
boxHelpers.test.ts feat: (Internal Change) Add auto height computation functions (#17962) 2022-11-20 11:42:32 +05:30
boxHelpers.ts feat: (Internal Change) Add auto height computation functions (#17962) 2022-11-20 11:42:32 +05:30
BrandingUtils.ts feat: Branding (#18717) 2022-12-09 20:13:47 +05:30
canvasStructureHelpers.test.ts Introduce different evaluation types for different binding fields (#3834) 2021-04-26 11:11:32 +05:30
canvasStructureHelpers.ts refactor: Widget Development API (#6405) 2021-09-09 20:40:22 +05:30
DatasourceSagaUtils.tsx feat: Datasource autosave improvements (#17649) 2022-11-30 11:29:45 +05:30
DSLMigration.test.ts feat: Dynamic Menu Items - Table Widget (#18945) 2022-12-30 16:22:11 +05:30
DSLMigrations.ts feat: Dynamic Menu Items - Table Widget (#18945) 2022-12-30 16:22:11 +05:30
DSLMigrationsUtils.test.ts fix: Remove auto-height from list widget's children (#18755) 2022-12-18 01:33:35 +05:30
DynamicBindingUtils.test.ts fix: Refactoring to replace all usages of isEqual method from lodash with equal method from fast-deep-equal/es6 (#16439) 2022-09-02 14:46:30 +05:30
DynamicBindingUtils.ts chore: update imports for code split (#19085) 2022-12-22 12:04:28 +05:30
editorContextUtils.ts fix: google sheet ui issues, removed redundant code (#18785) 2022-12-20 20:40:18 +05:30
formhelpers.test.ts Make prettier changes (#2337) 2020-12-24 10:02:25 +05:30
formhelpers.ts fix: Login password length upper limit changed from 48 to 256 characters (#18176) 2022-12-13 16:40:47 +05:30
GenerateCrudUtil.ts [Feature] Generate template page from datasource (#5513) 2021-07-29 13:43:10 +05:30
generators.tsx feat: new Widget Copy paste experience (#12906) 2022-05-04 13:28:57 +05:30
getPathAndValueFromActionDiffObject.ts fix: fixing missing where key (#9215) 2021-11-25 18:48:40 +05:30
getQueryParamsObject.ts feat: [Context Switching] Complex widgets and other Phase 2 items (#17046) 2022-12-08 12:51:58 +05:30
helpers.test.ts feat: Import javascript libraries (#17895) 2022-12-21 22:44:47 +05:30
helpers.tsx feat: Import javascript libraries (#17895) 2022-12-21 22:44:47 +05:30
history.ts chore: Navigation analytics (#18781) 2022-12-15 09:36:13 +05:30
JSPaneUtils.test.ts feat: upgrade to create react app 5 (#14000) 2022-06-21 19:27:34 +05:30
JSPaneUtils.tsx fix: Saving variables as string rather than values in backend (#12999) 2022-06-24 09:36:52 +05:30
klona.test.ts fix: Refactoring to replace all usages of isEqual method from lodash with equal method from fast-deep-equal/es6 (#16439) 2022-09-02 14:46:30 +05:30
localStorage.test.ts fix: welcome tour ending on page refresh (#16079) 2022-09-02 18:45:48 +05:30
localStorage.tsx fix: show empty canvas CTA's only on the first page while creating an app (#17869) 2022-11-02 14:39:59 +05:30
MessageUtil.ts feat: Import javascript libraries (#17895) 2022-12-21 22:44:47 +05:30
PerformanceTracker.ts refactor: code splitting to support third party sso/oidc in EE (#10201) 2022-01-07 11:38:17 +05:30
PropertyControlFactory.tsx fix: initial selected value not getting displayed (#15000) 2022-07-12 12:46:15 +00:00
PropertyControlRegistry.tsx chore: Adds analytics for Property Pane keyboard navigation (#13703) 2022-07-14 10:30:30 +05:30
ReducerUtils.ts Optimise code editor renders (#15405) 2022-08-04 11:10:44 +05:30
reflowHookUtils.ts feat: (Internal Change) Add auto height computation functions (#17962) 2022-11-20 11:42:32 +05:30
replayHelpers.test.js feat: upgrade to create react app 5 (#14000) 2022-06-21 19:27:34 +05:30
replayHelpers.tsx chore: migrate toast (#17208) 2022-10-14 01:43:44 +05:30
storage.ts chore: Navigation analytics (#18781) 2022-12-15 09:36:13 +05:30
testDSLs.ts fix: chart widget color fontfamily (#16750) 2022-09-16 19:50:29 +05:30
testPropertyPaneConfig.test.ts feat: Property pane search (#18164) 2022-12-11 20:12:32 +05:30
treeUtils.ts fix: table search text dependency deletion (#11608) 2022-04-12 13:09:26 +00:00
TypeHelpers.ts feat: Table widget v2 with support for non-ASCII characters and improved jest coverage (#11307) 2022-07-14 12:32:35 +05:30
URLUtils.ts feat: Change navigate to UI (#14856) 2022-09-16 10:00:16 +05:30
widgetEvalUtils.ts fix: update def on widget property name update (#15490) 2022-08-10 10:50:08 +05:30
WidgetFactory.tsx feat: Property pane search (#18164) 2022-12-11 20:12:32 +05:30
WidgetFactoryHelpers.ts feat: Property pane search (#18164) 2022-12-11 20:12:32 +05:30
WidgetFeatures.test.ts feat: Automatic height updates for widgets based on contents (Auto Height) (#18341) 2022-11-23 15:18:23 +05:30
WidgetFeatures.ts fix: Enable auto height by default for JSONForm widget (#18932) 2022-12-23 17:05:27 +05:30
WidgetLoadingStateUtils.test.ts chore: perf data tree shrink (#18361) 2022-12-02 18:15:11 +05:30
WidgetLoadingStateUtils.ts chore: update imports for code split (#19085) 2022-12-22 12:04:28 +05:30
WidgetMigrationUtils.test.ts feat: Option to add new row in Table widget (#17515) 2022-11-05 15:24:20 +05:30
WidgetMigrationUtils.ts feat: Option to add new row in Table widget (#17515) 2022-11-05 15:24:20 +05:30
WidgetPropsUtils.test.tsx feat: Container Jump Improvements and Code for tracking Container Jumps (#12686) 2022-04-13 20:27:44 +05:30
WidgetPropsUtils.tsx feat: (Internal Change) Add auto height computation functions (#17962) 2022-11-20 11:42:32 +05:30
WidgetRegisterHelpers.tsx fix: Theme Stylesheet refactor (#18258) 2022-11-28 10:14:31 +05:30
WidgetRegistry.tsx feat: Automatic height updates for widgets based on contents (Auto Height) (#18341) 2022-11-23 15:18:23 +05:30
widgetRenderUtils.test.ts perf: Widget re-rendering refactor (#14485) 2022-08-19 15:40:36 +05:30
widgetRenderUtils.tsx perf: Widget re-rendering refactor (#14485) 2022-08-19 15:40:36 +05:30
WorkerUtil.test.ts feat: Import javascript libraries (#17895) 2022-12-21 22:44:47 +05:30
WorkerUtil.ts feat: Import javascript libraries (#17895) 2022-12-21 22:44:47 +05:30