docs(copy): 补一轮:去掉「尚未」「无需」,删除 Passkey 的确认按钮写明对象
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
1 parent
ea42018d3f
commit
1fdcefda6a
5 files changed
+6
-6
No files matched your search
@@ -11,7 +11,7 @@ export function WorkspacePlaceholder({ milestone = "W3" }: { milestone?: string
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<PageHeader title={item?.label ?? "未命名页面"} description={item?.description} />
|
<PageHeader title={item?.label ?? "未命名页面"} description={item?.description} />
|
||||||
<EmptyState icon={item?.icon ?? Construction} title="尚未接入" description={`计划在 ${milestone} 接入。`} />
|
<EmptyState icon={item?.icon ?? Construction} title="还没接入" description={`计划在 ${milestone} 接入。`} />
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -101,7 +101,7 @@ function PasskeyRow({ item }: { item: PasskeyInfo }) {
|
|||||||
}
|
}
|
||||||
title={`删除 Passkey「${item.name}」?`}
|
title={`删除 Passkey「${item.name}」?`}
|
||||||
description="删除后这把钥匙不能再登录控制台;设备上的钥匙要在系统设置里另外删。"
|
description="删除后这把钥匙不能再登录控制台;设备上的钥匙要在系统设置里另外删。"
|
||||||
confirmLabel="删除"
|
confirmLabel="删除 Passkey"
|
||||||
destructive
|
destructive
|
||||||
onConfirm={async () => {
|
onConfirm={async () => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ const RISK: Record<RiskLevel, { label: string; tone: StatusTone }> = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const AUTH: Record<CapabilityAuthState, { label: string; tone: StatusTone; hint: string }> = {
|
const AUTH: Record<CapabilityAuthState, { label: string; tone: StatusTone; hint: string }> = {
|
||||||
read_only: { label: "无需授权", tone: "neutral", hint: "只读或预览,不改数据;Key 有对应 scope 就能调用" },
|
read_only: { label: "不需要授权", tone: "neutral", hint: "只读或预览,不改数据;Key 有对应 scope 就能调用" },
|
||||||
granted: { label: "有持续授权", tone: "success", hint: "智能体、MCP、API Key 调用按持续授权放行" },
|
granted: { label: "有持续授权", tone: "success", hint: "智能体、MCP、API Key 调用按持续授权放行" },
|
||||||
needs_approval: {
|
needs_approval: {
|
||||||
label: "需审批",
|
label: "需审批",
|
||||||
|
|||||||
@@ -435,8 +435,8 @@ export function OrganizeSourcesSection() {
|
|||||||
: "手动"}
|
: "手动"}
|
||||||
</p>
|
</p>
|
||||||
<p className="text-meta text-muted-foreground">
|
<p className="text-meta text-muted-foreground">
|
||||||
基线:{p.baselineAt ? formatDateTime(p.baselineAt) : "尚未建立"} · 最近扫描:
|
基线:{p.baselineAt ? formatDateTime(p.baselineAt) : "未建立"} · 最近扫描:
|
||||||
{p.lastScanAt ? formatDateTime(p.lastScanAt) : "尚未扫描"} · 快照 {p.fileCount} 个文件
|
{p.lastScanAt ? formatDateTime(p.lastScanAt) : "未扫描"} · 快照 {p.fileCount} 个文件
|
||||||
</p>
|
</p>
|
||||||
{p.lastError ? <p className="text-caption text-destructive">{p.lastError}</p> : null}
|
{p.lastError ? <p className="text-caption text-destructive">{p.lastError}</p> : null}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -387,7 +387,7 @@ export function StorageSection({ health }: { health: SystemHealth }) {
|
|||||||
</Panel>
|
</Panel>
|
||||||
</TechInfo>
|
</TechInfo>
|
||||||
<div className="space-y-6">
|
<div className="space-y-6">
|
||||||
<Panel title="缓存" note="条数含尚未清理的过期条目">
|
<Panel title="缓存" note="条数含还没清理的过期条目">
|
||||||
<DataTable<KvRow>
|
<DataTable<KvRow>
|
||||||
rows={s.kvCache}
|
rows={s.kvCache}
|
||||||
rowKey={(r) => r.region}
|
rowKey={(r) => r.region}
|
||||||
|
|||||||
Reference in new issue
Block a user