HelpPanel.constants.ts 809 B

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