diff --git a/surfsense_web/app/dashboard/[workspace_id]/playground/components/output-viewer.tsx b/surfsense_web/app/dashboard/[workspace_id]/playground/components/output-viewer.tsx index e692734d3..72262d440 100644 --- a/surfsense_web/app/dashboard/[workspace_id]/playground/components/output-viewer.tsx +++ b/surfsense_web/app/dashboard/[workspace_id]/playground/components/output-viewer.tsx @@ -3,7 +3,6 @@ import { Check, Copy, Download } from "lucide-react"; import { useMemo, useState } from "react"; import { Button } from "@/components/ui/button"; -import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { Table, TableBody, @@ -12,6 +11,7 @@ import { TableHeader, TableRow, } from "@/components/ui/table"; +import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { downloadCsv, rowsToCsv } from "@/lib/playground/csv"; const MAX_TABLE_ROWS = 200; @@ -117,13 +117,7 @@ export function OutputViewer({ data, filenameBase }: { data: unknown; filenameBa
{items && items.length > 0 && ( - diff --git a/surfsense_web/app/dashboard/[workspace_id]/playground/components/playground-index.tsx b/surfsense_web/app/dashboard/[workspace_id]/playground/components/playground-index.tsx index 58d56e146..732e1105c 100644 --- a/surfsense_web/app/dashboard/[workspace_id]/playground/components/playground-index.tsx +++ b/surfsense_web/app/dashboard/[workspace_id]/playground/components/playground-index.tsx @@ -25,7 +25,8 @@ export function PlaygroundIndex({ workspaceId }: { workspaceId: number }) {

- Manually run SurfSense's platform-native APIs and inspect their output. To use these APIs outside SurfSense,{" "} + Manually run SurfSense's platform-native APIs and inspect their output. To use these + APIs outside SurfSense,{" "} parseJsonl(run?.output_text ?? null), [run?.output_text]); diff --git a/surfsense_web/app/dashboard/[workspace_id]/playground/components/run-progress-panel.tsx b/surfsense_web/app/dashboard/[workspace_id]/playground/components/run-progress-panel.tsx index 33a88ae76..a4e9f0023 100644 --- a/surfsense_web/app/dashboard/[workspace_id]/playground/components/run-progress-panel.tsx +++ b/surfsense_web/app/dashboard/[workspace_id]/playground/components/run-progress-panel.tsx @@ -9,7 +9,9 @@ import { formatDuration } from "@/lib/playground/format"; function eventLabel(event: ScraperRunEvent): string { const base = event.message || - (event.phase ? event.phase.replace(/_/g, " ").replace(/^\w/, (c) => c.toUpperCase()) : "Working"); + (event.phase + ? event.phase.replace(/_/g, " ").replace(/^\w/, (c) => c.toUpperCase()) + : "Working"); if (event.current !== undefined && event.current !== null) { const counter = event.total !== undefined && event.total !== null diff --git a/surfsense_web/app/dashboard/[workspace_id]/playground/components/run-status-badge.tsx b/surfsense_web/app/dashboard/[workspace_id]/playground/components/run-status-badge.tsx index cfc75ca8a..9627fb287 100644 --- a/surfsense_web/app/dashboard/[workspace_id]/playground/components/run-status-badge.tsx +++ b/surfsense_web/app/dashboard/[workspace_id]/playground/components/run-status-badge.tsx @@ -14,7 +14,10 @@ export function RunStatusBadge({ status }: { status: string }) { } if (normalized === "success") { return ( - + Success ); diff --git a/surfsense_web/app/dashboard/[workspace_id]/playground/components/runs-table.tsx b/surfsense_web/app/dashboard/[workspace_id]/playground/components/runs-table.tsx index 6368a1f76..57b7a547c 100644 --- a/surfsense_web/app/dashboard/[workspace_id]/playground/components/runs-table.tsx +++ b/surfsense_web/app/dashboard/[workspace_id]/playground/components/runs-table.tsx @@ -71,7 +71,8 @@ export function RunsTable({ workspaceId }: { workspaceId: number }) { - View all API runs for this workspace, including runs from the playground, API keys, and agents. + View all API runs for this workspace, including runs from the playground, API keys, and + agents. diff --git a/surfsense_web/app/dashboard/[workspace_id]/playground/components/schema-form.tsx b/surfsense_web/app/dashboard/[workspace_id]/playground/components/schema-form.tsx index 36aee26bb..1d7eec8cf 100644 --- a/surfsense_web/app/dashboard/[workspace_id]/playground/components/schema-form.tsx +++ b/surfsense_web/app/dashboard/[workspace_id]/playground/components/schema-form.tsx @@ -43,12 +43,7 @@ function FieldControl({ if (field.kind === "boolean") { return ( - + ); } @@ -141,9 +136,7 @@ function FieldRow({ {field.required ? "required" : "optional"}

- {field.description && ( -

{field.description}

- )} + {field.description &&

{field.description}

} { diff --git a/surfsense_web/components/assistant-ui/thread.tsx b/surfsense_web/components/assistant-ui/thread.tsx index 0cf6ef296..4837c0b99 100644 --- a/surfsense_web/components/assistant-ui/thread.tsx +++ b/surfsense_web/components/assistant-ui/thread.tsx @@ -1018,10 +1018,7 @@ const ConnectedScraperIcons: FC<{ workspaceId: number }> = ({ workspaceId }) => return ( - + diff --git a/surfsense_web/components/homepage/hero-chat-demo.tsx b/surfsense_web/components/homepage/hero-chat-demo.tsx index e617cd51e..a4a5ebc2a 100644 --- a/surfsense_web/components/homepage/hero-chat-demo.tsx +++ b/surfsense_web/components/homepage/hero-chat-demo.tsx @@ -27,7 +27,8 @@ export type HeroChatDemoScript = { type Stage = "typing" | "steps" | "answer" | "done"; -const PLACEHOLDER = "Track competitors, scrape platforms, automate briefs. Use / for prompts, @ for docs"; +const PLACEHOLDER = + "Track competitors, scrape platforms, automate briefs. Use / for prompts, @ for docs"; /** Blinking caret for the typewriter (overlay only, never inside the real input). */ function Caret() { diff --git a/surfsense_web/components/homepage/hero-section.tsx b/surfsense_web/components/homepage/hero-section.tsx index 05db2781f..6e31891bd 100644 --- a/surfsense_web/components/homepage/hero-section.tsx +++ b/surfsense_web/components/homepage/hero-section.tsx @@ -717,10 +717,10 @@ export function HeroSection() { "relative mb-8 max-w-2xl text-left text-sm text-neutral-600 antialiased sm:text-base md:text-lg dark:text-neutral-400" )} > - SurfSense is an open-source competitive intelligence platform, like NotebookLM but with - live scraping connectors. Your AI agents monitor competitors, track rankings, and listen - to your market with live data from platforms like Reddit, YouTube, Instagram, TikTok, - Google Maps, Google Search, and the open web. + SurfSense is an open-source competitive intelligence platform, like NotebookLM but + with live scraping connectors. Your AI agents monitor competitors, track rankings, and + listen to your market with live data from platforms like Reddit, YouTube, Instagram, + TikTok, Google Maps, Google Search, and the open web.

diff --git a/surfsense_web/components/layout/ui/sidebar/NotificationsDropdown.tsx b/surfsense_web/components/layout/ui/sidebar/NotificationsDropdown.tsx index 4fe035ec2..1e9b1a33e 100644 --- a/surfsense_web/components/layout/ui/sidebar/NotificationsDropdown.tsx +++ b/surfsense_web/components/layout/ui/sidebar/NotificationsDropdown.tsx @@ -324,9 +324,7 @@ export function NotificationsDropdown({ )} > {tab.label} - + {formatNotificationCount(tab.count)} diff --git a/surfsense_web/components/settings/auto-reload-settings.tsx b/surfsense_web/components/settings/auto-reload-settings.tsx index ede826dd0..316c5975d 100644 --- a/surfsense_web/components/settings/auto-reload-settings.tsx +++ b/surfsense_web/components/settings/auto-reload-settings.tsx @@ -198,8 +198,8 @@ export function AutoReloadSettings() { Last top-up failed - Your saved card was declined and top-ups were turned off. Update your card and - re-enable top-ups below. + Your saved card was declined and top-ups were turned off. Update your card and re-enable + top-ups below. )} @@ -290,7 +290,11 @@ export function AutoReloadSettings() {
-