mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
* Add event tracking for table quickstart experiment Implements telemetry instrumentation for the table quickstart experiment to measure exposure and engagement across AI, Templates, and Assistant variations. Events added: - table_quickstart_viewed: Exposure tracking for variant assignment - table_quickstart_ai_prompt_submitted: AI prompt submissions - table_quickstart_ai_generation_completed: AI generation success/failure - table_quickstart_template_selected: Template selection (unified for AI and templates) - table_quickstart_quick_idea_clicked: Quick idea button clicks - table_quickstart_category_selected: Template category navigation - table_quickstart_assistant_opened: Assistant chat creation All events use type-safe useTrack() hook with automatic project/org context. Conversion tracking intentionally omitted - relying on joins with existing table_created events for post-analysis. * event name cleanup * Address code review feedback - Use nullish coalescing operator (??) instead of logical OR (||) for categoryName fallback - Refactor handleGenerateTables to accept object parameter for improved call site readability * prettier * action key name alignment with event name