From 08594672c873af3130362fecad81bf9e311491d0 Mon Sep 17 00:00:00 2001 From: Brent O'Neill Date: Tue, 30 Sep 2025 12:55:32 -0600 Subject: [PATCH 1/9] Settings screen design match spec --- frontend/src/app/settings/page.tsx | 136 +++++++++++++++-------------- 1 file changed, 69 insertions(+), 67 deletions(-) diff --git a/frontend/src/app/settings/page.tsx b/frontend/src/app/settings/page.tsx index cc439f53..d3d06536 100644 --- a/frontend/src/app/settings/page.tsx +++ b/frontend/src/app/settings/page.tsx @@ -35,7 +35,11 @@ import { Textarea } from "@/components/ui/textarea"; import { useAuth } from "@/contexts/auth-context"; import { useTask } from "@/contexts/task-context"; import { useDebounce } from "@/lib/debounce"; -import { DEFAULT_AGENT_SETTINGS, DEFAULT_KNOWLEDGE_SETTINGS, UI_CONSTANTS } from "@/lib/constants"; +import { + DEFAULT_AGENT_SETTINGS, + DEFAULT_KNOWLEDGE_SETTINGS, + UI_CONSTANTS, +} from "@/lib/constants"; import { getFallbackModels, type ModelProvider } from "./helpers/model-helpers"; import { ModelSelectItems } from "./helpers/model-select-item"; import { LabelWrapper } from "@/components/label-wrapper"; @@ -109,7 +113,8 @@ function KnowledgeSourcesPage() { const [chunkOverlap, setChunkOverlap] = useState(50); const [tableStructure, setTableStructure] = useState(false); const [ocr, setOcr] = useState(false); - const [pictureDescriptions, setPictureDescriptions] = useState(false); + const [pictureDescriptions, setPictureDescriptions] = + useState(false); // Fetch settings using React Query const { data: settings = {} } = useGetSettingsQuery({ @@ -603,13 +608,13 @@ function KnowledgeSourcesPage() { {/* Connectors Section */}
-

+

Cloud Connectors

{/* Conditional Sync Settings or No-Auth Message */} - {isNoAuthMode ? ( + {false ? ( @@ -872,32 +877,31 @@ function KnowledgeSourcesPage() {
- -