feat: FlowPilot message bar + AI Script Builder + Library reorg #118

Merged
chihlasm merged 22 commits from feat/flowpilot-message-bar-and-script-builder into main 2026-03-22 02:07:27 +00:00
Showing only changes of commit 9b87e4dcc8 - Show all commits

View File

@@ -1,5 +1,5 @@
import { useEffect, useRef, useState } from 'react'
import { useParams, useSearchParams, useLocation, useBlocker } from 'react-router-dom'
import { useParams, useSearchParams, useLocation, useBlocker, useNavigate } from 'react-router-dom'
import { Sparkles, Loader2, AlertTriangle } from 'lucide-react'
import { useFlowPilotSession } from '@/hooks/useFlowPilotSession'
import { FlowPilotIntake, FlowPilotSession, SessionBriefing } from '@/components/flowpilot'
@@ -9,6 +9,7 @@ import { toast } from '@/lib/toast'
export default function FlowPilotSessionPage() {
const { sessionId } = useParams<{ sessionId?: string }>()
const [searchParams, setSearchParams] = useSearchParams()
const navigate = useNavigate()
const location = useLocation()
const prefill = (location.state as { prefill?: string } | null)?.prefill || ''
const isPickup = searchParams.get('pickup') === 'true'