From b58af57c5c8acc5c0d60e56332fae7bc36360e99 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Thu, 26 Mar 2026 18:01:20 -0700 Subject: [PATCH] update deprecation banner: info style, scrollable on chat, shown in settings content area - Change alert from warning (yellow) to info (blue) styling - Move banner inside chat scroll container so it scrolls away - Render banner in settings page content area (not above sidebar) - Make banner dismissable on all pages - Update text to "v2.0.0", buttons side-by-side with primary export button - Add "Learn more" secondary button Co-Authored-By: Claude Opus 4.6 (1M context) --- gui/src/components/DeprecationBanner.tsx | 41 ++++++++++++++---------- gui/src/components/Layout.tsx | 3 -- gui/src/pages/config/index.tsx | 2 ++ gui/src/pages/gui/Chat.tsx | 2 ++ 4 files changed, 28 insertions(+), 20 deletions(-) diff --git a/gui/src/components/DeprecationBanner.tsx b/gui/src/components/DeprecationBanner.tsx index f7836f863..9586d2080 100644 --- a/gui/src/components/DeprecationBanner.tsx +++ b/gui/src/components/DeprecationBanner.tsx @@ -1,5 +1,6 @@ import { XMarkIcon } from "@heroicons/react/24/outline"; import { useContext, useState } from "react"; +import { vscButtonBackground, vscButtonForeground } from "."; import { IdeMessengerContext } from "../context/IdeMessenger"; import { varWithFallback } from "../styles/theme"; import { getLocalStorage, setLocalStorage } from "../util/localStorage"; @@ -34,11 +35,11 @@ export function DeprecationBanner({ }; return ( -
+
{dismissable && ( @@ -49,22 +50,28 @@ export function DeprecationBanner({ )} -
+

- Configuration management in Continue is moving local.{" "} - ideMessenger.post("openUrl", REPO_URL)} - className="cursor-pointer underline hover:brightness-125" - > - Learn more here - + Extension configuration is local only as of v2.0.0

- +
+ + +
diff --git a/gui/src/components/Layout.tsx b/gui/src/components/Layout.tsx index e26d87490..7e2788a22 100644 --- a/gui/src/components/Layout.tsx +++ b/gui/src/components/Layout.tsx @@ -15,7 +15,6 @@ import { saveCurrentSession } from "../redux/thunks/session"; import { fontSize, isMetaEquivalentKeyPressed } from "../util"; import { ROUTES } from "../util/navigation"; import { FatalErrorIndicator } from "./config/FatalErrorNotice"; -import { DeprecationBanner } from "./DeprecationBanner"; import TextDialog from "./dialogs"; import { GenerateRuleDialog } from "./GenerateRuleDialog"; import { useMainEditor } from "./mainInput/TipTapEditor"; @@ -229,8 +228,6 @@ const Layout = () => { message={dialogMessage} /> - - {/* The fatal error for chat is shown below input */} diff --git a/gui/src/pages/config/index.tsx b/gui/src/pages/config/index.tsx index b5cd5cb96..e131ba710 100644 --- a/gui/src/pages/config/index.tsx +++ b/gui/src/pages/config/index.tsx @@ -6,6 +6,7 @@ import { TabGroup } from "../../components/ui/TabGroup"; import { useNavigationListener } from "../../hooks/useNavigationListener"; import { bottomTabSections, getAllTabs, topTabSections } from "./configTabs"; import { CliInstallBanner } from "../../components/CliInstallBanner"; +import { DeprecationBanner } from "../../components/DeprecationBanner"; import { AccountDropdown } from "./features/account/AccountDropdown"; function ConfigPage() { @@ -79,6 +80,7 @@ function ConfigPage() { {/* Tab Content for larger screens (md and above) */}
+
{allTabs.find((tab) => tab.id === activeTab)?.component}
diff --git a/gui/src/pages/gui/Chat.tsx b/gui/src/pages/gui/Chat.tsx index 9d610bfd9..b4331ae54 100644 --- a/gui/src/pages/gui/Chat.tsx +++ b/gui/src/pages/gui/Chat.tsx @@ -47,6 +47,7 @@ import { useStore } from "react-redux"; import { CliInstallBanner } from "../../components/CliInstallBanner"; import FeedbackDialog from "../../components/dialogs/FeedbackDialog"; +import { DeprecationBanner } from "../../components/DeprecationBanner"; import { FatalErrorIndicator } from "../../components/config/FatalErrorNotice"; import InlineErrorMessage from "../../components/mainInput/InlineErrorMessage"; import { resolveEditorContent } from "../../components/mainInput/TipTapEditor/utils/resolveEditorContent"; @@ -391,6 +392,7 @@ export function Chat() { ref={stepsDivRef} className={`overflow-y-scroll pt-[8px] ${showScrollbar ? "thin-scrollbar" : "no-scrollbar"} ${history.length > 0 ? "flex-1" : ""}`} > + {highlights} {history .filter((item) => item.message.role !== "system")