HelpPanel.constants.ts29 lines · main
| 1 | export type HelpOptionId = |
| 2 | | 'assistant' |
| 3 | | 'docs' |
| 4 | | 'troubleshooting' |
| 5 | | 'discord' |
| 6 | | 'status' |
| 7 | | 'support' |
| 8 | |
| 9 | export const HELP_OPTION_IDS = [ |
| 10 | 'assistant', |
| 11 | 'docs', |
| 12 | 'troubleshooting', |
| 13 | 'discord', |
| 14 | 'status', |
| 15 | 'support', |
| 16 | ] as const satisfies readonly HelpOptionId[] |
| 17 | |
| 18 | export const ASSISTANT_SUGGESTIONS = { |
| 19 | name: 'Support' as const, |
| 20 | initialInput: 'I need help with my project', |
| 21 | suggestions: { |
| 22 | title: 'I can help you with your project, here are some example prompts to get you started:', |
| 23 | prompts: [ |
| 24 | { label: 'Database Health', description: 'Summarise my database health and performance' }, |
| 25 | { label: 'Debug Logs', description: 'View and debug my edge function logs' }, |
| 26 | { label: 'RLS Setup', description: 'Implement row level security for my tables' }, |
| 27 | ], |
| 28 | }, |
| 29 | } |