diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-08-06 09:28:22 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-08-06 09:28:22 -0700 |
commit | f19345c652cfcf1bdf13d0a44a2f302e0cd1aa4c (patch) | |
tree | 4582964105452768a5346afcd764d26db6091504 /extension/react-app/src/pages/gui.tsx | |
parent | 98de69abbd221d0f6b7257a72b89b191356b10b7 (diff) | |
download | sncontinue-f19345c652cfcf1bdf13d0a44a2f302e0cd1aa4c.tar.gz sncontinue-f19345c652cfcf1bdf13d0a44a2f302e0cd1aa4c.tar.bz2 sncontinue-f19345c652cfcf1bdf13d0a44a2f302e0cd1aa4c.zip |
feat: :construction: Router and new history page
Diffstat (limited to 'extension/react-app/src/pages/gui.tsx')
-rw-r--r-- | extension/react-app/src/pages/gui.tsx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/extension/react-app/src/pages/gui.tsx b/extension/react-app/src/pages/gui.tsx index d69da57e..247789d6 100644 --- a/extension/react-app/src/pages/gui.tsx +++ b/extension/react-app/src/pages/gui.tsx @@ -16,11 +16,12 @@ import { BookOpenIcon, ChatBubbleOvalLeftEllipsisIcon, TrashIcon, + PlusCircleIcon, + FolderIcon, } from "@heroicons/react/24/outline"; import ComboBox from "../components/ComboBox"; import TextDialog from "../components/TextDialog"; import HeaderButtonWithText from "../components/HeaderButtonWithText"; -import ReactSwitch from "react-switch"; import { usePostHog } from "posthog-js/react"; import { useDispatch, useSelector } from "react-redux"; import { RootStore } from "../redux/store"; @@ -589,7 +590,16 @@ If you already have an LLM deployed on your own infrastructure, or would like to }} text="Clear" > - <TrashIcon width="1.4em" height="1.4em" /> + <PlusCircleIcon width="1.4em" height="1.4em" /> + </HeaderButtonWithText> + <HeaderButtonWithText + onClick={() => { + // Go to /history page + document.location.href = "/history"; + }} + text="History" + > + <FolderIcon width="1.4em" height="1.4em" /> </HeaderButtonWithText> <a href="https://continue.dev/docs/how-to-use-continue" |