Hiyve Components - v1.0.0
    Preparing search index...
    • QASession - Complete Q&A session management component

      Wraps QAPanel with session management including:

      • Empty state with file list of saved sessions
      • Session header with close button
      • Automatic file loading from S3
      • Auto-save integration

      This is the recommended component for sidebar integration as it handles all session lifecycle management internally.

      Parameters

      Returns Element

      // In Sidebar.tsx
      case 'qa':
      return <QASession />;

      // With customization
      <QASession
      labels={{
      emptyState: { message: 'Ask your questions here' },
      }}
      qaPanelProps={{
      allowAnonymous: true,
      colors: { upvoteActive: '#ff9800' },
      }}
      />