diff --git a/gui/src/pages/config/HelpCenterSection.tsx b/gui/src/pages/config/HelpCenterSection.tsx
new file mode 100644
index 000000000..6e9433d59
--- /dev/null
+++ b/gui/src/pages/config/HelpCenterSection.tsx
@@ -0,0 +1,80 @@
+import {
+ ArrowTopRightOnSquareIcon,
+ DocumentArrowUpIcon,
+ TableCellsIcon,
+} from "@heroicons/react/24/outline";
+import { useContext } from "react";
+import { useNavigate } from "react-router-dom";
+import { IdeMessengerContext } from "../../context/IdeMessenger";
+import { useAppDispatch } from "../../redux/hooks";
+import { setOnboardingCard } from "../../redux/slices/uiSlice";
+import { saveCurrentSession } from "../../redux/thunks/session";
+import MoreHelpRow from "./MoreHelpRow";
+
+export function HelpCenterSection() {
+ const ideMessenger = useContext(IdeMessengerContext);
+ const navigate = useNavigate();
+ const dispatch = useAppDispatch();
+
+ return (
+
+
Help center
+
+
+ ideMessenger.post("openUrl", "https://docs.continue.dev/")
+ }
+ />
+
+
+ ideMessenger.post(
+ "openUrl",
+ "https://github.com/continuedev/continue/issues/new/choose",
+ )
+ }
+ />
+
+
+ ideMessenger.post("openUrl", "https://discord.gg/vapESyrFmJ")
+ }
+ />
+
+ navigate("/stats")}
+ />
+
+ {
+ navigate("/");
+ // Used to clear the chat panel before showing onboarding card
+ await dispatch(
+ saveCurrentSession({
+ openNewSession: true,
+ generateTitle: true,
+ }),
+ );
+ dispatch(setOnboardingCard({ show: true, activeTab: "Best" }));
+ ideMessenger.post("showTutorial", undefined);
+ }}
+ />
+
+
+ );
+}
diff --git a/gui/src/pages/config/IndexingSettingsSection.tsx b/gui/src/pages/config/IndexingSettingsSection.tsx
new file mode 100644
index 000000000..fcdf300d1
--- /dev/null
+++ b/gui/src/pages/config/IndexingSettingsSection.tsx
@@ -0,0 +1,26 @@
+import { useAppSelector } from "../../redux/hooks";
+import IndexingProgress from "./IndexingProgress";
+
+export function IndexingSettingsSection() {
+ const config = useAppSelector((state) => state.config.config);
+ return (
+
+
+
@codebase index
+
+ Local embeddings of your codebase
+
+
+ {config.disableIndexing ? (
+
+
Indexing is disabled
+
+ Open settings and toggle Disable Indexing to re-enable
+
+
+ ) : (
+
+ )}
+
+ );
+}
diff --git a/gui/src/pages/config/KeyboardShortcuts.tsx b/gui/src/pages/config/KeyboardShortcuts.tsx
index 7c8e3a195..566bbb7bf 100644
--- a/gui/src/pages/config/KeyboardShortcuts.tsx
+++ b/gui/src/pages/config/KeyboardShortcuts.tsx
@@ -4,8 +4,8 @@ import {
lightGray,
vscForeground,
} from "../../components";
-import { getPlatform, isJetBrains } from "../../util";
import { ToolTip } from "../../components/gui/Tooltip";
+import { getPlatform, isJetBrains } from "../../util";
const GridDiv = styled.div`
display: grid;
@@ -201,20 +201,23 @@ const jetbrainsShortcuts: KeyboardShortcutProps[] = [
function KeyboardShortcuts() {
return (
-
- {(isJetBrains() ? jetbrainsShortcuts : vscodeShortcuts).map(
- (shortcut, i) => {
- return (
-
- );
- },
- )}
-
+
+
Keyboard shortcuts
+
+ {(isJetBrains() ? jetbrainsShortcuts : vscodeShortcuts).map(
+ (shortcut, i) => {
+ return (
+
+ );
+ },
+ )}
+
+
);
}
diff --git a/gui/src/pages/config/UserSettingsForm.tsx b/gui/src/pages/config/UserSettingsForm.tsx
index eb35ac8c7..f2555c415 100644
--- a/gui/src/pages/config/UserSettingsForm.tsx
+++ b/gui/src/pages/config/UserSettingsForm.tsx
@@ -101,7 +101,7 @@ export function UserSettingsForm() {
}, [ideMessenger]);
return (
-
+
{!controlServerBetaEnabled || hubEnabled ? (
diff --git a/gui/src/pages/config/index.tsx b/gui/src/pages/config/index.tsx
index b741484f7..f2ed90a48 100644
--- a/gui/src/pages/config/index.tsx
+++ b/gui/src/pages/config/index.tsx
@@ -1,30 +1,16 @@
-import {
- ArrowTopRightOnSquareIcon,
- DocumentArrowUpIcon,
- TableCellsIcon,
-} from "@heroicons/react/24/outline";
-import { useContext } from "react";
import { useNavigate } from "react-router-dom";
import PageHeader from "../../components/PageHeader";
-import { IdeMessengerContext } from "../../context/IdeMessenger";
import { useNavigationListener } from "../../hooks/useNavigationListener";
-import { useAppDispatch, useAppSelector } from "../../redux/hooks";
-import { setOnboardingCard } from "../../redux/slices/uiSlice";
-import { saveCurrentSession } from "../../redux/thunks/session";
import { AccountButton } from "./AccountButton";
-import IndexingProgress from "./IndexingProgress";
+import { HelpCenterSection } from "./HelpCenterSection";
+import { IndexingSettingsSection } from "./IndexingSettingsSection";
import KeyboardShortcuts from "./KeyboardShortcuts";
import MCPServersPreview from "./MCPServersPreview";
-import MoreHelpRow from "./MoreHelpRow";
import { UserSettingsForm } from "./UserSettingsForm";
function ConfigPage() {
useNavigationListener();
- const dispatch = useAppDispatch();
const navigate = useNavigate();
- const ideMessenger = useContext(IdeMessengerContext);
-
- const config = useAppSelector((state) => state.config.config);
return (
@@ -35,99 +21,12 @@ function ConfigPage() {
rightContent={
}
/>
-
-
-
-
-
-
@codebase index
-
- Local embeddings of your codebase
-
-
- {config.disableIndexing ? (
-
-
- Indexing is disabled
-
-
- Open settings and toggle Disable Indexing to
- re-enable
-
-
- ) : (
-
- )}
-
-
-
-
-
-
-
-
Help center
-
-
- ideMessenger.post("openUrl", "https://docs.continue.dev/")
- }
- />
-
-
- ideMessenger.post(
- "openUrl",
- "https://github.com/continuedev/continue/issues/new/choose",
- )
- }
- />
-
-
- ideMessenger.post("openUrl", "https://discord.gg/vapESyrFmJ")
- }
- />
-
- navigate("/stats")}
- />
-
- {
- navigate("/");
- // Used to clear the chat panel before showing onboarding card
- await dispatch(
- saveCurrentSession({
- openNewSession: true,
- generateTitle: true,
- }),
- );
- dispatch(setOnboardingCard({ show: true, activeTab: "Best" }));
- ideMessenger.post("showTutorial", undefined);
- }}
- />
-
-
-
-
-
Keyboard shortcuts
-
-
+
+
+
+
+
+
);