about summary refs log tree commit diff
path: root/src/lib
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-02-14 19:52:53 +0000
committerGitHub <noreply@github.com>2025-02-14 19:52:53 +0000
commitd793abf8cd2cf7edf2ffd4a4cd570db33b795bbf (patch)
treec6f106cedcdd3e04ecde4b6a9d3adcc5b6da7826 /src/lib
parent11616846caa69ee1b2eacc87e1e307b47df223a5 (diff)
downloadvoidsky-d793abf8cd2cf7edf2ffd4a4cd570db33b795bbf.tar.zst
[Instrumentation] Signin (#7742)
* first pass at instrumenting login

* round time taken
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/statsig/events.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts
index 9a45a620e..519e3997e 100644
--- a/src/lib/statsig/events.ts
+++ b/src/lib/statsig/events.ts
@@ -51,6 +51,22 @@ export type LogEvents = {
   }
   'signup:captchaSuccess': {}
   'signup:captchaFailure': {}
+  'signin:hostingProviderPressed': {
+    hostingProviderDidChange: boolean
+  }
+  'signin:hostingProviderFailedResolution': {}
+  'signin:success': {
+    failedAttemptsCount: number
+    isUsingCustomProvider: boolean
+    timeTakenSeconds: number
+  }
+  'signin:backPressed': {
+    failedAttemptsCount: number
+  }
+  'signin:forgotPasswordPressed': {}
+  'signin:passwordReset': {}
+  'signin:passwordResetSuccess': {}
+  'signin:passwordResetFailure': {}
   'onboarding:interests:nextPressed': {
     selectedInterests: string[]
     selectedInterestsLength: number