From 1f4a8a638998f3feed3274356212d07e34f19051 Mon Sep 17 00:00:00 2001 From: chihlasm Date: Thu, 19 Mar 2026 20:19:52 +0000 Subject: [PATCH] fix(responsive): audit and fix FlowPilot + analytics components for mobile/tablet Add responsive Tailwind classes across 11 FlowPilot-related components: - FlowPilotSession: collapsible mobile sidebar summary, responsive padding - FlowPilotActionBar: stacked buttons on mobile, responsive resolve modal - FlowPilotIntake: responsive submit area, padding, heading sizes - FlowPilotStepCard: responsive padding (p-3/p-4/p-5), stacked action buttons - FlowPilotOptions: responsive padding, 44px touch targets - SessionDocView: responsive card padding, touch-friendly star ratings - EscalateModal: stacked buttons on mobile with min touch targets - EscalationQueue: responsive card padding, touch targets - InSessionScriptGenerator: responsive padding, stacked continue buttons - ReviewQueuePage: responsive two-panel layout (stacked on mobile) - FlowPilotAnalyticsPage: responsive header, chart card padding Co-Authored-By: Claude Opus 4.6 (1M context) --- .../components/flowpilot/EscalateModal.tsx | 6 +- .../components/flowpilot/EscalationQueue.tsx | 4 +- .../flowpilot/FlowPilotActionBar.tsx | 48 ++++++------- .../components/flowpilot/FlowPilotIntake.tsx | 20 ++++-- .../components/flowpilot/FlowPilotOptions.tsx | 2 +- .../components/flowpilot/FlowPilotSession.tsx | 69 +++++++++++++++++-- .../flowpilot/FlowPilotStepCard.tsx | 18 ++--- .../flowpilot/InSessionScriptGenerator.tsx | 10 +-- .../components/flowpilot/SessionDocView.tsx | 14 ++-- frontend/src/pages/FlowPilotAnalyticsPage.tsx | 16 ++--- frontend/src/pages/ReviewQueuePage.tsx | 12 ++-- 11 files changed, 143 insertions(+), 76 deletions(-) diff --git a/frontend/src/components/flowpilot/EscalateModal.tsx b/frontend/src/components/flowpilot/EscalateModal.tsx index 9346fcab..8b26e7a1 100644 --- a/frontend/src/components/flowpilot/EscalateModal.tsx +++ b/frontend/src/components/flowpilot/EscalateModal.tsx @@ -55,18 +55,18 @@ export function EscalateModal({ open, onClose, onEscalate, isProcessing, hasPsaT

-
+
{sessions.map((session) => ( -
+

{session.problem_summary || 'Untitled session'} @@ -129,7 +129,7 @@ export function EscalationQueue({ onPickup }: EscalationQueueProps) { diff --git a/frontend/src/components/flowpilot/FlowPilotActionBar.tsx b/frontend/src/components/flowpilot/FlowPilotActionBar.tsx index f58cf6c2..5b9933a3 100644 --- a/frontend/src/components/flowpilot/FlowPilotActionBar.tsx +++ b/frontend/src/components/flowpilot/FlowPilotActionBar.tsx @@ -53,30 +53,32 @@ export function FlowPilotActionBar({ <> {/* Bottom bar */}

- - +
+ + +
{onPause && (