1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/frontend/src/hooks
Nuno Góis 3c48171c78
feat: add user tracking to demo (#3637)
https://linear.app/unleash/issue/2-946/explore-and-implement-options-for-user-tracking

Adds user tracking to the interactive demo, so we can measure how users
are using this feature and improve it in the feature.

## Events

- **start** - When the user starts the demo by clicking on the "Try
Unleash Demo" button;
- **finish** - When the user finishes the demo by seeing the "You
finished the demo" dialog;
- **restart** - When the user decides to restart the demo on the "You
finished the demo" dialog;
- **close** - When the user closes a demo dialog;
- **topic** - In what topic this happened (topic title, can also be
`start` if user closes on the start dialog);
- **step** - In what step this happened (step number, `1` would mean
first step);
- **start_topic** - When the user decides to start a specific topic by
clicking it in the list;
  - **topic** - What topic was clicked (topic title);
- **ask_questions** - When the user decides to ask questions by clicking
the appropriate option in the top banner;
- **see_plans** - When the user decides to see the plans by clicking the
appropriate option in the top banner;
- **plan** - What plan was clicked (one of: `open_source`, `pro`,
`enterprise` or `compare_plans`);
- **open_demo_web** - User decided to open the demo website using the
link on the start dialog;
- **view_demo_link** - User decided to open the start dialog again on
the bottom of the topics list;

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-04-27 14:12:02 +01:00
..
api Disable and enable strategies - frontend (#3582) 2023-04-26 11:41:24 +02:00
useChangeRequestAddStrategy.ts Change request event tracking (#2570) 2022-11-30 12:04:29 +01:00
useChangeRequestInReviewWarning.tsx Feat/update dialogues (#2559) 2022-11-29 14:52:01 +01:00
useChangeRequestsEnabled.test.tsx feat: skip change request in UI (#3495) 2023-04-11 14:47:54 +02:00
useChangeRequestsEnabled.ts feat: skip change request in UI (#3495) 2023-04-11 14:47:54 +02:00
useChangeRequestToggle.ts Change request event tracking (#2570) 2022-11-30 12:04:29 +01:00
useCollaborateData.tsx linter fixes (#2561) 2022-11-30 10:52:13 +01:00
useConditionallyHiddenColumns.ts Use new useConditionallyHiddenColumns hook (#2695) 2022-12-16 10:46:04 +01:00
useDefaultProjectSettings.ts chore: remove projectScopedStickinessFlag (#3620) 2023-04-26 17:07:09 +03:00
useDragItem.ts fix: improve drag behaviour when using handle (#2407) 2022-11-14 08:25:20 +00:00
useEventSettings.ts feat: add trial expiration warning banner (#985) 2022-05-19 14:06:18 +02:00
useFormErrors.ts fix: validate feature strategy parameters (#1192) 2022-08-04 13:34:30 +02:00
useGlobalLocalStorage.ts Allow hiding environments from the feature overview screen (#2727) 2023-01-03 15:41:34 +02:00
useGlobalState.ts
useHasAccess.ts feat: skip change request in UI (#3495) 2023-04-11 14:47:54 +02:00
useHiddenEnvironments.ts Plausible for hidden environments (#2837) 2023-01-09 15:36:10 +02:00
useId.test.ts refactor: adapt to Vite (#940) 2022-05-05 16:15:22 +01:00
useId.ts
useIsAppleDevice.ts Search keyboard shortcut (#1048) 2022-06-06 14:23:48 +02:00
useKeyboardShortcut.ts Search keyboard shortcut (#1048) 2022-06-06 14:23:48 +02:00
useLastViewedProject.ts Fix/redirect woes (#2899) 2023-01-17 13:33:52 +01:00
useLoading.ts Refactor: Project Overview fetching (#3035) 2023-02-07 08:57:28 +01:00
useLocationSettings.ts feat: add trial expiration warning banner (#985) 2022-05-19 14:06:18 +02:00
useOnVisible.ts feat: add search to event log pages (#1205) 2022-08-09 16:00:51 +02:00
useOptionalPathParam.ts
usePageTitle.ts Refactor project health table (#1098) 2022-06-21 09:08:37 +02:00
usePagination.ts fix: user search pagination (#997) 2022-05-19 14:27:19 +02:00
usePersistentGlobalState.ts Project stats feedback (#3131) 2023-02-17 13:10:27 +01:00
usePinnedFavorites.test.ts Favorite features on project (#2580) 2022-12-01 13:10:42 +01:00
usePinnedFavorites.ts fix: favorites column visibility (#2605) 2022-12-06 10:03:43 +00:00
usePlausibleTracker.ts feat: add user tracking to demo (#3637) 2023-04-27 14:12:02 +01:00
useQueryParams.ts
useQueryStringNumberState.ts
useQueryStringState.ts
useRequiredPathParam.ts
useRequiredQueryParam.ts
useSearch.test.ts feat: add filtering capabilities to search (#1052) 2022-06-03 11:32:30 +01:00
useSearch.ts UI/bulk select (#3267) 2023-03-14 08:56:03 +00:00
useTabs.ts
useThemeMode.ts fix: dark theme UI fixes (#3423) 2023-03-30 16:57:35 +01:00
useToast.tsx Bulk tags (#3337) 2023-03-21 13:37:25 +01:00
useUsersPlan.ts feat: paid users limit in UI (#3210) 2023-03-01 08:49:14 +01:00
useVirtualizedRange.ts Virtualize project toggles list (#1043) 2022-06-01 12:24:24 +00:00
useWeakMap.ts