about summary refs log tree commit diff
path: root/src/lib/statsig
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-01-23 22:33:28 +0000
committerGitHub <noreply@github.com>2025-01-23 22:33:28 +0000
commitf1d120d416bc262b5fd63e3407f9e0b09b13cd74 (patch)
tree5191aec11ef4367e7be299e3711cad2dcad29697 /src/lib/statsig
parent084d11c63aebd0afc516931a11bddac9b24b3b18 (diff)
downloadvoidsky-f1d120d416bc262b5fd63e3407f9e0b09b13cd74.tar.zst
Takendown state + in-app takedown appeals (#7566)
* takendown screen

* add form, move button inline

* expect type error

* display error

* disable submit if too long

* move around all the ctas

* typos, rm layoutanimation, fix link

* use REASONAPPEAL
Diffstat (limited to 'src/lib/statsig')
-rw-r--r--src/lib/statsig/events.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts
index af759e94e..189153a10 100644
--- a/src/lib/statsig/events.ts
+++ b/src/lib/statsig/events.ts
@@ -13,7 +13,12 @@ export type LogEvents = {
     withPassword: boolean
   }
   'account:loggedOut': {
-    logContext: 'SwitchAccount' | 'Settings' | 'SignupQueued' | 'Deactivated'
+    logContext:
+      | 'SwitchAccount'
+      | 'Settings'
+      | 'SignupQueued'
+      | 'Deactivated'
+      | 'Takendown'
     scope: 'current' | 'every'
   }
   'notifications:openApp': {}