File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ import {
1313 CronJobHistoryClickedEvent ,
1414 CronJobUpdateClickedEvent ,
1515 CronJobUpdatedEvent ,
16+ FeaturePreviewsClickedEvent ,
17+ FeaturePreviewEnabledEvent ,
18+ FeaturePreviewDisabledEvent ,
1619 TelemetryActions ,
1720} from 'lib/constants/telemetry'
1821import { useRouter } from 'next/router'
@@ -27,6 +30,9 @@ export type SendEventVariables =
2730 | CronJobUpdateClickedEvent
2831 | CronJobDeleteClickedEvent
2932 | CronJobHistoryClickedEvent
33+ | FeaturePreviewsClickedEvent
34+ | FeaturePreviewEnabledEvent
35+ | FeaturePreviewDisabledEvent
3036
3137 // TODO remove this once all events are documented
3238 | {
Original file line number Diff line number Diff line change @@ -173,6 +173,24 @@ export interface FeaturePreviewsClickedEvent {
173173 action : TelemetryActions . FEATURE_PREVIEWS_CLICKED
174174}
175175
176+ /**
177+ * A feature preview was enabled by the user through the FeaturePreviewModal.
178+ *
179+ * The FeaturePreviewModal can be opened clicking at the profile icon at the bottom left corner of the project sidebar.
180+ *
181+ * @group Events
182+ * @source studio
183+ */
184+ export interface FeaturePreviewEnabledEvent {
185+ action : TelemetryActions . FEATURE_PREVIEW_ENABLED
186+ properties : {
187+ /**
188+ * Feature key of the preview that was enabled. e.g. supabase-ui-api-side-panel
189+ */
190+ feature : string
191+ }
192+ }
193+
176194/**
177195 * A feature preview was disabled by the user through the FeaturePreviewModal.
178196 *
You can’t perform that action at this time.
0 commit comments