mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 05:42:30 +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'
|
| '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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user