mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 20:41:50 +08:00
chore(editor): update page block telemetry (#10487)
Close [BS-2711](https://linear.app/affine-design/issue/BS-2711/page-block埋点更新)
This commit is contained in:
@@ -53,7 +53,12 @@ type DocEvents =
|
||||
| 'editProperty'
|
||||
| 'editPropertyMeta'
|
||||
| 'addProperty';
|
||||
type EditorEvents = 'bold' | 'italic' | 'underline' | 'strikeThrough';
|
||||
type EditorEvents =
|
||||
| 'bold'
|
||||
| 'italic'
|
||||
| 'underline'
|
||||
| 'strikeThrough'
|
||||
| 'foldEdgelessNote';
|
||||
// END SECTION
|
||||
|
||||
// SECTION: setting events
|
||||
@@ -360,7 +365,6 @@ const PageEvents = {
|
||||
'openInPeekView',
|
||||
],
|
||||
aiActions: ['requestSignIn'],
|
||||
pageBlockHeader: ['openDocInfo'],
|
||||
starterBar: ['quickStart', 'openTemplateListMenu'],
|
||||
},
|
||||
inlineDocInfo: {
|
||||
@@ -377,7 +381,16 @@ const PageEvents = {
|
||||
backlinkPreview: ['navigate'],
|
||||
},
|
||||
},
|
||||
edgeless: {},
|
||||
edgeless: {
|
||||
pageBlock: {
|
||||
headerToolbar: [
|
||||
'toggle',
|
||||
'openDocInfo',
|
||||
'copyBlockToLink',
|
||||
'switchPageMode',
|
||||
],
|
||||
},
|
||||
},
|
||||
workspace: {
|
||||
$: {
|
||||
$: ['upgradeWorkspace'],
|
||||
|
||||
Reference in New Issue
Block a user