You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add assistant variation to table quickstart experiment (2.5 of 3) (supabase#39825)
feat: add assistant variation to table quickstart experiment
Adds ASSISTANT variant to table quickstart that opens AI assistant with
pre-populated conversation to guide users through creating their first
database table.
Changes:
- Add QuickstartVariant.ASSISTANT enum value
- Add 'Create with Assistant' card for new projects (<7 days old)
- Implement handleOpenAssistant with proper loading states and error handling
- Add pre-populated messages to guide table creation workflow
The assistant card appears only for users bucketed into the assistant
variation of the tableQuickstart experiment on new projects.
@@ -39,6 +41,12 @@ import { RecentItems } from './RecentItems'
39
41
constNEW_PROJECT_THRESHOLD_DAYS=7
40
42
constTABLE_QUICKSTART_FLAG='tableQuickstart'
41
43
44
+
constASSISTANT_QUICKSTART_MESSAGES={
45
+
user: 'Help me create a new database table for my project',
46
+
assistant:
47
+
"I'll help you create a database table. Please tell me:\n\n1. What does your application do?\n2. What kind of data do you want to store?\n\nI'll suggest a table structure that fits your requirements and help you create it directly in your database.",
0 commit comments