From 69030eacc38f3825e6860ed8977d4a157bc1933c Mon Sep 17 00:00:00 2001 From: Yaojia Wang Date: Tue, 30 Jun 2026 08:56:23 +0200 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E5=86=99=E4=BD=9C=E5=8F=B0?= =?UTF-8?q?=E6=B5=81=E5=BC=8F/=E4=BF=9D=E5=AD=98=20live=20region=20+=20?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E6=8C=89=E9=92=AE=E6=8D=A2=20lucide=20?= =?UTF-8?q?=E6=97=A0=E9=9A=9C=E7=A2=8D=20+=20=E4=B8=89=E6=A0=8F=E6=94=B9?= =?UTF-8?q?=20xl=20=E6=96=AD=E7=82=B9=20+=20=E6=89=8B=E7=A8=BF=E5=AD=97?= =?UTF-8?q?=E5=8F=B7=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/workbench/ChapterAssistant.tsx | 139 +++++++++--------- apps/web/components/workbench/ChapterList.tsx | 2 +- apps/web/components/workbench/Editor.tsx | 8 +- apps/web/components/workbench/Workbench.tsx | 66 +++++++-- 4 files changed, 137 insertions(+), 78 deletions(-) diff --git a/apps/web/components/workbench/ChapterAssistant.tsx b/apps/web/components/workbench/ChapterAssistant.tsx index 8d7ab12..32f9230 100644 --- a/apps/web/components/workbench/ChapterAssistant.tsx +++ b/apps/web/components/workbench/ChapterAssistant.tsx @@ -1,8 +1,11 @@ "use client"; import Link from "next/link"; -import { RotateCcw, X } from "lucide-react"; +import { Minus, Pin, PinOff, Plus, RotateCcw, Undo2, X } from "lucide-react"; +import { ThinkingIndicator } from "@/components/ThinkingIndicator"; +import { Button } from "@/components/ui/Button"; +import { SectionHeader } from "@/components/ui/SectionHeader"; import { StatusNote } from "@/components/ui/StatusNote"; import { buttonClass } from "@/lib/ui/variants"; import { @@ -27,7 +30,7 @@ interface ChapterAssistantProps { // 桌面 aside 包裹;移动端经 Workbench 抽屉复用 AssistantContent。 export function ChapterAssistant({ projectId, chapterNo }: ChapterAssistantProps) { return ( -