import type {Suggestion} from '@/features/loyaly-ai/types/chat';

/**
 * The empty state's opening moves.
 *
 * Chips, not buttons in a grid: the label is short enough to scan a row of
 * them, and what gets SENT is the fuller question underneath. That split
 * matters — "Compare stores" is a good chip and a poor prompt, and a merchant
 * who sends it should get the same answer as one who typed the long form.
 *
 * Ordered by how often a merchant opens the workspace wanting it. They vanish
 * after the first message; a suggestion rail that persists through a
 * conversation is a toolbar, and this is not a toolbar.
 */
export const SUGGESTIONS: Suggestion[] = [
  {
    id: 'today',
    label: "Today's report",
    prompt: "Give me today's report across all stores.",
  },
  {
    id: 'compare',
    label: 'Compare stores',
    prompt: 'Compare my stores on revenue, footfall and conversion.',
  },
  {
    id: 'sales',
    label: 'Analyze sales',
    prompt: 'Analyze the sales trend over the last 30 days and tell me what changed.',
  },
  {
    id: 'rewards',
    label: 'Reward insights',
    prompt: 'Which rewards are underperforming, and what should I change?',
  },
  {
    id: 'staff',
    label: 'Staff performance',
    prompt: 'How is my staff performing, and where is attendance a problem?',
  },
  {
    id: 'inventory',
    label: 'Inventory health',
    prompt: 'How is my inventory looking — anything running low or sitting dead?',
  },
  {
    id: 'retention',
    label: 'Customer retention',
    prompt: 'How is customer retention trending, and which customers are at risk?',
  },
];
