新增: 任务推进链(7态状态机+advance_task CAS原子写)+软删除+前后端7态对齐

This commit is contained in:
lxy
2026-06-16 02:33:15 +08:00
parent f30df333b3
commit d2cb38cdac
21 changed files with 1628 additions and 167 deletions
+13 -8
View File
@@ -11,14 +11,16 @@ export default {
status: 'Status: ',
all: 'All',
},
// Status filters (with icons)
// Status filters (with icons) — D-260616-01 aligned to backend 7 states
statusFilter: {
all: 'All',
todo: 'Todo',
in_progress: 'In Progress',
review_ready: 'Review Ready',
merged: 'Merged',
abandoned: 'Abandoned',
in_review: 'In Review',
testing: 'Testing',
done: 'Done',
blocked: 'Blocked',
cancelled: 'Cancelled',
},
// Groups
@@ -44,19 +46,22 @@ export default {
priorityMedium: 'P2 Medium',
priorityLow: 'P3 Low',
},
// Status labels (TASK_STATUS_LABELS values in constants/project.ts use these keys)
// Status labels (TASK_STATUS_LABELS values in constants/project.ts use these keys) — D-260616-01 aligned to backend 7 states
status: {
todo: '📋 Todo',
in_progress: '🔄 In Progress',
review_ready: '👀 Review Ready',
merged: '✅ Merged',
abandoned: '🗑️ Abandoned',
in_review: '👀 In Review',
testing: '🧪 Testing',
done: '✅ Done',
blocked: '🚫 Blocked',
cancelled: '🗑️ Cancelled',
},
// Error fallbacks (user-visible via state.error)
err: {
loadFailed: 'Failed to load tasks',
createFailed: 'Failed to create task',
deleteFailed: 'Failed to delete task',
updateFailed: 'Failed to update task',
},
},
}