feat: add tests and implementation for issue discovery and queue pages

- Implemented `DiscoveryPage` with session management and findings display.
- Added tests for `DiscoveryPage` to ensure proper rendering and functionality.
- Created `QueuePage` for managing issue execution queues with stats and actions.
- Added tests for `QueuePage` to verify UI elements and translations.
- Introduced `useIssues` hooks for fetching and managing issue data.
- Added loading skeletons and error handling for better user experience.
- Created `vite-env.d.ts` for TypeScript support in Vite environment.
This commit is contained in:
catlog22
2026-01-31 21:20:10 +08:00
parent 6d225948d1
commit 1bd082a725
79 changed files with 5870 additions and 449 deletions

View File

@@ -1,5 +1,6 @@
{
"title": "通知",
"close": "关闭通知",
"empty": "暂无通知",
"emptyHint": "通知将显示在这里",
"markAllRead": "全部已读",
@@ -14,5 +15,38 @@
"daysAgo": "{0}天前",
"oneMinuteAgo": "1分钟前",
"oneHourAgo": "1小时前",
"oneDayAgo": "1天前"
"oneDayAgo": "1天前",
"sources": {
"system": "系统",
"websocket": "WebSocket",
"cli": "命令行",
"workflow": "工作流",
"user": "用户",
"external": "外部"
},
"priorities": {
"low": "低",
"medium": "中",
"high": "高",
"critical": "紧急"
},
"attachments": {
"image": "图片",
"code": "代码",
"file": "文件",
"data": "数据",
"download": "下载"
},
"actions": {
"loading": "加载中...",
"success": "完成",
"retry": "重试"
},
"timestamps": {
"today": "今天",
"yesterday": "昨天",
"atTime": "{0}"
},
"markAsRead": "标为已读",
"markAsUnread": "标为未读"
}