feat(monitor): proportion-based overall status + reusable auto-refresh

- Change overall status logic: >50% failed = UNAVAILABLE, any failed
  or degraded = DEGRADED, all ok = OPERATIONAL
- Extract useAutoRefresh composable with localStorage persistence
- Create AutoRefreshButton dropdown component (reusable)
- Integrate auto-refresh into channel status page via MonitorHero
This commit is contained in:
erio
2026-04-23 23:34:58 +08:00
parent 5e060b2222
commit 0dcc0e0504
6 changed files with 250 additions and 38 deletions

View File

@@ -308,6 +308,12 @@ export default {
saving: '保存中...',
selectedCount: '(已选 {count} 个)',
refresh: '刷新',
autoRefresh: {
title: '自动刷新',
enable: '启用自动刷新',
countdown: '自动刷新: {seconds}s',
seconds: '{n} 秒',
},
view: '查看',
settings: '设置',
chooseFile: '选择文件',