From 87bc4e96c3981f6206a38523e938cc7f646418ce Mon Sep 17 00:00:00 2001 From: PhilexWong <142860658+PhilexWong@users.noreply.github.com> Date: Wed, 16 Oct 2024 02:19:37 -0700 Subject: [PATCH 1/2] Update deploy-prod.yml (#233) --- .github/workflows/deploy-prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 65532795..2c224245 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -9,7 +9,7 @@ on: type: string required: true description: Git ref - default: main + default: release/v0.1.0 jobs: deploy: From 7587fab43e6e72ebf449a83c0b2a02031fd88093 Mon Sep 17 00:00:00 2001 From: Mohd Zishan <72738005+Zishan-7@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:03:54 +0530 Subject: [PATCH 2/2] Add new matomo trackers (#235) --- src/onboarding/Login.jsx | 6 ++++++ src/shared/Sidebar.jsx | 20 ++++++++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/onboarding/Login.jsx b/src/onboarding/Login.jsx index 32fb94e6..f7f28cd2 100644 --- a/src/onboarding/Login.jsx +++ b/src/onboarding/Login.jsx @@ -32,6 +32,12 @@ export default function Login() { }); if (signInAttempt.status === 'complete') { await setActive({ session: signInAttempt.createdSessionId }); + window._paq.push([ + 'trackEvent', + 'Login', + 'User logged in successfully', + data.email + ]); navigate('/'); } else { console.error(JSON.stringify(signInAttempt, null, 2)); diff --git a/src/shared/Sidebar.jsx b/src/shared/Sidebar.jsx index 3e392fe8..b5adeb88 100644 --- a/src/shared/Sidebar.jsx +++ b/src/shared/Sidebar.jsx @@ -84,7 +84,15 @@ export default function Sidebar({ onOpenChange }) {