From 16404cb9d004b53ed6fe64ddc7c9d1a59290e87b Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Wed, 15 Jul 2026 01:57:57 +0530 Subject: [PATCH] feat(web): add amazon platform to playground catalog --- surfsense_web/lib/playground/catalog.ts | 7 +++++++ surfsense_web/lib/playground/platform-icons.tsx | 1 + 2 files changed, 8 insertions(+) diff --git a/surfsense_web/lib/playground/catalog.ts b/surfsense_web/lib/playground/catalog.ts index 456e52008..d1c1af5cb 100644 --- a/surfsense_web/lib/playground/catalog.ts +++ b/surfsense_web/lib/playground/catalog.ts @@ -1,5 +1,6 @@ import type { ComponentType } from "react"; import { + AmazonIcon, GoogleMapsIcon, GoogleSearchIcon, InstagramIcon, @@ -89,6 +90,12 @@ export const PLAYGROUND_PLATFORMS: PlaygroundPlatform[] = [ icon: GoogleSearchIcon, verbs: [{ name: "google_search.scrape", verb: "scrape", label: "Scrape" }], }, + { + id: "amazon", + label: "Amazon", + icon: AmazonIcon, + verbs: [{ name: "amazon.scrape", verb: "scrape", label: "Scrape" }], + }, { id: "web", label: "Web", diff --git a/surfsense_web/lib/playground/platform-icons.tsx b/surfsense_web/lib/playground/platform-icons.tsx index c1f61978b..dfa1a828d 100644 --- a/surfsense_web/lib/playground/platform-icons.tsx +++ b/surfsense_web/lib/playground/platform-icons.tsx @@ -22,6 +22,7 @@ function brandIcon(src: string, alt: string) { }; } +export const AmazonIcon = brandIcon("/connectors/amazon.svg", "Amazon"); export const RedditIcon = brandIcon("/connectors/reddit.svg", "Reddit"); export const YouTubeIcon = brandIcon("/connectors/youtube.svg", "YouTube"); export const InstagramIcon = brandIcon("/connectors/instagram.svg", "Instagram");