feat: add admin operational insights

This commit is contained in:
Lan
2026-06-03 07:47:33 +08:00
parent f2bf124447
commit a7d778de4b
5 changed files with 376 additions and 1 deletions
+96
View File
@@ -90,6 +90,17 @@ export default {
textType: 'Text',
recentActivities: 'Recent Activity',
recentActivitiesDesc: 'Key admin changes for quick operational traceability.',
operationalInsightsTitle: 'Operational Insights',
operationalInsightsDesc:
'Suggested next actions generated from file health, upload policy, and recent capacity.',
operationalInsightActionSettings: 'Adjust settings',
operationalInsightActionFileQueue: 'View queue',
operationalInsightSeverity: {
danger: 'High risk',
warning: 'Action needed',
success: 'Stable',
neutral: 'Suggestion'
},
viewAllActivities: 'View all',
activityTimelineTitle: 'Activity Timeline',
activityTimelineFiltered: 'Current Results',
@@ -132,6 +143,43 @@ export default {
local_file: 'Local file',
system: 'System'
},
operationalInsights: {
storage_issue: {
title: 'Fix {count} storage issues',
description:
'Some records are missing download metadata. Review storage settings and file details first.'
},
expired_cleanup: {
title: 'Clean up {count} expired files',
description:
'Expired records add management noise. Delete them in bulk or extend the files that should remain available.'
},
expiring_soon: {
title: '{count} files expiring soon',
description:
'These shares will become unavailable soon. Extend them early or notify the recipients.'
},
never_retrieved: {
title: '{count} files never retrieved',
description:
'Shares that were never retrieved can reveal ineffective uploads or follow-up gaps.'
},
guest_upload_retention: {
title: 'Guest uploads lack retention limits',
description:
'Guest upload is enabled with unlimited retention. Set a default retention window to reduce storage pressure.'
},
chunking_disabled: {
title: 'Consider enabling chunked upload',
description:
"Today's added capacity is near the single-file limit. Chunked upload can improve large-file reliability."
},
healthy: {
title: 'Operations look stable',
description:
'No high-priority operational risk was detected. Keep watching the file health trend.'
}
},
recentFiles: 'Recent Shares',
recentFilesDesc: 'Recently created share records for quick status checks.',
available: 'Available',
@@ -875,6 +923,17 @@ export default {
textType: 'Text',
recentActivities: 'Recent Activity',
recentActivitiesDesc: 'Key admin changes for quick operational traceability.',
operationalInsightsTitle: 'Operational Insights',
operationalInsightsDesc:
'Suggested next actions generated from file health, upload policy, and recent capacity.',
operationalInsightActionSettings: 'Adjust settings',
operationalInsightActionFileQueue: 'View queue',
operationalInsightSeverity: {
danger: 'High risk',
warning: 'Action needed',
success: 'Stable',
neutral: 'Suggestion'
},
viewAllActivities: 'View all',
activityTimelineTitle: 'Activity Timeline',
activityTimelineFiltered: 'Current Results',
@@ -917,6 +976,43 @@ export default {
local_file: 'Local file',
system: 'System'
},
operationalInsights: {
storage_issue: {
title: 'Fix {count} storage issues',
description:
'Some records are missing download metadata. Review storage settings and file details first.'
},
expired_cleanup: {
title: 'Clean up {count} expired files',
description:
'Expired records add management noise. Delete them in bulk or extend the files that should remain available.'
},
expiring_soon: {
title: '{count} files expiring soon',
description:
'These shares will become unavailable soon. Extend them early or notify the recipients.'
},
never_retrieved: {
title: '{count} files never retrieved',
description:
'Shares that were never retrieved can reveal ineffective uploads or follow-up gaps.'
},
guest_upload_retention: {
title: 'Guest uploads lack retention limits',
description:
'Guest upload is enabled with unlimited retention. Set a default retention window to reduce storage pressure.'
},
chunking_disabled: {
title: 'Consider enabling chunked upload',
description:
"Today's added capacity is near the single-file limit. Chunked upload can improve large-file reliability."
},
healthy: {
title: 'Operations look stable',
description:
'No high-priority operational risk was detected. Keep watching the file health trend.'
}
},
recentFiles: 'Recent Shares',
recentFilesDesc: 'Recently created share records for quick status checks.',
available: 'Available',
+80
View File
@@ -90,6 +90,16 @@ export default {
textType: '文本',
recentActivities: '最近操作',
recentActivitiesDesc: '记录管理员最近的关键改动,便于回溯处理链路。',
operationalInsightsTitle: '运营建议',
operationalInsightsDesc: '根据文件健康、上传策略和近期容量自动生成下一步动作。',
operationalInsightActionSettings: '调整设置',
operationalInsightActionFileQueue: '查看队列',
operationalInsightSeverity: {
danger: '高风险',
warning: '需处理',
success: '稳定',
neutral: '建议'
},
viewAllActivities: '查看全部',
activityTimelineTitle: '操作时间线',
activityTimelineFiltered: '当前结果',
@@ -132,6 +142,36 @@ export default {
local_file: '本地文件',
system: '系统'
},
operationalInsights: {
storage_issue: {
title: '修复 {count} 个存储异常',
description: '部分记录缺少下载元数据,建议优先核对存储配置和文件详情。'
},
expired_cleanup: {
title: '清理 {count} 个已过期文件',
description: '已过期记录会占用管理视野,建议批量删除或续期仍需保留的文件。'
},
expiring_soon: {
title: '{count} 个文件即将过期',
description: '这些分享将在短时间内失效,适合提前续期或通知使用方。'
},
never_retrieved: {
title: '{count} 个文件未被取件',
description: '创建后长期无人取件的分享可用于判断无效上传或触达效果。'
},
guest_upload_retention: {
title: '游客上传缺少保留上限',
description: '游客上传已开启且保存时间不受限,建议设置默认保留期降低存储压力。'
},
chunking_disabled: {
title: '建议开启分片上传',
description: '今日新增容量已接近单文件上限,开启分片上传可提升大文件体验。'
},
healthy: {
title: '运行状态稳定',
description: '当前未发现优先级较高的运营风险,可继续观察文件健康趋势。'
}
},
recentFiles: '最近分享',
recentFilesDesc: '最近创建的分享记录,便于快速核对状态。',
available: '可取件',
@@ -837,6 +877,16 @@ export default {
textType: '文本',
recentActivities: '最近操作',
recentActivitiesDesc: '记录管理员最近的关键改动,便于回溯处理链路。',
operationalInsightsTitle: '运营建议',
operationalInsightsDesc: '根据文件健康、上传策略和近期容量自动生成下一步动作。',
operationalInsightActionSettings: '调整设置',
operationalInsightActionFileQueue: '查看队列',
operationalInsightSeverity: {
danger: '高风险',
warning: '需处理',
success: '稳定',
neutral: '建议'
},
viewAllActivities: '查看全部',
activityTimelineTitle: '操作时间线',
activityTimelineFiltered: '当前结果',
@@ -879,6 +929,36 @@ export default {
local_file: '本地文件',
system: '系统'
},
operationalInsights: {
storage_issue: {
title: '修复 {count} 个存储异常',
description: '部分记录缺少下载元数据,建议优先核对存储配置和文件详情。'
},
expired_cleanup: {
title: '清理 {count} 个已过期文件',
description: '已过期记录会占用管理视野,建议批量删除或续期仍需保留的文件。'
},
expiring_soon: {
title: '{count} 个文件即将过期',
description: '这些分享将在短时间内失效,适合提前续期或通知使用方。'
},
never_retrieved: {
title: '{count} 个文件未被取件',
description: '创建后长期无人取件的分享可用于判断无效上传或触达效果。'
},
guest_upload_retention: {
title: '游客上传缺少保留上限',
description: '游客上传已开启且保存时间不受限,建议设置默认保留期降低存储压力。'
},
chunking_disabled: {
title: '建议开启分片上传',
description: '今日新增容量已接近单文件上限,开启分片上传可提升大文件体验。'
},
healthy: {
title: '运行状态稳定',
description: '当前未发现优先级较高的运营风险,可继续观察文件健康趋势。'
}
},
recentFiles: '最近分享',
recentFilesDesc: '最近创建的分享记录,便于快速核对状态。',
available: '可取件',