From b176599c6414d480bb9b91531b9b0709e473f4f9 Mon Sep 17 00:00:00 2001 From: "DESKTOP-RTLN3BA\\$punk" Date: Tue, 3 Feb 2026 15:01:51 -0800 Subject: [PATCH] chore: linting --- .../[search_space_id]/new-chat/[[...chat_id]]/page.tsx | 2 +- surfsense_web/components/homepage/features-card.tsx | 7 ++++--- surfsense_web/components/homepage/navbar.tsx | 10 ++++++++-- .../components/new-chat/document-mention-picker.tsx | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/surfsense_web/app/dashboard/[search_space_id]/new-chat/[[...chat_id]]/page.tsx b/surfsense_web/app/dashboard/[search_space_id]/new-chat/[[...chat_id]]/page.tsx index 1be292f4d..9b462fcbc 100644 --- a/surfsense_web/app/dashboard/[search_space_id]/new-chat/[[...chat_id]]/page.tsx +++ b/surfsense_web/app/dashboard/[search_space_id]/new-chat/[[...chat_id]]/page.tsx @@ -41,6 +41,7 @@ import { RecallMemoryToolUI, SaveMemoryToolUI } from "@/components/tool-ui/user- import { Skeleton } from "@/components/ui/skeleton"; import { useChatSessionStateSync } from "@/hooks/use-chat-session-state"; import { useMessagesElectric } from "@/hooks/use-messages-electric"; +import { documentsApiService } from "@/lib/apis/documents-api.service"; // import { WriteTodosToolUI } from "@/components/tool-ui/write-todos"; import { getBearerToken } from "@/lib/auth-utils"; import { createAttachmentAdapter, extractAttachmentContent } from "@/lib/chat/attachment-adapter"; @@ -64,7 +65,6 @@ import { trackChatMessageSent, trackChatResponseReceived, } from "@/lib/posthog/events"; -import { documentsApiService } from "@/lib/apis/documents-api.service"; /** * Extract thinking steps from message content diff --git a/surfsense_web/components/homepage/features-card.tsx b/surfsense_web/components/homepage/features-card.tsx index 916c1e871..92e8bb4c3 100644 --- a/surfsense_web/components/homepage/features-card.tsx +++ b/surfsense_web/components/homepage/features-card.tsx @@ -61,7 +61,8 @@ export function FeaturesCards() {

- Choose from 100+ leading LLMs, seamlessly calling any model on demand. Even run on-prem with local LLMs like vLLM and Ollama. + Choose from 100+ leading LLMs, seamlessly calling any model on demand. Even run + on-prem local LLM inference via vLLM, Ollama, llama.cpp, LM Studio, and more.

@@ -74,9 +75,9 @@ export function FeaturesCards() { const CardDecorator = ({ children }: { children: ReactNode }) => (
-
+
{children}
diff --git a/surfsense_web/components/homepage/navbar.tsx b/surfsense_web/components/homepage/navbar.tsx index f0fe6ece6..4abd4031b 100644 --- a/surfsense_web/components/homepage/navbar.tsx +++ b/surfsense_web/components/homepage/navbar.tsx @@ -60,7 +60,10 @@ const DesktopNav = ({ navItems, isScrolled }: any) => { : "bg-transparent border border-transparent" )} > - + SurfSense @@ -138,7 +141,10 @@ const MobileNav = ({ navItems, isScrolled }: any) => { )} >
- + SurfSense diff --git a/surfsense_web/components/new-chat/document-mention-picker.tsx b/surfsense_web/components/new-chat/document-mention-picker.tsx index 8dbd680bc..cd639a95a 100644 --- a/surfsense_web/components/new-chat/document-mention-picker.tsx +++ b/surfsense_web/components/new-chat/document-mention-picker.tsx @@ -10,11 +10,11 @@ import { useRef, useState, } from "react"; +import { Skeleton } from "@/components/ui/skeleton"; import { getConnectorIcon } from "@/contracts/enums/connectorIcons"; import type { Document, SearchDocumentTitlesResponse } from "@/contracts/types/document.types"; import { documentsApiService } from "@/lib/apis/documents-api.service"; import { cn } from "@/lib/utils"; -import { Skeleton } from "@/components/ui/skeleton"; export interface DocumentMentionPickerRef { selectHighlighted: () => void;