feat(web): split plan page from tasks (FE-6)

- Nav overview group: 首页 / 任务 / 计划 / Agent 会话; tasks page drops the plan tab
- /console/tasks?tab=plan[&job=] redirects to /console/schedules[?job=]
- Plan page: 自动任务 compact grouped list (switch, interval preset/custom, last result,
  countdown, failure reason, run now/skip/run records) and Agent 巡检 cards (goal,
  allowlist, budget, upstream/model, trigger, cost per run, recent sessions); split stats
- Home plan band: two counts linking to #auto / #checks
- Docs: console-ia §7.4a, glossary, schedules runbook; smoke routes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-09-29 17:13:54 +08:00
1 parent c3aaf901ad
commit baf2d6ea04
22 files changed
+1030 -417

No files matched your search

+2 -2
View File
@@ -543,7 +543,7 @@ export default function StatusPage() {
icon={Timer}
level={d.schedules.level}
action={
<Link to="/console/tasks?tab=plan" className="text-meta text-muted-foreground hover:text-foreground">
<Link to="/console/schedules" className="text-meta text-muted-foreground hover:text-foreground">
查看计划
</Link>
}
@@ -560,7 +560,7 @@ export default function StatusPage() {
{d.schedules.failing.map((f) => (
<li key={f.id} className="min-w-0 text-caption">
<Link
to={`/console/tasks?tab=plan&job=${encodeURIComponent(f.id)}`}
to={`/console/schedules?job=${encodeURIComponent(f.id)}`}
className="font-medium text-foreground hover:underline"
>
{f.name}