mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat: add block action bar control for event tracker (#7210)
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user