Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix(sql-editor): rename telemetry action to past tense

Greg Richardson0e55ffab532b
diff --git a/studio/components/interfaces/SQLEditor/SQLEditor.tsx b/studio/components/interfaces/SQLEditor/SQLEditor.tsx
index 2e843c165c8..c2b70306426 100644
--- a/studio/components/interfaces/SQLEditor/SQLEditor.tsx
+++ b/studio/components/interfaces/SQLEditor/SQLEditor.tsx
@@ -304,7 +304,7 @@ const SQLEditor = () => {
Telemetry.sendEvent(
{
category: 'sql_editor',
- action: 'ai_suggestion_accept',
+ action: 'ai_suggestion_accepted',
label: debugSolution ? 'debug_snippet' : 'edit_snippet',
},
telemetryProps,
@@ -327,7 +327,7 @@ const SQLEditor = () => {
Telemetry.sendEvent(
{
category: 'sql_editor',
- action: 'ai_suggestion_reject',
+ action: 'ai_suggestion_rejected',
label: debugSolution ? 'debug_snippet' : 'edit_snippet',
},
telemetryProps,