refactor: 去掉"联调"阶段,新增"BUG"阶段胶囊
- Stage 类型去掉 integration,新增 bug - 胶囊条:调研 → 产品设计 → UI设计 → 开发 → 测试 → BUG → 上线 - BUG 阶段进度 = 已关闭Bug / 总Bug - 全部关闭 = done(绿色),有Bug未关闭 = active(蓝色) - 版本列表/项目详情的阶段筛选同步去掉联调 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -29,15 +29,12 @@ export const STAGE_LABEL: Record<string, string> = {
|
||||
product_design: '产品设计中',
|
||||
ui_design: 'UI设计中',
|
||||
dev: '开发中',
|
||||
integration: '联调中',
|
||||
testing: '测试中',
|
||||
bug: 'BUG跟进中',
|
||||
released: '已发布',
|
||||
};
|
||||
|
||||
export function getVersionDisplayStatus(status: VersionStatus, currentStage?: string): string {
|
||||
if (status === 'developing' && currentStage && STAGE_LABEL[currentStage]) {
|
||||
return STAGE_LABEL[currentStage];
|
||||
}
|
||||
export function getVersionDisplayStatus(status: VersionStatus, _currentStage?: string): string {
|
||||
return VERSION_STATUS_LABEL[status];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user