summaryrefslogtreecommitdiff
path: root/extension/react-app/src/tabs
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-06-15 18:22:35 -0700
committerNate Sesti <sestinj@gmail.com>2023-06-15 18:22:35 -0700
commitb031c4bbaef986a48a66080d6b786f05abc0a793 (patch)
treedced527dca01f2a3a5a95708b864efb77ffc7cec /extension/react-app/src/tabs
parent75d8d9d93f10d81176226697f83472e2cc0fc9be (diff)
downloadsncontinue-b031c4bbaef986a48a66080d6b786f05abc0a793.tar.gz
sncontinue-b031c4bbaef986a48a66080d6b786f05abc0a793.tar.bz2
sncontinue-b031c4bbaef986a48a66080d6b786f05abc0a793.zip
hover icons for description
Diffstat (limited to 'extension/react-app/src/tabs')
-rw-r--r--extension/react-app/src/tabs/gui.tsx21
1 files changed, 9 insertions, 12 deletions
diff --git a/extension/react-app/src/tabs/gui.tsx b/extension/react-app/src/tabs/gui.tsx
index 05795cdf..279d052b 100644
--- a/extension/react-app/src/tabs/gui.tsx
+++ b/extension/react-app/src/tabs/gui.tsx
@@ -14,12 +14,12 @@ import StepContainer from "../components/StepContainer";
import useContinueGUIProtocol from "../hooks/useWebsocket";
import {
BookOpen,
- ChatBubbleOvalLeft,
ChatBubbleOvalLeftEllipsis,
Trash,
} from "@styled-icons/heroicons-outline";
import ComboBox from "../components/ComboBox";
import TextDialog from "../components/TextDialog";
+import HeaderButtonWithText from "../components/HeaderButtonWithText";
const TopGUIDiv = styled.div`
overflow: hidden;
@@ -366,30 +366,27 @@ function GUI(props: GUIProps) {
</TopGUIDiv>
<Footer>
<a href="https://continue.dev/docs" className="no-underline">
- <HeaderButton style={{ padding: "3px" }}>
- Continue Docs
+ <HeaderButtonWithText text="Continue Docs">
<BookOpen size="1.6em" />
- </HeaderButton>
+ </HeaderButtonWithText>
</a>
- <HeaderButton
- style={{ padding: "3px" }}
+ <HeaderButtonWithText
onClick={() => {
// Set dialog open
setShowFeedbackDialog(true);
}}
+ text="Feedback"
>
- Feedback
<ChatBubbleOvalLeftEllipsis size="1.6em" />
- </HeaderButton>
- <HeaderButton
+ </HeaderButtonWithText>
+ <HeaderButtonWithText
onClick={() => {
client?.sendClear();
}}
- style={{ padding: "3px" }}
+ text="Clear History"
>
- Clear History
<Trash size="1.6em" />
- </HeaderButton>
+ </HeaderButtonWithText>
</Footer>
</>
);