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