mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 18:41:52 +08:00
chore(editor): add telemetry track to display mode of note (#10192)
Close [BS-2468](https://linear.app/affine-design/issue/BS-2468/analytics-for-page-block-polish)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import type { TelemetryEvent } from './types.js';
|
||||
|
||||
export type NoteEventType = 'NoteDisplayModeChanged';
|
||||
|
||||
export type NoteEvents = {
|
||||
NoteDisplayModeChanged: TelemetryEvent & {
|
||||
control: 'display mode';
|
||||
type: 'note';
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user