Align cutover monitor UI with network task management.

Use the same list, create-task modal, and detail tabs pattern as business monitor.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-18 17:00:07 +08:00
parent 920aa322f3
commit 335c3fcbeb
3 changed files with 853 additions and 460 deletions

View file

@ -452,8 +452,10 @@ const en = {
hint: "Separate from business compare: baseline drift, expect set, dual-device verdict. Reuses collect tasks and port mappings.",
hintPort:
"Metric focus: port status (interface_brief / admin·phy·prot). Baseline → pick ports → evaluate board.",
createProject: "New cutover project",
projectName: "Project name",
create: "Create task",
createHint: "Pick old/new business-monitor tasks; optional port mapping and baseline batches.",
createProject: "Create task",
projectName: "Task name",
oldTask: "Old-device collect task",
newTask: "New-device collect task",
portMapping: "Port mapping",
@ -462,9 +464,31 @@ const en = {
needProjectFields: "Enter a name and pick old/new collect tasks",
needExpectPorts: "Select at least one expected port for this batch",
needBaselineFirst: "Save an old baseline batch first to list ports",
projectCreated: "Project created",
projects: "Projects",
emptyProjects: "No cutover projects yet",
needBizStateTasks: "No business-monitor tasks yet. Create one first:",
projectCreated: "Task created",
projects: "Tasks",
empty: "No cutover tasks yet.",
emptyProjects: "No cutover tasks yet",
listFilterPh: "Filter name / NE / IP / status",
kpiProjects: "Tasks",
kpiActive: "Active",
detail: "Detail",
cancel: "Close",
colName: "Task",
colPair: "Old → New",
colBaseline: "Baseline",
colCreated: "Created",
colActions: "Actions",
baselineSet: "Set",
baselineUnset: "Unset",
statusActive: "Active",
statusDone: "Done",
statusPaused: "Paused",
statusPending: "Pending",
statusReview: "Review",
tabSetup: "Baseline",
tabBatches: "Batches",
tabBoard: "Board",
saveBaseline: "Save baseline / mapping",
baselineSaved: "Baseline saved",
pickExpectPorts: "Expected ports (from old baseline)",
@ -510,10 +534,10 @@ const en = {
enableHighfreq: "Enable high-freq port collect",
highfreqHint:
"Creates/reuses biz-state tasks with interface_brief only on old/new NEs. Add BGP etc. later on the same tasks in Business monitor.",
highfreqReady: "High-freq port collect tasks ready and bound to this project",
highfreqReady: "High-freq port collect tasks ready and bound to this task",
collectNow: "Collect old+new now",
collectTriggered: "Collect triggered",
openBizState: "Open business state",
openBizState: "Open business monitor",
boundTasks: "Bound collect tasks",
acceptTitle: "Batch acceptance summary",
acceptPassed: "Batch acceptance passed",
@ -521,7 +545,7 @@ const en = {
acceptPassedShort: "Passed",
acceptFailedShort: "Failed",
acceptCarryHint: "Failure does not block the next batch; red tickets stay until resolved.",
openRedHint: "{{n}} open red ticket(s) on this project (carry allowed)",
openRedHint: "{{n}} open red ticket(s) on this task (carry allowed)",
redTitle: "Red tickets",
redOpen: "open",
resolveRed: "Resolve",