Add cutover-compare nav group and monitor templates.

Move biz monitor/compare/migration under Cutover compare, split compare templates into their own page, and add monitor-template CRUD that overlays compare templates.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-18 20:09:26 +08:00
parent f3a8f80822
commit 202196a197
13 changed files with 812 additions and 36 deletions

View file

@ -688,7 +688,12 @@ export function BizMigrationPage() {
</Button>
</div>
</div>
<p className="panel__hint muted">{t("bizMigration.hintPort")}</p>
<p className="panel__hint muted">
{t("bizMigration.hintPort")}{" "}
<Link to="/network/cutover/monitor-templates">{t("network.nav.monitorTemplates")}</Link>
{" · "}
<Link to="/network/cutover/compare-templates">{t("network.nav.compareTemplates")}</Link>
</p>
<div className="pt-list">
<div className="pt-list-kpis">
@ -838,7 +843,7 @@ export function BizMigrationPage() {
{!tasks.length ? (
<p className="muted" style={{ margin: 0, fontSize: 12 }}>
{t("bizMigration.needBizStateTasks")}{" "}
<Link to="/network/tasks/biz-state" onClick={closeCreate}>
<Link to="/network/cutover/biz-state" onClick={closeCreate}>
{t("bizMigration.openBizState")}
</Link>
</p>
@ -941,7 +946,7 @@ export function BizMigrationPage() {
<Button size="sm" variant="secondary" isDisabled={busy} onPress={() => void onCollectNow()}>
{t("bizMigration.collectNow")}
</Button>
<Link to="/network/tasks/biz-state" style={{ fontSize: 12, alignSelf: "center" }}>
<Link to="/network/cutover/biz-state" style={{ fontSize: 12, alignSelf: "center" }}>
{t("bizMigration.openBizState")}
</Link>
{openRedCount > 0 ? (