diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json index 8cc798c0b..b03131f59 100644 --- a/extensions/vscode/package-lock.json +++ b/extensions/vscode/package-lock.json @@ -160,6 +160,7 @@ "eslint": "^8", "eslint-plugin-import": "^2.29.1", "jest": "^29.7.0", + "myers-diff": "^2.1.0", "onnxruntime-common": "1.14.0", "onnxruntime-web": "1.14.0", "ts-jest": "^29.1.1" diff --git a/gui/package-lock.json b/gui/package-lock.json index 92f1a4d1f..47df1bfbb 100644 --- a/gui/package-lock.json +++ b/gui/package-lock.json @@ -153,6 +153,7 @@ "eslint": "^8", "eslint-plugin-import": "^2.29.1", "jest": "^29.7.0", + "myers-diff": "^2.1.0", "onnxruntime-common": "1.14.0", "onnxruntime-web": "1.14.0", "ts-jest": "^29.1.1" diff --git a/gui/src/pages/help.tsx b/gui/src/pages/help.tsx index 5c01fd30c..cf2093269 100644 --- a/gui/src/pages/help.tsx +++ b/gui/src/pages/help.tsx @@ -12,46 +12,7 @@ import { import KeyboardShortcutsDialog from "../components/dialogs/KeyboardShortcuts"; import { IdeMessengerContext } from "../context/IdeMessenger"; import { useNavigationListener } from "../hooks/useNavigationListener"; - -const ResourcesDiv = styled.div` - margin: 4px; - border-top: 0.5px solid ${lightGray}; - border-bottom: 0.5px solid ${lightGray}; -`; - -const IconDiv = styled.div<{ backgroundColor?: string }>` - display: flex; - align-items: center; - justify-content: center; - cursor: pointer; - - padding: 12px; - - & > a { - color: ${vscForeground}; - text-decoration: none; - display: flex; - align-items: center; - width: 100%; - justify-content: center; - } - - &:hover { - background-color: ${(props) => props.backgroundColor || lightGray}; - } -`; - -const TutorialButton = styled(Button)` - padding: 2px 4px; - margin-left: auto; - margin-right: 12px; - background-color: transparent; - color: ${vscForeground}; - border: 1px solid ${lightGray}; - &:hover { - background-color: ${lightGray}; - } -`; +import { SecondaryButton } from "../components"; function HelpPage() { useNavigationListener(); @@ -74,93 +35,117 @@ function HelpPage() { className="inline-block ml-4 cursor-pointer" />
+ Visit the documentation site to learn how to configure and use + Continue. +
++ Open the tutorial to get a quick walkthrough of the most commonly + used features in Continue. +
++ See how many tokens you're using each day and how they're + distributed across your models. +
+Let us know on GitHub and we'll do our best to resolve it.
++ Join us on Discord to stay up-to-date on the latest developments +
+