diff --git a/gui/src/components/PageHeader.tsx b/gui/src/components/PageHeader.tsx
index 6a91516af..d37d82e6f 100644
--- a/gui/src/components/PageHeader.tsx
+++ b/gui/src/components/PageHeader.tsx
@@ -1,11 +1,10 @@
import { ArrowLeftIcon } from "@heroicons/react/24/outline";
-import { AccountButton } from "../pages/config/AccountButton";
export interface PageHeaderProps {
onTitleClick?: () => void;
title?: string;
rightContent?: React.ReactNode;
- showBorder?: boolean; // Added this prop
+ showBorder?: boolean;
}
export default function PageHeader({
@@ -34,7 +33,6 @@ export default function PageHeader({
{title}
-
>
)}
diff --git a/gui/src/components/modelSelection/platform/AssistantSelect.tsx b/gui/src/components/modelSelection/platform/AssistantSelect.tsx
index a4dde488d..e64acb8f6 100644
--- a/gui/src/components/modelSelection/platform/AssistantSelect.tsx
+++ b/gui/src/components/modelSelection/platform/AssistantSelect.tsx
@@ -63,7 +63,7 @@ export default function AssistantSelect() {
orgSlug: selectedOrganization?.slug,
});
}}
- className="text-lightgray hover:bg mb-1 mr-3 flex cursor-pointer items-center gap-1"
+ className="text-lightgray hover:bg mb-1 mr-3 flex cursor-pointer items-center gap-1 whitespace-nowrap"
style={{ fontSize: `${getFontSize() - 2}px` }}
>
Create your first assistant
diff --git a/gui/src/pages/More/More.tsx b/gui/src/pages/More/More.tsx
index da4bf89d0..83b54190a 100644
--- a/gui/src/pages/More/More.tsx
+++ b/gui/src/pages/More/More.tsx
@@ -12,6 +12,7 @@ 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 "../config/AccountButton";
import IndexingProgress from "./IndexingProgress";
import KeyboardShortcuts from "./KeyboardShortcuts";
import MoreHelpRow from "./MoreHelpRow";
@@ -26,7 +27,12 @@ function MorePage() {
return (
-
navigate("/")} title="Chat" />
+ navigate("/")}
+ title="Chat"
+ rightContent={}
+ />
diff --git a/gui/src/pages/config/AccountButton.tsx b/gui/src/pages/config/AccountButton.tsx
index fffc67a6b..3fb8427d2 100644
--- a/gui/src/pages/config/AccountButton.tsx
+++ b/gui/src/pages/config/AccountButton.tsx
@@ -16,7 +16,7 @@ export function AccountButton() {
return (
-
+
diff --git a/gui/src/pages/config/index.tsx b/gui/src/pages/config/index.tsx
index 3cf9b84a2..14128ffda 100644
--- a/gui/src/pages/config/index.tsx
+++ b/gui/src/pages/config/index.tsx
@@ -31,6 +31,7 @@ import {
} from "../../redux/slices/configSlice";
import { selectProfileThunk } from "../../redux/thunks/profileAndOrg";
import { getFontSize, isJetBrains } from "../../util";
+import { AccountButton } from "./AccountButton";
import ModelRoleSelector from "./ModelRoleSelector";
import { ScopeSelect } from "./ScopeSelect";
@@ -181,7 +182,12 @@ function ConfigPage() {
return (
-
navigate("/")} title="Chat" />
+ navigate("/")}
+ title="Chat"
+ rightContent={}
+ />
diff --git a/gui/src/pages/history/index.tsx b/gui/src/pages/history/index.tsx
index 024f06886..b55b8ea22 100644
--- a/gui/src/pages/history/index.tsx
+++ b/gui/src/pages/history/index.tsx
@@ -2,13 +2,19 @@ import { useNavigate } from "react-router-dom";
import { History } from "../../components/History";
import PageHeader from "../../components/PageHeader";
import { getFontSize } from "../../util";
+import { AccountButton } from "../config/AccountButton";
export default function HistoryPage() {
const navigate = useNavigate();
return (
-
navigate("/")} title="Chat" />
+ navigate("/")}
+ title="Chat"
+ rightContent={}
+ />
);