文案:文件管理标记文件缺失与运行状态同一说法;格式化改动过的文件

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-10-07 01:50:58 +08:00
1 parent 4b67d304f0
commit 217d117778
7 files changed
+14 -16

No files matched your search

@@ -101,9 +101,7 @@ export function IdentityDialog({
<DialogContent className="max-h-[90vh] overflow-y-auto">
<DialogHeader>
<DialogTitle>修改外部身份</DialogTitle>
<DialogDescription>
旧的 TMDB 身份停用,修订记录保留。加人工锁后,自动匹配和刷新不会再改。
</DialogDescription>
<DialogDescription>旧的 TMDB 身份停用,修订记录保留。加人工锁后,自动匹配和刷新不会再改。</DialogDescription>
</DialogHeader>
<form onSubmit={submit} className="grid gap-3">
{usable.length ? (
@@ -149,8 +149,7 @@ export function EnrichSection({ item }: { item: IdentityPoolItem }) {
>
{!out ? (
<p className="text-caption text-muted-foreground">
TMDB
查不到时,按标题搜索网页,从平台和百科页面抽取字段,附出处和置信度。确认后才建作品。
TMDB 查不到时,按标题搜索网页,从平台和百科页面抽取字段,附出处和置信度。确认后才建作品。
</p>
) : (
<div className="space-y-3">
@@ -307,8 +307,7 @@ function PolicyGroup({
</Button>
) : (
<Button variant="outline" size="sm" onClick={() => onDraftFrom(head)}>
<FilePlus2 />
从 r{head.revision} 新建草案
<FilePlus2 />从 r{head.revision} 新建草案
</Button>
)
}
@@ -537,9 +536,7 @@ const scopeText = (scope: JsonObject) => {
function PreviewBlock({ value }: { value: JsonObject | null }) {
if (!value)
return (
<p className="text-caption text-muted-foreground">
还没有预览。预览用最近识别的资源试算模板,不会下载或整理。
</p>
<p className="text-caption text-muted-foreground">还没有预览。预览用最近识别的资源试算模板,不会下载或整理。</p>
);
const p = PolicyPreview.safeParse(value);
if (!p.success) return <JsonView value={value} />;
@@ -180,7 +180,9 @@ function SlotEditorSheet({
width="lg"
title={slot ? `编辑收录版本 ${slot.name}` : "新建收录版本"}
description={
slot ? `当前 r${slot.revision}。保存时如果已被别处修改,会提示刷新。` : "不满足硬条件的资源不收;软偏好决定先收哪个。"
slot
? `当前 r${slot.revision}。保存时如果已被别处修改,会提示刷新。`
: "不满足硬条件的资源不收;软偏好决定先收哪个。"
}
footer={
<>
@@ -461,7 +461,11 @@ export function SubscriptionFormDialog({
<DialogHeader>
<DialogTitle>{editing ? "编辑订阅" : "新建订阅"}</DialogTitle>
<DialogDescription>
{editing ? titleText : initialTarget ? titleText : "从媒体库或 TMDB 选作品;选 TMDB 上的作品会先加入媒体库。"}
{editing
? titleText
: initialTarget
? titleText
: "从媒体库或 TMDB 选作品;选 TMDB 上的作品会先加入媒体库。"}
</DialogDescription>
</DialogHeader>
{dup ? (
+1 -1
View File
@@ -104,7 +104,7 @@ import { cn, formatBytes } from "~/lib/utils.ts";
const HEALTH_REASON: Record<string, string> = {
root_missing: "挂载点不存在",
sentinel_missing: "目录里没有标记文件,挂载可能没生效",
sentinel_missing: "目录不可访问或未挂载",
timeout: "探测超时",
permission_denied: "没有读取权限",
};
+1 -3
View File
@@ -255,9 +255,7 @@ export default function LoginPage() {
<h1 className="mt-3 max-w-xl font-display text-display-sm leading-tight font-semibold text-foreground">
订阅、下载、整理
</h1>
<p className="mt-4 max-w-lg text-lead text-muted-foreground">
每一步都有记录。拿不准的会停下来等你决定。
</p>
<p className="mt-4 max-w-lg text-lead text-muted-foreground">每一步都有记录。拿不准的会停下来等你决定。</p>
<ul className="mt-8 space-y-3 text-body text-muted-foreground">
<li className="flex items-center gap-2.5">
<ShieldCheck className="h-4 w-4 text-foreground/70" />