fix+feat(ux): 已存草稿显示已保存(Q6) + AI 推理动画指示器(A)

- Q6 bug: useAutosave 加 initialSavedText,进页种入已存草稿时初始即「已保存」,修「加载已存草稿却显示尚未保存」的误导。
- A: 新 ThinkingIndicator(三点波动,motion-safe 尊重 reduced-motion)接入审稿进行中/验收中/回炉中三处静态文案,长等待看得见在工作。
This commit is contained in:
Yaojia Wang
2026-06-21 18:05:55 +02:00
parent 10c0d4bead
commit c51623836f
6 changed files with 59 additions and 9 deletions

View File

@@ -3,6 +3,8 @@
import { useRefine } from "@/lib/style/useRefine";
import { useEffect } from "react";
import { ThinkingIndicator } from "@/components/ThinkingIndicator";
interface RefineViewProps {
projectId: string;
chapterNo: number;
@@ -54,8 +56,8 @@ export function RefineView({
{segment.trim().length === 0 ? (
<p className="text-overdue">稿稿</p>
) : refiner.status === "refining" ? (
<p className="text-info" aria-live="polite">
<p className="text-info">
<ThinkingIndicator label="回炉中" />
</p>
) : refiner.status === "error" ? (
<p className="text-conflict"></p>