import { mdiCheckCircleOutline, mdiCloudUploadOutline, mdiContentCopy, mdiFileDocumentEditOutline, mdiLightbulbOnOutline, mdiMicrophoneOutline, mdiSendOutline, } from '@mdi/js'; import axios from 'axios'; import Head from 'next/head'; import React from 'react'; import type { ReactElement } from 'react'; import BaseButton from '../components/BaseButton'; import BaseIcon from '../components/BaseIcon'; import SectionMain from '../components/SectionMain'; import { getPageTitle } from '../config'; import LayoutAuthenticated from '../layouts/Authenticated'; type Client = { id: string; name: string; }; type MemoryDraft = { title?: string; ai_summary?: string; key_topics?: string; goals_discussed?: string; blockers?: string; commitments?: string; homework?: string; emotional_themes?: string; important_quotes?: string; follow_up_email?: string; next_session_prep?: string; private_coach_notes?: string; shared_client_notes?: string; }; type Session = MemoryDraft & { id: string; status?: string; client?: Client; }; function Panel({ children, className = '', }: { children: React.ReactNode; className?: string; }) { return (
{children}
); } function TextField({ label, value, onChange, rows = 3, }: { label: string; value: string; onChange: (value: string) => void; rows?: number; }) { return (