From 7ec33171c7e2dfab98aadca22c48d6763274d086 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Wed, 8 Jul 2026 01:17:09 +0530 Subject: [PATCH] feat(playground): enhance API Playground with alert component and updated Reddit SVG --- .../components/playground-index.tsx | 24 +++++--- surfsense_web/public/connectors/reddit.svg | 58 ++++++++++++++++++- 2 files changed, 74 insertions(+), 8 deletions(-) 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 c634dbc6d..17f0591c8 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 @@ -1,8 +1,9 @@ "use client"; -import { ArrowRight, History } from "lucide-react"; +import { ArrowRight, History, Info } from "lucide-react"; import Link from "next/link"; import { useMemo } from "react"; +import { Alert, AlertDescription } from "@/components/ui/alert"; import { useScraperCapabilities } from "@/hooks/use-scraper-capabilities"; import { PLAYGROUND_PLATFORMS } from "@/lib/playground/catalog"; import { formatPricing } from "@/lib/playground/format"; @@ -20,12 +21,21 @@ export function PlaygroundIndex({ workspaceId }: { workspaceId: number }) { return (
- Manually run SurfSense's platform-native APIs and inspect their output. -
-+ Manually run SurfSense's platform-native APIs and inspect their output. To use these APIs outside SurfSense,{" "} + + create an API key + + . +
+