Add metrics to reporting flow (#7871)

* Add metrics to reporting flow

* Remove vestigial state
This commit is contained in:
Eric Bailey
2025-03-01 13:34:12 -06:00
committed by GitHub
parent 1c582c59f0
commit 07dd57d1ea
3 changed files with 33 additions and 2 deletions
+11
View File
@@ -305,4 +305,15 @@ export type MetricEvents = {
'progressGuide:hide': {}
'progressGuide:followDialog:open': {}
'reportDialog:open': {
subjectType: string
}
'reportDialog:close': {}
'reportDialog:success': {
reason: string
labeler: string
details: boolean
}
'reportDialog:failure': {}
}
+1
View File
@@ -9,6 +9,7 @@ export enum LogContext {
Notifications = 'notifications',
ConversationAgent = 'conversation-agent',
DMsAgent = 'dms-agent',
ReportDialog = 'report-dialog',
/**
* METRIC IS FOR INTERNAL USE ONLY, don't create any other loggers using this