- Trim descriptions, empty states, confirm buttons and toasts to facts - Unify terms per glossary: 待处理/待识别/整理记录/运行记录/凭证/子会话/Agent 上游 - Subscription-login termsNote states facts only (borrowed client identity, ToS/ban risk) - Shorter, concrete goal templates for built-in Agent checks - Human-readable nouns instead of table names in instance CRUD errors - Audit labels for pi_upstream / schedule / automation_grant actions - Glossary: add 上游、订阅登录、凭证、定时任务、巡检、运行记录、子会话、停止、持续授权 Co-Authored-By: Claude Opus 5.5 <[email protected]>
20 lines
575 B
TypeScript
20 lines
575 B
TypeScript
import { Link } from "react-router";
|
|
import { EmptyState } from "~/components/console/empty-state.tsx";
|
|
import { buttonVariants } from "~/components/ui/button.tsx";
|
|
|
|
export default function NotFound() {
|
|
return (
|
|
<div className="grid min-h-screen place-items-center bg-background px-4">
|
|
<EmptyState
|
|
title="页面不存在"
|
|
description="检查地址,或回到首页。"
|
|
action={
|
|
<Link to="/console" className={buttonVariants({ variant: "outline" })}>
|
|
回到首页
|
|
</Link>
|
|
}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|