import type { JSX } from 'react'; /** * Loading skeleton for ChatHistory while conversation is loading. * Industrial shimmer with organic line widths — no generic pulse. */ export const ChatHistoryLoadingState = (): JSX.Element => { const rows = [ { user: ['85%', '60%'], ai: ['92%', '70%', '82%', '45%'] }, { user: ['75%', '92%', '40%'], ai: ['88%', '65%', '78%'] }, { user: ['95%', '55%'], ai: ['72%', '85%', '60%', '92%', '35%'] }, ]; return (
{rows.map((row, i) => (
{/* User message skeleton — right aligned */}
{row.user.map((width, j) => (
))}
{/* AI response skeleton — left aligned with border accent */}
{row.ai.map((width, j) => (
))}
))}
); };