Skip to content

Commit

Permalink
telemetry: toolkit_showNotification.userChoice
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmk3 committed Oct 11, 2024
1 parent df10c59 commit c6f78a7
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "action",
"type": "string",
"description": "Name of an action that was taken, displayed, etc."
"description": "Name of an action that was taken, displayed, etc. See also `userChoice`."
},
{
"name": "amazonqCodeGenerationResult",
Expand Down Expand Up @@ -1711,7 +1711,7 @@
{
"name": "userChoice",
"type": "string",
"description": "User selection from a predefined menu (not user-provided input)"
"description": "User selection from a predefined menu (not user-provided input). See also `action`."
},
{
"name": "userId",
Expand Down Expand Up @@ -6794,7 +6794,7 @@
},
{
"name": "toolkit_openModule",
"description": "The user opened 'something' (specified by 'module'). Examples: a view, feature, resource, ...",
"description": "User opened 'something' (specified by 'module'). Examples: a view, feature, resource, ...",
"metadata": [
{
"type": "module",
Expand All @@ -6813,7 +6813,7 @@
},
{
"name": "toolkit_showAction",
"description": "The toolkit tried to show an action. Source represents the notification that produced the action",
"description": "Toolkit presented an action. `source` is the notification that produced the action. See also `toolkit_showNotification`.",
"metadata": [
{
"type": "component",
Expand All @@ -6840,7 +6840,7 @@
},
{
"name": "toolkit_showNotification",
"description": "The toolkit tried to show a notification message",
"description": "Show a notification message, optionally with selected action set in `userChoice`. See also `toolkit_showAction`.",
"metadata": [
{
"type": "component",
Expand All @@ -6850,6 +6850,10 @@
"type": "id",
"required": true
},
{
"type": "userChoice",
"required": false
},
{
"type": "reason",
"required": false
Expand Down Expand Up @@ -6942,4 +6946,4 @@
]
}
]
}
}

0 comments on commit c6f78a7

Please sign in to comment.