新增: 任务推进链(7态状态机+advance_task CAS原子写)+软删除+前后端7态对齐
This commit is contained in:
@@ -18,7 +18,24 @@ export default {
|
||||
assignee: 'Assignee',
|
||||
baseBranch: 'Base Branch',
|
||||
workflowDef: 'Workflow Definition',
|
||||
reviewRounds: 'Review Round {n}',
|
||||
createdAt: 'Created At',
|
||||
updatedAt: 'Updated At',
|
||||
// F-05 advance buttons (shown by state-machine-legal next states, validated by advance_task)
|
||||
advanceTitle: 'Advance Task',
|
||||
// Button labels (legal transitions per task_state_machine.rs can_transition)
|
||||
advance: {
|
||||
toInProgress: 'Start',
|
||||
toInReview: 'Submit for Review',
|
||||
toTesting: 'Approve to Testing',
|
||||
toDone: 'Done',
|
||||
resume: 'Resume',
|
||||
sendBack: 'Send Back',
|
||||
sendBackToReview: 'Send Back to Review',
|
||||
block: 'Block',
|
||||
cancel: 'Cancel Task',
|
||||
},
|
||||
advancing: 'Advancing...',
|
||||
advanceFailed: 'Failed to advance task',
|
||||
},
|
||||
}
|
||||
|
||||
+13
-8
@@ -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',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user