mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 00:11:33 +03:00
feat: add block action bar control for event tracker (#7210)
This commit is contained in:
parent
729631ea72
commit
22ec26440b
@ -29,6 +29,7 @@ type AIActionEventProperties = {
|
||||
| 'stop button'
|
||||
| 'format toolbar'
|
||||
| 'AI chat send button'
|
||||
| 'Block action bar'
|
||||
| 'paywall'
|
||||
| 'policy wall'
|
||||
| 'server error'
|
||||
@ -187,6 +188,8 @@ function inferControl(
|
||||
return 'login required';
|
||||
} else if (event.options.control === 'chat-send') {
|
||||
return 'AI chat send button';
|
||||
} else if (event.options.control === 'block-action-bar') {
|
||||
return 'Block action bar';
|
||||
} else if (event.event === 'result:add-note') {
|
||||
return 'add note';
|
||||
} else if (event.event === 'result:add-page') {
|
||||
|
Loading…
Reference in New Issue
Block a user