Enhance AssistantPage with new buttons and icon updates

Added new buttons for debugging and saving functionality, incorporating icons for better visual representation. Updated existing buttons to include icons, improving the overall user interface and interaction experience on the AssistantPage.
This commit is contained in:
Xin Wang
2026-06-07 09:21:20 +08:00
parent 02adf8991c
commit d090b49001

View File

@@ -11,13 +11,14 @@ import {
MoreHorizontal,
Pencil,
Plus,
Rocket,
Search,
Sparkles,
Trash2,
Workflow,
ChevronLeft,
ChevronRight,
Bug,
Save,
} from "lucide-react";
import { Button } from "@/components/ui/button";
@@ -479,9 +480,10 @@ export function AssistantPage() {
<Button
variant="outline"
size="lg"
className="shrink-0 border-hairline-strong text-muted-foreground hover:text-foreground"
className="shrink-0 gap-2 border-hairline-strong text-muted-foreground hover:text-foreground"
onClick={() => setView("list")}
>
<ChevronLeft size={16} />
</Button>
</div>
@@ -602,9 +604,10 @@ export function AssistantPage() {
<Button
variant="outline"
size="lg"
className="shrink-0 border-hairline-strong text-muted-foreground hover:text-foreground"
className="shrink-0 gap-2 border-hairline-strong text-muted-foreground hover:text-foreground"
onClick={() => setView("list")}
>
<ChevronLeft size={16} />
</Button>
</div>
@@ -662,11 +665,22 @@ export function AssistantPage() {
className="gap-2 border-hairline-strong text-muted-foreground hover:text-foreground"
onClick={() => setView("list")}
>
<ChevronLeft size={16} />
</Button>
<Button
variant="outline"
size="lg"
className="gap-2 border-hairline-strong text-muted-foreground hover:text-foreground"
>
<Bug size={16} />
</Button>
<Button size="lg" className="gap-2">
<Rocket size={16} />
<Save size={16} />
</Button>
</div>
</div>