/** * ClaudeLogsDialog * * Fullscreen-style dialog for viewing Claude logs in a large viewport. * Uses the same ClaudeLogsPanel as the compact sidebar but with more space. * Only one CliLogsRichView is mounted at a time — when this dialog is open, * the compact panel hides its log viewer. */ import React from 'react'; import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@renderer/components/ui/dialog'; import { Terminal } from 'lucide-react'; import { ClaudeLogsPanel } from './ClaudeLogsPanel'; import type { ClaudeLogsController } from './useClaudeLogsController'; // ============================================================================= // Props // ============================================================================= interface ClaudeLogsDialogProps { open: boolean; onOpenChange: (open: boolean) => void; ctrl: ClaudeLogsController; } // ============================================================================= // Component // ============================================================================= export const ClaudeLogsDialog = ({ open, onOpenChange, ctrl, }: ClaudeLogsDialogProps): React.JSX.Element => { return ( Claude logs {ctrl.badge != null && ( ({ctrl.badge}) )} {ctrl.online && ( )}
); };