From 7493ba93241a2d526f3bd8e42954b01c3879c189 Mon Sep 17 00:00:00 2001
From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com>
Date: Sat, 13 Jun 2026 03:34:13 +0530
Subject: [PATCH] refactor(icons): replace Clock3 icon with AlarmClock for
automations
---
.../automations/components/automations-empty-state.tsx | 4 ++--
.../automations/components/automations-table.tsx | 4 ++--
.../components/layout/providers/LayoutDataProvider.tsx | 4 ++--
surfsense_web/components/new-chat/chat-example-prompts.tsx | 4 ++--
.../components/tool-ui/automation/create-automation.tsx | 6 +++---
surfsense_web/contracts/enums/toolIcons.tsx | 4 ++--
6 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/surfsense_web/app/dashboard/[search_space_id]/automations/components/automations-empty-state.tsx b/surfsense_web/app/dashboard/[search_space_id]/automations/components/automations-empty-state.tsx
index 70d9990f8..1ee71c636 100644
--- a/surfsense_web/app/dashboard/[search_space_id]/automations/components/automations-empty-state.tsx
+++ b/surfsense_web/app/dashboard/[search_space_id]/automations/components/automations-empty-state.tsx
@@ -1,5 +1,5 @@
"use client";
-import { Clock3 } from "lucide-react";
+import { AlarmClock } from "lucide-react";
import Link from "next/link";
import { Button } from "@/components/ui/button";
@@ -18,7 +18,7 @@ export function AutomationsEmptyState({ searchSpaceId, canCreate }: AutomationsE
return (
No automations yet
diff --git a/surfsense_web/app/dashboard/[search_space_id]/automations/components/automations-table.tsx b/surfsense_web/app/dashboard/[search_space_id]/automations/components/automations-table.tsx
index 727636b43..9ca510d44 100644
--- a/surfsense_web/app/dashboard/[search_space_id]/automations/components/automations-table.tsx
+++ b/surfsense_web/app/dashboard/[search_space_id]/automations/components/automations-table.tsx
@@ -1,5 +1,5 @@
"use client";
-import { CalendarDays, Clock3, Info } from "lucide-react";
+import { CalendarDays, AlarmClock, Info } from "lucide-react";
import { Table, TableBody, TableHead, TableHeader, TableRow } from "@/components/ui/table";
import type { AutomationSummary } from "@/contracts/types/automation.types";
import { AutomationRow } from "./automation-row";
@@ -31,7 +31,7 @@ export function AutomationsTable({
-
+
Name
diff --git a/surfsense_web/components/layout/providers/LayoutDataProvider.tsx b/surfsense_web/components/layout/providers/LayoutDataProvider.tsx
index 5c62f6a7d..d2754594a 100644
--- a/surfsense_web/components/layout/providers/LayoutDataProvider.tsx
+++ b/surfsense_web/components/layout/providers/LayoutDataProvider.tsx
@@ -2,7 +2,7 @@
import { useQuery } from "@tanstack/react-query";
import { useAtom, useAtomValue, useSetAtom } from "jotai";
-import { AlertTriangle, Clock3, Inbox, LibraryBig } from "lucide-react";
+import { AlertTriangle, AlarmClock, Inbox, LibraryBig } from "lucide-react";
import { useParams, usePathname, useRouter } from "next/navigation";
import { useTranslations } from "next-intl";
import { useTheme } from "next-themes";
@@ -342,7 +342,7 @@ export function LayoutDataProvider({ searchSpaceId, children }: LayoutDataProvid
{
title: "Automations",
url: `/dashboard/${searchSpaceId}/automations`,
- icon: Clock3,
+ icon: AlarmClock,
isActive: isAutomationsActive,
},
isMobile
diff --git a/surfsense_web/components/new-chat/chat-example-prompts.tsx b/surfsense_web/components/new-chat/chat-example-prompts.tsx
index 4fdc32a92..28fa79c9d 100644
--- a/surfsense_web/components/new-chat/chat-example-prompts.tsx
+++ b/surfsense_web/components/new-chat/chat-example-prompts.tsx
@@ -1,7 +1,7 @@
"use client";
import {
- Clock3,
+ AlarmClock,
FilePlus2,
Search,
Settings2,
@@ -22,7 +22,7 @@ interface ChatExamplePromptsProps {
const CATEGORY_ICONS: Record = {
search: Search,
create: FilePlus2,
- automate: Clock3,
+ automate: AlarmClock,
tools: Settings2,
};
diff --git a/surfsense_web/components/tool-ui/automation/create-automation.tsx b/surfsense_web/components/tool-ui/automation/create-automation.tsx
index 644ccd822..5cffdeb6c 100644
--- a/surfsense_web/components/tool-ui/automation/create-automation.tsx
+++ b/surfsense_web/components/tool-ui/automation/create-automation.tsx
@@ -2,7 +2,7 @@
import type { ToolCallMessagePartProps } from "@assistant-ui/react";
import { useAtomValue } from "jotai";
-import { AlertCircle, Clock3, CornerDownLeftIcon, ExternalLink, Pencil } from "lucide-react";
+import { AlertCircle, AlarmClock, CornerDownLeftIcon, ExternalLink, Pencil } from "lucide-react";
import Link from "next/link";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import {
@@ -211,7 +211,7 @@ function ApprovalCard({ args, interruptData, onDecision }: ApprovalCardProps) {
-
+
{phase === "rejected"
@@ -404,7 +404,7 @@ function SavedCard({ result }: { result: SavedResult }) {
return (
-
+
Automation saved
{result.name}
diff --git a/surfsense_web/contracts/enums/toolIcons.tsx b/surfsense_web/contracts/enums/toolIcons.tsx
index 496c26577..98f72796d 100644
--- a/surfsense_web/contracts/enums/toolIcons.tsx
+++ b/surfsense_web/contracts/enums/toolIcons.tsx
@@ -1,7 +1,7 @@
import {
Brain,
Calendar,
- Clock3,
+ AlarmClock,
FileEdit,
FilePlus,
FileText,
@@ -47,7 +47,7 @@ const TOOL_ICONS: Record
= {
scrape_webpage: ScanLine,
web_search: Globe,
// Automations
- create_automation: Clock3,
+ create_automation: AlarmClock,
// Memory
update_memory: Brain,
// Filesystem (built-in deepagent + middleware)