diff options
author | Hailey <me@haileyok.com> | 2024-05-20 15:26:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 15:26:05 -0700 |
commit | 516eb69637d4d71cb25397376f9e1e5d3680f314 (patch) | |
tree | 375081d63277d961f5bfdace7a6c7bfefeabdebe /src/lib | |
parent | 22522090c23df68251bdb37842323ffa1f7ea06d (diff) | |
download | voidsky-516eb69637d4d71cb25397376f9e1e5d3680f314.tar.zst |
[🐴] Add new chat metrics (#4130)
* remove a comment * add types for event, add log to profile button * add `chat:open` * add to chat list items * fix types * oops * oops 2.0
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/statsig/events.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/statsig/events.ts b/src/lib/statsig/events.ts index 660a37d2a..fe4c9e65a 100644 --- a/src/lib/statsig/events.ts +++ b/src/lib/statsig/events.ts @@ -125,6 +125,13 @@ export type LogEvents = { | 'ProfileHeaderSuggestedFollows' | 'ProfileMenu' | 'ProfileHoverCard' + | 'Chat' + } + 'chat:create': { + logContext: 'ProfileHeader' | 'NewChatDialog' + } + 'chat:open': { + logContext: 'ProfileHeader' | 'NewChatDialog' | 'ChatsList' } 'test:all:always': {} |