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": "Auto-run when moved to In Progress"
}
},
"issueDialog": {
"titleLabel": "Title",
"titlePlaceholder": "Enter issue title...",
"descriptionLabel": "Description",
"descriptionPlaceholder": "Describe the issue or requirement in detail...",
"typeLabel": "Select Type",
"typeBug": "Bug",
"typeBugDesc": "Feature not working or error",
"typeFeature": "Feature",
"typeFeatureDesc": "New feature request",
"typeImprovement": "Improvement",
"typeImprovementDesc": "Enhancement to existing feature",
"typeOther": "Other",
"typeOtherDesc": "Other type of issue",
"priorityLabel": "Select Priority",
"priorityLow": "Low",
"priorityMedium": "Medium",
"priorityHigh": "High",
"priorityUrgent": "Urgent",
"summaryTitle": "Title",
"summaryDescription": "Description",
"summaryType": "Type",
"summaryPriority": "Priority",
"cancel": "Cancel",
"previous": "Previous",
"next": "Next",
"submit": "Submit",
"submitting": "Submitting..."
}
}

View File

@@ -94,5 +94,11 @@
"tokens": "Tokens",
"duration": "Duration",
"model": "Model"
},
"toolbar": {
"a2ui": {
"button": "A2UI",
"quickAction": "A2UI Quick Action"
}
}
}

View File

@@ -10,7 +10,8 @@
"systemStatus": "System Status",
"hooks": "Git Hooks",
"rules": "Rules",
"about": "About"
"about": "About",
"a2ui": "A2UI Preferences"
},
"appearance": {
"title": "Appearance",
@@ -210,5 +211,28 @@
"description": "Reset all user preferences to their default values. This cannot be undone.",
"confirm": "Reset all settings to defaults?",
"button": "Reset to Defaults"
},
"a2ui": {
"title": "A2UI Preferences",
"dialogStyle": "Dialog Style",
"dialogStyleDesc": "Choose how A2UI dialogs are displayed",
"styleModal": "Modal",
"styleModalDesc": "Centered",
"styleDrawer": "Drawer",
"styleDrawerDesc": "Side panel",
"styleSheet": "Sheet",
"styleSheetDesc": "Bottom",
"styleFullscreen": "Fullscreen",
"styleFullscreenDesc": "Full screen",
"smartMode": "Smart Mode",
"smartModeDesc": "Auto-select style based on question type",
"autoSelectionDuration": "Auto-Selection Duration",
"autoSelectionDurationDesc": "Countdown before auto-selecting default option",
"pauseOnInteraction": "Pause on Interaction",
"pauseOnInteractionDesc": "Pause countdown when you interact with the dialog",
"soundNotification": "Sound Notification",
"soundNotificationDesc": "Play sound before auto-submit (3 seconds before)",
"showToolbarButton": "Show Toolbar Button",
"showToolbarButtonDesc": "Show A2UI quick action button in the toolbar"
}
}