File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
components/side-panels/panels/ai-assistant/components Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ describe('AssistanceChat', () => {
154
154
await waitForEuiPopoverVisible ( )
155
155
156
156
expect ( sendEventTelemetry ) . toBeCalledWith ( {
157
- event : TelemetryEvent . AI_CHAT_BOT_DATABASE_TERMS_DISPLAYED ,
157
+ event : TelemetryEvent . AI_CHAT_BOT_TERMS_DISPLAYED ,
158
158
eventData : {
159
159
chat : AiChatType . Assistance
160
160
}
@@ -166,7 +166,7 @@ describe('AssistanceChat', () => {
166
166
} )
167
167
168
168
expect ( sendEventTelemetry ) . toBeCalledWith ( {
169
- event : TelemetryEvent . AI_CHAT_BOT_DATABASE_TERMS_ACCEPTED ,
169
+ event : TelemetryEvent . AI_CHAT_BOT_TERMS_ACCEPTED ,
170
170
eventData : {
171
171
chat : AiChatType . Assistance ,
172
172
}
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const AssistanceChat = () => {
52
52
if ( ! agreements ) {
53
53
dispatch ( updateAssistantChatAgreements ( true ) )
54
54
sendEventTelemetry ( {
55
- event : TelemetryEvent . AI_CHAT_BOT_DATABASE_TERMS_ACCEPTED ,
55
+ event : TelemetryEvent . AI_CHAT_BOT_TERMS_ACCEPTED ,
56
56
eventData : {
57
57
chat : AiChatType . Assistance ,
58
58
}
@@ -149,7 +149,7 @@ const AssistanceChat = () => {
149
149
150
150
const handleAgreementsDisplay = useCallback ( ( ) => {
151
151
sendEventTelemetry ( {
152
- event : TelemetryEvent . AI_CHAT_BOT_DATABASE_TERMS_DISPLAYED ,
152
+ event : TelemetryEvent . AI_CHAT_BOT_TERMS_DISPLAYED ,
153
153
eventData : {
154
154
chat : AiChatType . Assistance ,
155
155
}
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ describe('ExpertChat', () => {
168
168
await waitForEuiPopoverVisible ( )
169
169
170
170
expect ( sendEventTelemetry ) . toBeCalledWith ( {
171
- event : TelemetryEvent . AI_CHAT_BOT_DATABASE_TERMS_DISPLAYED ,
171
+ event : TelemetryEvent . AI_CHAT_BOT_TERMS_DISPLAYED ,
172
172
eventData : {
173
173
chat : AiChatType . Query
174
174
}
@@ -180,7 +180,7 @@ describe('ExpertChat', () => {
180
180
} )
181
181
182
182
expect ( sendEventTelemetry ) . toBeCalledWith ( {
183
- event : TelemetryEvent . AI_CHAT_BOT_DATABASE_TERMS_ACCEPTED ,
183
+ event : TelemetryEvent . AI_CHAT_BOT_TERMS_ACCEPTED ,
184
184
eventData : {
185
185
chat : AiChatType . Query ,
186
186
databaseId : 'instanceId'
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ const ExpertChat = () => {
94
94
dispatch ( updateExpertChatAgreements ( instanceId ) )
95
95
96
96
sendEventTelemetry ( {
97
- event : TelemetryEvent . AI_CHAT_BOT_DATABASE_TERMS_ACCEPTED ,
97
+ event : TelemetryEvent . AI_CHAT_BOT_TERMS_ACCEPTED ,
98
98
eventData : {
99
99
databaseId : instanceId ,
100
100
chat : AiChatType . Query ,
@@ -157,7 +157,7 @@ const ExpertChat = () => {
157
157
158
158
const handleAgreementsDisplay = useCallback ( ( ) => {
159
159
sendEventTelemetry ( {
160
- event : TelemetryEvent . AI_CHAT_BOT_DATABASE_TERMS_DISPLAYED ,
160
+ event : TelemetryEvent . AI_CHAT_BOT_TERMS_DISPLAYED ,
161
161
eventData : {
162
162
chat : AiChatType . Query ,
163
163
}
Original file line number Diff line number Diff line change @@ -258,8 +258,8 @@ export enum TelemetryEvent {
258
258
AI_CHAT_BOT_COMMAND_RUN_CLICKED = 'AI_CHAT_BOT_COMMAND_RUN_CLICKED' ,
259
259
AI_CHAT_BOT_ERROR_MESSAGE_RECEIVED = 'AI_CHAT_BOT_ERROR_MESSAGE_RECEIVED' ,
260
260
AI_CHAT_BOT_NO_INDEXES_MESSAGE_DISPLAYED = 'AI_CHAT_BOT_NO_INDEXES_MESSAGE_DISPLAYED' ,
261
- AI_CHAT_BOT_DATABASE_TERMS_DISPLAYED = 'AI_CHAT_BOT_DATABASE_TERMS_DISPLAYED ' ,
262
- AI_CHAT_BOT_DATABASE_TERMS_ACCEPTED = 'AI_CHAT_BOT_DATABASE_TERMS_ACCEPTED ' ,
261
+ AI_CHAT_BOT_TERMS_DISPLAYED = 'AI_CHAT_BOT_TERMS_DISPLAYED ' ,
262
+ AI_CHAT_BOT_TERMS_ACCEPTED = 'AI_CHAT_BOT_TERMS_ACCEPTED ' ,
263
263
264
264
CAPABILITY_POPOVER_DISPLAYED = 'CAPABILITY_POPOVER_DISPLAYED' ,
265
265
You can’t perform that action at this time.
0 commit comments