chore: Add June event for AI reply suggest dismissal (#7601)

This commit is contained in:
Muhsin Keloth
2023-07-31 13:20:47 +05:30
committed by GitHub
parent 9ddd428935
commit c8a40932cc
2 changed files with 4 additions and 0 deletions

View File

@@ -61,6 +61,9 @@ export default {
}
},
hideAIAssistanceModal() {
this.recordAnalytics('DISMISS_AI_SUGGESTION', {
aiOption: this.aiOption,
});
this.showAIAssistanceModal = false;
},
openAIAssist() {

View File

@@ -89,4 +89,5 @@ export const OPEN_AI_EVENTS = Object.freeze({
SIMPLIFY: 'OpenAI: Used simplify',
APPLY_LABEL_SUGGESTION: 'OpenAI: Apply label from suggestion',
DISMISS_LABEL_SUGGESTION: 'OpenAI: Dismiss label suggestions',
DISMISS_AI_SUGGESTION: 'OpenAI: Dismiss AI suggestions',
});