From 4ad6c5fd251875ffd410e73118693b6a7dd9e428 Mon Sep 17 00:00:00 2001
From: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com>
Date: Tue, 24 Mar 2026 14:00:35 -0400
Subject: [PATCH] Improve scroll-to-bottom UI and session status handling
- Replace ChevronDown with ArrowDown icon for scroll button
- Adjust scroll threshold to 150px for better UX
- Add prompt overlay height tracking for proper message container padding
- Include compact status in active session check
---
.../src/components/message/PromptInput.tsx | 6 ++---
frontend/src/hooks/useAutoScroll.ts | 13 +++++-----
frontend/src/pages/SessionDetail.tsx | 24 +++++++++++++++++--
3 files changed, 32 insertions(+), 11 deletions(-)
diff --git a/frontend/src/components/message/PromptInput.tsx b/frontend/src/components/message/PromptInput.tsx
index e53f3dae..fb3c5c5b 100644
--- a/frontend/src/components/message/PromptInput.tsx
+++ b/frontend/src/components/message/PromptInput.tsx
@@ -13,7 +13,7 @@ import { useSessionAgentStore } from '@/stores/sessionAgentStore'
import { useMobile } from '@/hooks/useMobile'
import { usePermissions } from '@/contexts/EventContext'
-import { ChevronDown, Upload, X, Mic, MicOff } from 'lucide-react'
+import { ArrowDown, Upload, X, Mic, MicOff } from 'lucide-react'
import { SquareFill } from '@/components/ui/square-fill'
@@ -856,10 +856,10 @@ return (
{showStopButton && (