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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user