feat: add block action bar control for event tracker (#7210)

This commit is contained in:
donteatfriedrice 2024-06-14 03:09:07 +00:00
parent 729631ea72
commit 22ec26440b
No known key found for this signature in database
GPG Key ID: 710A67A6AC71FD16

View File

@ -29,6 +29,7 @@ type AIActionEventProperties = {
| 'stop button' | 'stop button'
| 'format toolbar' | 'format toolbar'
| 'AI chat send button' | 'AI chat send button'
| 'Block action bar'
| 'paywall' | 'paywall'
| 'policy wall' | 'policy wall'
| 'server error' | 'server error'
@ -187,6 +188,8 @@ function inferControl(
return 'login required'; return 'login required';
} else if (event.options.control === 'chat-send') { } else if (event.options.control === 'chat-send') {
return 'AI chat send button'; return 'AI chat send button';
} else if (event.options.control === 'block-action-bar') {
return 'Block action bar';
} else if (event.event === 'result:add-note') { } else if (event.event === 'result:add-note') {
return 'add note'; return 'add note';
} else if (event.event === 'result:add-page') { } else if (event.event === 'result:add-page') {