fix(web): visual QA front-end items U4–U6, U13–U16 and copy list

- U4: form save failures toast the first problem and scroll/focus the first
  invalid field (policy draft, settings cards, resource drawers, subscription
  form) via lib/form-errors.
- U5: FormField keeps 8px between a hint and the next label.
- U6: file manager status bar keeps free space left-aligned, clear of the
  Agent button.
- U13: move/copy dialog stops "target is the source folder / inside the
  source" before requesting a preview (transferTargetProblem + tests).
- U14: account popover uses the solid float material.
- U15/U16: inbox tile hint shortened; TMDB assign dialog uses the shared
  Select and labelled fields (type, TMDB ID, note).
- Copy: "TMDB 已保存" spacing, API Key block no longer repeats the section
  title, whole-day intervals read "每 7 天", "最高级别:提示",
  "延后:已有计划在途", failed records show "未生成目标路径", upstream model
  column "默认模型".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-09-28 16:58:38 +08:00
1 parent 2ae780d2a1
commit 082c556a67
18 files changed
+130 -38

No files matched your search

@@ -277,7 +277,7 @@ export function AccountMenu({ session }: { session: SessionInfo }) {
<span className="hidden truncate sm:inline">{actor?.name ?? "账户"}</span>
</Button>
</PopoverTrigger>
<PopoverContent align="end" className="w-64 p-2">
<PopoverContent align="end" className="pg-float-solid w-64 p-2">
<div className="px-2 pt-1 pb-2">
<p className="text-label font-semibold tracking-[0.18em] text-muted-foreground uppercase">当前账户</p>
<p className="mt-1 truncate text-sm font-medium text-foreground">{actor?.name ?? "—"}</p>
@@ -27,7 +27,8 @@ export function FormField({
className?: string;
}) {
return (
<div className={cn("grid min-w-0 gap-1.5", className)}>
// pb-1:说明文字与下一个字段标签至少隔 8px(外层 gap-1 + 这里 4px;QA U5)
<div className={cn("grid min-w-0 gap-1.5 pb-1", className)}>
<Label htmlFor={htmlFor} className="text-caption font-medium text-foreground">
{label}
{required ? <span className="text-destructive">*</span> : null}