feat(pages): 全部 ComingSoon 頁面升級為真實 UI — 串接真實 API / 空狀態頁面
All checks were successful
CD Pipeline / build-and-deploy (push) Successful in 6m47s

- services/topology: 串接 /api/v1/dashboard,顯示服務清單表格與主機拓撲卡片 grid
- notifications: 串接 /api/v1/notifications/channels,404 時顯示空列表
- reports: 串接 /api/v1/stats/incident-summary + /api/v1/stats/resolution-stats,顯示統計卡片
- apm: 乾淨空狀態頁(SignOz 待整合)
- apps/tickets/users/deployments: 空列表表格結構
- billing/compliance/cost/security: 空狀態卡片結構
- help: 靜態系統版本資訊頁
- zh-TW.json + en.json: 新增所有頁面 i18n key(零 hardcode 字串)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-04-02 23:49:24 +08:00
parent 6266a4fc01
commit e93a50a4b4
16 changed files with 870 additions and 98 deletions

View File

@@ -727,5 +727,122 @@
"latency": "Latency",
"uptime": "Uptime",
"lastCheck": "Last Check"
},
"services": {
"title": "Services",
"subtitle": "All services across hosts",
"name": "Service Name",
"host": "Host",
"status": "Status",
"cpu": "CPU%",
"ram": "RAM%",
"noServices": "No service data available",
"fetchError": "Failed to load services"
},
"topology": {
"title": "Topology",
"subtitle": "Host architecture view",
"noHosts": "No host data available",
"fetchError": "Failed to load host data",
"services": "Services",
"cpu": "CPU",
"ram": "RAM"
},
"notifications": {
"title": "Notifications",
"subtitle": "Notification channel settings",
"channel": "Channel",
"type": "Type",
"status": "Status",
"noChannels": "No notification channels",
"fetchError": "Failed to load notification channels"
},
"reports": {
"title": "Reports",
"subtitle": "Incident statistics summary",
"incidentSummary": "Incident Summary",
"resolutionStats": "Resolution Statistics",
"total": "Total",
"resolved": "Resolved",
"unresolved": "Unresolved",
"avgResolutionTime": "Avg Resolution Time",
"resolutionRate": "Resolution Rate",
"fetchError": "Failed to load report data",
"noData": "No statistics available"
},
"apm": {
"title": "APM",
"subtitle": "Application Performance Monitoring",
"noData": "No APM Data",
"noDataDescription": "APM integration is not yet enabled. Data will appear after SignOz connects."
},
"apps": {
"title": "Applications",
"subtitle": "Application list",
"name": "App Name",
"version": "Version",
"status": "Status",
"noApps": "No application data available"
},
"billing": {
"title": "Billing",
"subtitle": "Cost summary",
"currentMonth": "Current Month",
"totalUsage": "Total Usage",
"noData": "No billing data available"
},
"compliance": {
"title": "Compliance",
"subtitle": "Compliance status overview",
"noData": "No compliance data available"
},
"cost": {
"title": "Cost Analysis",
"subtitle": "Resource cost analysis",
"noData": "No cost data available"
},
"deployments": {
"title": "Deployments",
"subtitle": "Deployment history",
"name": "Service",
"version": "Version",
"status": "Status",
"time": "Time",
"noDeployments": "No deployment records"
},
"help": {
"title": "Help",
"subtitle": "System information",
"version": "Version Info",
"appVersion": "Application Version",
"platform": "Platform",
"docs": "Documentation",
"docsDescription": "Visit AWOOOI Docs for full documentation"
},
"security": {
"title": "Security",
"subtitle": "Security events overview",
"noData": "No security events"
},
"tickets": {
"title": "Tickets",
"subtitle": "Ticket list",
"id": "Ticket ID",
"title_col": "Title",
"status": "Status",
"priority": "Priority",
"noTickets": "No tickets"
},
"users": {
"title": "Users",
"subtitle": "User management",
"name": "Name",
"role": "Role",
"status": "Status",
"noUsers": "No user data available"
},
"emptyState": {
"noData": "--",
"comingSoon": "Integration pending"
}
}

View File

@@ -728,5 +728,122 @@
"latency": "延遲",
"uptime": "可用率",
"lastCheck": "最後檢查"
},
"services": {
"title": "服務目錄",
"subtitle": "所有主機上的服務清單",
"name": "服務名稱",
"host": "主機",
"status": "狀態",
"cpu": "CPU%",
"ram": "RAM%",
"noServices": "目前無服務資料",
"fetchError": "無法取得服務清單"
},
"topology": {
"title": "拓撲圖",
"subtitle": "主機架構視圖",
"noHosts": "目前無主機資料",
"fetchError": "無法取得主機資料",
"services": "服務",
"cpu": "CPU",
"ram": "RAM"
},
"notifications": {
"title": "通知",
"subtitle": "通知頻道設定",
"channel": "頻道",
"type": "類型",
"status": "狀態",
"noChannels": "目前無通知頻道",
"fetchError": "無法取得通知頻道"
},
"reports": {
"title": "報表",
"subtitle": "事件統計摘要",
"incidentSummary": "事件摘要",
"resolutionStats": "解決率統計",
"total": "總計",
"resolved": "已解決",
"unresolved": "未解決",
"avgResolutionTime": "平均解決時間",
"resolutionRate": "解決率",
"fetchError": "無法取得報表資料",
"noData": "目前無統計資料"
},
"apm": {
"title": "APM",
"subtitle": "應用性能監控",
"noData": "暫無 APM 數據",
"noDataDescription": "APM 整合尚未啟用,待 SignOz 連線後自動顯示"
},
"apps": {
"title": "應用",
"subtitle": "應用程式清單",
"name": "應用名稱",
"version": "版本",
"status": "狀態",
"noApps": "目前無應用資料"
},
"billing": {
"title": "帳單",
"subtitle": "費用摘要",
"currentMonth": "本月費用",
"totalUsage": "總用量",
"noData": "目前無帳單資料"
},
"compliance": {
"title": "合規",
"subtitle": "合規狀態概覽",
"noData": "目前無合規資料"
},
"cost": {
"title": "成本分析",
"subtitle": "資源成本分析",
"noData": "目前無成本資料"
},
"deployments": {
"title": "部署管理",
"subtitle": "部署紀錄",
"name": "服務",
"version": "版本",
"status": "狀態",
"time": "時間",
"noDeployments": "目前無部署紀錄"
},
"help": {
"title": "說明",
"subtitle": "系統資訊與說明",
"version": "版本資訊",
"appVersion": "應用程式版本",
"platform": "平台",
"docs": "文件",
"docsDescription": "查閱完整說明文件請造訪 AWOOOI Docs"
},
"security": {
"title": "安全",
"subtitle": "安全事件概覽",
"noData": "目前無安全事件"
},
"tickets": {
"title": "工單",
"subtitle": "工單列表",
"id": "工單 ID",
"title_col": "標題",
"status": "狀態",
"priority": "優先級",
"noTickets": "目前無工單"
},
"users": {
"title": "使用者",
"subtitle": "使用者管理",
"name": "姓名",
"role": "角色",
"status": "狀態",
"noUsers": "目前無使用者資料"
},
"emptyState": {
"noData": "--",
"comingSoon": "資料尚未整合"
}
}