feat: add Sheet component for bottom sheet UI with drag-to-dismiss and snap points

test: implement DialogStyleContext tests for preference management and style recommendations

test: create tests for useAutoSelection hook, including countdown and pause functionality

feat: implement useAutoSelection hook for enhanced auto-selection with sound notifications

feat: create Zustand store for managing issue submission wizard state

feat: add Zod validation schemas for issue-related API requests

feat: implement issue service for CRUD operations and validation handling

feat: define TypeScript types for issue submission and management
This commit is contained in:
catlog22
2026-02-16 11:51:21 +08:00
parent 374a1e1c2c
commit 2202c2ccfd
35 changed files with 3717 additions and 145 deletions

View File

@@ -448,5 +448,34 @@
"autoStart": {
"label": "拖到进行中自动执行"
}
},
"issueDialog": {
"titleLabel": "标题",
"titlePlaceholder": "请输入Issue标题...",
"descriptionLabel": "描述",
"descriptionPlaceholder": "请详细描述问题或需求...",
"typeLabel": "选择类型",
"typeBug": "Bug",
"typeBugDesc": "功能异常或错误",
"typeFeature": "Feature",
"typeFeatureDesc": "新功能需求",
"typeImprovement": "Improvement",
"typeImprovementDesc": "现有功能改进",
"typeOther": "Other",
"typeOtherDesc": "其他类型",
"priorityLabel": "选择优先级",
"priorityLow": "低",
"priorityMedium": "中",
"priorityHigh": "高",
"priorityUrgent": "紧急",
"summaryTitle": "标题",
"summaryDescription": "描述",
"summaryType": "类型",
"summaryPriority": "优先级",
"cancel": "取消",
"previous": "上一步",
"next": "下一步",
"submit": "提交",
"submitting": "提交中..."
}
}

View File

@@ -94,5 +94,11 @@
"tokens": "令牌数",
"duration": "耗时",
"model": "模型"
},
"toolbar": {
"a2ui": {
"button": "A2UI",
"quickAction": "A2UI 快速操作"
}
}
}

View File

@@ -10,7 +10,8 @@
"systemStatus": "系统状态",
"hooks": "Git 钩子",
"rules": "规则",
"about": "关于"
"about": "关于",
"a2ui": "A2UI 偏好设置"
},
"appearance": {
"title": "外观",
@@ -210,5 +211,28 @@
"description": "将所有用户偏好重置为默认值。此操作无法撤销。",
"confirm": "确定要将所有设置重置为默认值吗?",
"button": "重置为默认值"
},
"a2ui": {
"title": "A2UI 偏好设置",
"dialogStyle": "对话框风格",
"dialogStyleDesc": "选择 A2UI 对话框的显示方式",
"styleModal": "弹窗",
"styleModalDesc": "居中显示",
"styleDrawer": "抽屉",
"styleDrawerDesc": "侧边面板",
"styleSheet": "底部弹出",
"styleSheetDesc": "从底部弹出",
"styleFullscreen": "全屏",
"styleFullscreenDesc": "全屏显示",
"smartMode": "智能模式",
"smartModeDesc": "根据问题类型自动选择风格",
"autoSelectionDuration": "自动选择倒计时",
"autoSelectionDurationDesc": "自动选择默认选项前的倒计时",
"pauseOnInteraction": "交互时暂停",
"pauseOnInteractionDesc": "与对话框交互时暂停倒计时",
"soundNotification": "声音提醒",
"soundNotificationDesc": "自动提交前 3 秒播放提示音",
"showToolbarButton": "显示工具栏按钮",
"showToolbarButtonDesc": "在工具栏显示 A2UI 快速操作按钮"
}
}