From 05e7025fff51c367863c47c38b8feecbe95a9b26 Mon Sep 17 00:00:00 2001 From: Neha Tarakad Date: Wed, 4 Dec 2024 10:22:22 -0800 Subject: [PATCH] adding telemetry at time of form selection for one or multiple diffs --- .../codemodernizer/controller/CodeTransformChatController.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/controller/CodeTransformChatController.kt b/plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/controller/CodeTransformChatController.kt index a31615d4e2..731668719c 100644 --- a/plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/controller/CodeTransformChatController.kt +++ b/plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/controller/CodeTransformChatController.kt @@ -398,6 +398,7 @@ class CodeTransformChatController( EXPLAINABILITY_V1 ) } + telemetry.submitSelection(message.oneOrMultipleDiffsSelection) codeTransformChatHelper.addNewMessage(buildUserOneOrMultipleDiffsSelectionChatContent(message.oneOrMultipleDiffsSelection)) codeTransformChatHelper.addNewMessage(buildCompileLocalInProgressChatContent()) codeModernizerManager.codeTransformationSession?.let {