Add config sync cycle stop and surface pause/stop controls in the UI.

Cancel remaining tasks on stop and keep finalize from overwriting a cancelled cycle.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-07-31 17:04:56 +08:00
parent 559cc14d2c
commit 1c8d512701
6 changed files with 124 additions and 5 deletions

View file

@ -139,9 +139,12 @@ const en = {
retryFailed: "Retry failed",
pause: "Pause",
resume: "Resume",
stop: "Stop",
confirmStop: "Stop this cycle and cancel remaining NE tasks?",
started: "Sync cycle started",
paused: "Paused",
resumed: "Resumed",
stopped: "Sync cycle stopped",
policyTitle: "Sync policy",
policySaved: "Policy saved",
enabled: "Enable scheduled sync",
@ -178,6 +181,7 @@ const en = {
started: "Started",
ended: "Ended",
message: "Message",
actions: "Actions",
},
},
networkDevices: {

View file

@ -139,9 +139,12 @@ const zh = {
retryFailed: "一键重试失败",
pause: "暂停",
resume: "继续",
stop: "停止",
confirmStop: "停止后将取消未执行的网元任务,确定停止本轮同步?",
started: "已启动同步周期",
paused: "已暂停",
resumed: "已继续",
stopped: "已停止同步周期",
policyTitle: "同步策略",
policySaved: "策略已保存",
enabled: "启用周期调度",
@ -178,6 +181,7 @@ const zh = {
started: "开始",
ended: "结束",
message: "消息",
actions: "操作",
},
},
networkDevices: {