add reason to log (#8381)

This commit is contained in:
hailey
2025-05-19 09:33:55 -07:00
committed by GitHub
parent f3bc962494
commit 4ef7a6b64c
2 changed files with 13 additions and 6 deletions
+4 -1
View File
@@ -1,3 +1,4 @@
import {type NotificationReason} from '#/lib/hooks/useNotificationHandler'
import {type FeedDescriptor} from '#/state/queries/post-feed'
export type MetricEvents = {
@@ -23,7 +24,9 @@ export type MetricEvents = {
| 'Takendown'
scope: 'current' | 'every'
}
'notifications:openApp': {}
'notifications:openApp': {
reason: NotificationReason
}
'notifications:request': {
context: 'StartOnboarding' | 'AfterOnboarding' | 'Login' | 'Home'
status: 'granted' | 'denied' | 'undetermined'