From 4eeebaa0c3dd413e22a07fbabb8539b50fcccba6 Mon Sep 17 00:00:00 2001 From: Emily Date: Sat, 21 Sep 2024 15:14:46 +0200 Subject: [PATCH] better first interactions + bug fix --- dashboard/components/FirstInteraction.vue | 292 ++++++++++++++++++ .../components/dashboard/ActionableChart.vue | 10 +- dashboard/components/dashboard/CountCard.vue | 27 +- dashboard/components/settings/General.vue | 8 +- dashboard/components/settings/Template.vue | 2 +- dashboard/components/settings/billing.vue | 2 +- dashboard/composables/useLiveDemo.ts | 6 +- dashboard/composables/useOnlineUsers.ts | 2 +- dashboard/composables/useSnapshot.ts | 8 +- dashboard/package.json | 1 + dashboard/pages/index.vue | 70 +---- dashboard/pages/live_demo.vue | 42 +-- dashboard/pnpm-lock.yaml | 48 ++- 13 files changed, 381 insertions(+), 137 deletions(-) create mode 100644 dashboard/components/FirstInteraction.vue diff --git a/dashboard/components/FirstInteraction.vue b/dashboard/components/FirstInteraction.vue new file mode 100644 index 0000000..c038006 --- /dev/null +++ b/dashboard/components/FirstInteraction.vue @@ -0,0 +1,292 @@ + + + diff --git a/dashboard/components/dashboard/ActionableChart.vue b/dashboard/components/dashboard/ActionableChart.vue index b8f8c54..f5edec5 100644 --- a/dashboard/components/dashboard/ActionableChart.vue +++ b/dashboard/components/dashboard/ActionableChart.vue @@ -255,20 +255,20 @@ onMounted(async () => { }); - +const inLiveDemo = isLiveDemo();