mirror of
https://github.com/supabase/supabase.git
synced 2026-06-20 11:22:25 +08:00
chore: remove event enums (#33730)
* chore: remove event enums * chore: remove more event enums * chore: remove unused HomepageHeroRequestDemoClickedEvent * chore: remove unused HomepageHeroRequestDemoClickedEvent * chore: rename custom_report events to use underscores * chore: remove telemetry enum * chore: remove unused imports * chore: remove enums from merged events * chore: remove unused imports * chore: add typedocs for module and hide exported types that are not events
This commit is contained in:
@@ -2,7 +2,6 @@ import { Edit } from 'lucide-react'
|
||||
import { useRouter } from 'next/router'
|
||||
|
||||
import { useParams } from 'common'
|
||||
import { TelemetryActions } from 'common/telemetry-constants'
|
||||
import { DiffType } from 'components/interfaces/SQLEditor/SQLEditor.types'
|
||||
import useNewQuery from 'components/interfaces/SQLEditor/hooks'
|
||||
import { useSendEventMutation } from 'data/telemetry/send-event-mutation'
|
||||
@@ -93,7 +92,7 @@ export const EditQueryButton = ({
|
||||
handleEditInSQLEditor()
|
||||
}
|
||||
sendEvent({
|
||||
action: TelemetryActions.ASSISTANT_EDIT_IN_SQL_EDITOR_CLICKED,
|
||||
action: 'assistant_edit_in_sql_editor_clicked',
|
||||
properties: {
|
||||
isInSQLEditor,
|
||||
isInNewSnippet,
|
||||
|
||||
Reference in New Issue
Block a user