refactor(studio): 文案“我的笔记/笔记本”统一改为“我的空间”

涉及空间详情页、AI 写作表单/上下文/类型、researcher 注释及 env 注释。

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
xuhdandClaude Opus 4.8 committed 2026-06-11 11:45:35 +08:00
1 parent 5ed636bce4
commit b0e48b6bda
6 files changed
+17 -17

No files matched your search

@@ -83,10 +83,10 @@ function SourceCard({
onToggle(item.id);
}}
className={`group relative flex h-32 w-full flex-col justify-between rounded-2xl p-4 ring-1 transition-colors ${isFailed
? "cursor-default bg-destructive/5 ring-destructive/40"
: selected
? "cursor-pointer bg-primary/10 ring-primary"
: "cursor-pointer bg-muted ring-border/50 hover:bg-muted/70"
? "cursor-default bg-destructive/5 ring-destructive/40"
: selected
? "cursor-pointer bg-primary/10 ring-primary"
: "cursor-pointer bg-muted ring-border/50 hover:bg-muted/70"
}`}
>
{/* 删除按钮 - 右上角始终显示,悬停时高亮 */}
@@ -502,7 +502,7 @@ export default function StudioNotebookDetailPage() {
className="flex items-center gap-1.5 rounded-full bg-muted px-3 py-1 text-xs text-muted-foreground transition-colors hover:bg-muted/70"
>
<BookOpen className="size-3" />
<span>我的笔记</span>
<span>我的空间</span>
</a>
<button
onClick={() => setSourcesOpen(true)}
@@ -526,7 +526,7 @@ export default function StudioNotebookDetailPage() {
className="absolute right-6 top-4 z-10 flex items-center gap-1.5 rounded-full bg-muted/70 px-3 py-1.5 text-xs text-muted-foreground backdrop-blur transition-colors hover:bg-muted"
>
<BookOpen className="size-3.5" />
<span>我的笔记</span>
<span>我的空间</span>
</a>
{/* 垂直居中主区域:图标 → 标题 → 来源 → 输入框 → 空状态/历史 */}