diff --git a/web/src/app/chat/ChatPage.tsx b/web/src/app/chat/ChatPage.tsx index 790ef2017e5..4c4291405f9 100644 --- a/web/src/app/chat/ChatPage.tsx +++ b/web/src/app/chat/ChatPage.tsx @@ -2512,7 +2512,7 @@ export function ChatPage({ )} - + - + <> {isRenamingChat ? ( @@ -142,7 +142,11 @@ export function ChatSessionDisplay({ {chatName || `Chat ${chatSession.id}`} )} @@ -176,7 +180,9 @@ export function ChatSessionDisplay({ This chat will expire{" "} {daysUntilExpiration < 1 ? "today" - : `in ${daysUntilExpiration} day${daysUntilExpiration !== 1 ? "s" : ""}`} + : `in ${daysUntilExpiration} day${ + daysUntilExpiration !== 1 ? "s" : "" + }`} } > diff --git a/web/src/app/chat/sessionSidebar/HistorySidebar.tsx b/web/src/app/chat/sessionSidebar/HistorySidebar.tsx index 9e072050b5a..9dad5c05079 100644 --- a/web/src/app/chat/sessionSidebar/HistorySidebar.tsx +++ b/web/src/app/chat/sessionSidebar/HistorySidebar.tsx @@ -94,7 +94,7 @@ export const HistorySidebar = forwardRef( bg-background-sidebar w-full border-r - border-border + border-sidebar-border flex flex-col relative h-screen diff --git a/web/src/app/chat/shared_chat_search/FixedLogo.tsx b/web/src/app/chat/shared_chat_search/FixedLogo.tsx index 2961db9df5b..717b407c8a4 100644 --- a/web/src/app/chat/shared_chat_search/FixedLogo.tsx +++ b/web/src/app/chat/shared_chat_search/FixedLogo.tsx @@ -8,7 +8,7 @@ import Link from "next/link"; import { useContext } from "react"; import { FiSidebar } from "react-icons/fi"; -export default function FixedLogo() { +export default function FixedLogo({ chat }: { chat?: boolean }) { const combinedSettings = useContext(SettingsContext); const settings = combinedSettings?.settings; const enterpriseSettings = combinedSettings?.enterpriseSettings; @@ -28,13 +28,15 @@ export default function FixedLogo() { {enterpriseSettings && enterpriseSettings.application_name ? ( - {enterpriseSettings.application_name} + + {enterpriseSettings.application_name} + {!NEXT_PUBLIC_DO_NOT_USE_TOGGLE_OFF_DANSWER_POWERED && ( Powered by Danswer )} ) : ( - Danswer + Danswer )} diff --git a/web/src/app/chat/shared_chat_search/FunctionalWrapper.tsx b/web/src/app/chat/shared_chat_search/FunctionalWrapper.tsx index 4f8d31d39ee..bfa8ef934f3 100644 --- a/web/src/app/chat/shared_chat_search/FunctionalWrapper.tsx +++ b/web/src/app/chat/shared_chat_search/FunctionalWrapper.tsx @@ -36,7 +36,7 @@ const ToggleSwitch = () => { }; return ( - + {children} diff --git a/web/src/components/header/HeaderTitle.tsx b/web/src/components/header/HeaderTitle.tsx index f63a8769c44..f7c9d21c47d 100644 --- a/web/src/components/header/HeaderTitle.tsx +++ b/web/src/components/header/HeaderTitle.tsx @@ -2,13 +2,21 @@ import React from "react"; -export function HeaderTitle({ children }: { children: JSX.Element | string }) { +export function HeaderTitle({ + children, + chat, +}: { + children: JSX.Element | string; + chat?: boolean; +}) { const isString = typeof children === "string"; const textSize = isString && children.length > 10 ? "text-xl" : "text-2xl"; return ( {children} diff --git a/web/src/components/search/SearchAnswer.tsx b/web/src/components/search/SearchAnswer.tsx index e8645dfcea0..a9fe728b1c2 100644 --- a/web/src/components/search/SearchAnswer.tsx +++ b/web/src/components/search/SearchAnswer.tsx @@ -70,7 +70,11 @@ export default function SearchAnswer({ return ( diff --git a/web/src/components/search/SearchBar.tsx b/web/src/components/search/SearchBar.tsx index df6f45eacdb..30b61b20c7e 100644 --- a/web/src/components/search/SearchBar.tsx +++ b/web/src/components/search/SearchBar.tsx @@ -68,8 +68,8 @@ export const AnimatedToggle = ({ {/* Toggle switch */} {(ccPairs.length > 0 || documentSets.length > 0) && ( diff --git a/web/src/components/search/SearchSection.tsx b/web/src/components/search/SearchSection.tsx index 66b5cb481ed..454f180bf21 100644 --- a/web/src/components/search/SearchSection.tsx +++ b/web/src/components/search/SearchSection.tsx @@ -724,7 +724,9 @@ export const SearchSection = ({ { {!settings?.isMobile && @@ -849,7 +851,7 @@ export const SearchSection = ({ - + > ); };
Powered by Danswer