From 12fba164aec6795645cb2b1a185e7de0584872ff Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 27 Nov 2024 14:04:44 -0800 Subject: [PATCH] update action buttons --- extensions/vscode/package.json | 2 +- gui/src/components/StepContainer/ResponseActions.tsx | 10 +++++----- gui/src/components/StepContainer/StepContainer.tsx | 6 ++---- 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index a11c441f1..f3bb0896f 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -2,7 +2,7 @@ "name": "continue", "icon": "media/icon.png", "author": "Continue Dev, Inc", - "version": "0.9.236", + "version": "0.9.237", "repository": { "type": "git", "url": "https://github.com/continuedev/continue" diff --git a/gui/src/components/StepContainer/ResponseActions.tsx b/gui/src/components/StepContainer/ResponseActions.tsx index 0aa08ccd6..efe005323 100644 --- a/gui/src/components/StepContainer/ResponseActions.tsx +++ b/gui/src/components/StepContainer/ResponseActions.tsx @@ -1,12 +1,12 @@ import { BarsArrowDownIcon, TrashIcon } from "@heroicons/react/24/outline"; +import { ChatHistoryItem } from "core"; import { stripImages } from "core/llm/images"; -import { CopyIconButton } from "../gui/CopyIconButton"; -import HeaderButtonWithToolTip from "../gui/HeaderButtonWithToolTip"; import { useSelector } from "react-redux"; import { RootState } from "../../redux/store"; -import { ChatHistoryItem } from "core"; -import FeedbackButtons from "./FeedbackButtons"; +import { CopyIconButton } from "../gui/CopyIconButton"; +import HeaderButtonWithToolTip from "../gui/HeaderButtonWithToolTip"; import EditActions from "./EditActions"; +import FeedbackButtons from "./FeedbackButtons"; export interface ResponseActionsProps { isTruncated: boolean; @@ -35,7 +35,7 @@ export default function ResponseActions({ } return ( -
+
{isTruncated && ( {/* We want to occupy space in the DOM regardless of whether the actions are visible to avoid jank on */} -
+
{!shouldHideActions && (