refactor(automations): update icons and button labels in empty state and header components

- Replaced the FileJson icon with SquarePen in both AutomationsEmptyState and AutomationsHeader components.
- Updated button label from "Create via JSON" to "Create manually" for clarity in the automation creation process.
This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-05-28 21:29:24 -07:00
parent d013617bf6
commit 6b76f8c138
2 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
"use client";
import { FileJson, MessageSquarePlus, Workflow } from "lucide-react";
import { MessageSquarePlus, SquarePen, Workflow } from "lucide-react";
import Link from "next/link";
import { Button } from "@/components/ui/button";
@ -35,8 +35,8 @@ export function AutomationsEmptyState({ searchSpaceId, canCreate }: AutomationsE
</Button>
<Button asChild variant="outline">
<Link href={`/dashboard/${searchSpaceId}/automations/new`}>
<FileJson className="mr-2 h-4 w-4" />
Create via JSON
<SquarePen className="mr-2 h-4 w-4" />
Create manually
</Link>
</Button>
</div>

View file

@ -1,5 +1,5 @@
"use client";
import { FileJson, MessageSquarePlus } from "lucide-react";
import { MessageSquarePlus, SquarePen } from "lucide-react";
import Link from "next/link";
import { Button } from "@/components/ui/button";
@ -42,8 +42,8 @@ export function AutomationsHeader({
<div className="flex items-center gap-2">
<Button asChild size="sm" variant="outline">
<Link href={`/dashboard/${searchSpaceId}/automations/new`}>
<FileJson className="mr-2 h-4 w-4" />
Create via JSON
<SquarePen className="mr-2 h-4 w-4" />
Create manually
</Link>
</Button>
<Button asChild size="sm">