From 4004e9efed1c5b69417ce3cf0c8e936e8fbfa342 Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Sat, 12 Apr 2025 21:29:17 -0700 Subject: [PATCH] Revert "ENG-377 Changing Checkpoint UI to take less real space on the chat interface (#2752)" This reverts commit 2ef4e56bcadfc05b4a337d3eec80f7580df943d8. --- .../src/components/chat/BrowserSessionRow.tsx | 1 + webview-ui/src/components/chat/ChatRow.tsx | 48 ++++++++----------- .../components/common/CheckmarkControl.tsx | 11 +---- webview-ui/src/hooks/useChatRowStyles.ts | 40 ---------------- 4 files changed, 23 insertions(+), 77 deletions(-) delete mode 100644 webview-ui/src/hooks/useChatRowStyles.ts diff --git a/webview-ui/src/components/chat/BrowserSessionRow.tsx b/webview-ui/src/components/chat/BrowserSessionRow.tsx index 687d4c73..09f62aed 100644 --- a/webview-ui/src/components/chat/BrowserSessionRow.tsx +++ b/webview-ui/src/components/chat/BrowserSessionRow.tsx @@ -281,6 +281,7 @@ const BrowserSessionRow = memo((props: BrowserSessionRowProps) => { consoleLogs: currentPage?.currentState.consoleLogs, screenshot: currentPage?.currentState.screenshot, } + const [actionContent, { height: actionHeight }] = useSize(