diff options
| author | Nate Sesti <sestinj@gmail.com> | 2023-08-19 01:00:24 -0700 | 
|---|---|---|
| committer | Nate Sesti <sestinj@gmail.com> | 2023-08-19 01:00:24 -0700 | 
| commit | 17806d932502adbf974ccd93a670e57b78be9a08 (patch) | |
| tree | 233c6cc182a1b1a496db1b491b79de6c2be6e684 /extension/react-app/src/components | |
| parent | 70370bf0d033c2575c84ffe10c9e5c484bbad54f (diff) | |
| download | sncontinue-17806d932502adbf974ccd93a670e57b78be9a08.tar.gz sncontinue-17806d932502adbf974ccd93a670e57b78be9a08.tar.bz2 sncontinue-17806d932502adbf974ccd93a670e57b78be9a08.zip  | |
fix: :bug: make sure server_version.txt exists
Diffstat (limited to 'extension/react-app/src/components')
| -rw-r--r-- | extension/react-app/src/components/Layout.tsx | 25 | 
1 files changed, 25 insertions, 0 deletions
diff --git a/extension/react-app/src/components/Layout.tsx b/extension/react-app/src/components/Layout.tsx index 54a4517f..86192afb 100644 --- a/extension/react-app/src/components/Layout.tsx +++ b/extension/react-app/src/components/Layout.tsx @@ -17,6 +17,7 @@ import {    FolderIcon,    BookOpenIcon,    ChatBubbleOvalLeftEllipsisIcon, +  SparklesIcon,  } from "@heroicons/react/24/outline";  import HeaderButtonWithText from "./HeaderButtonWithText";  import { useNavigate } from "react-router-dom"; @@ -138,6 +139,30 @@ const Layout = () => {            {bottomMessage}          </BottomMessageDiv>          <Footer> +          <SparklesIcon +            visibility={ +              localStorage.getItem("hideFeature") === "true" +                ? "hidden" +                : "visible" +            } +            className="mr-auto cursor-pointer" +            onClick={() => { +              localStorage.setItem("hideFeature", "true"); +            }} +            onMouseEnter={() => { +              dispatch( +                setBottomMessage( +                  "🎁 New Feature: Use ⌘D automatically debug errors in the terminal" +                ) +              ); +            }} +            onMouseLeave={() => { +              dispatch(setBottomMessage(undefined)); +            }} +            width="1.3em" +            height="1.3em" +            color="yellow" +          />            <HeaderButtonWithText              onClick={() => {                client?.loadSession(undefined);  | 
