v4 was created by restoring v1
Let me first read all the relevant files to understand the current v1 codebase.
Now I have a clear picture. The current v1 code has:
mergeToMainline is displayed as a static YesNoBadge -- needs to become an editable Select; needs a filter for "是否并入主干"fixNextVersion is displayed as a static YesNoBadge -- needs to become an editable Select; needs a filter for "是否下版本修复"I also need to add team/owner option lists to mock-data. Let me make all changes now:
Now update the DemandTable -- make "是否并入主干" editable via Select and add a filter:
Now update the BugTable -- make "是否下版本修复" editable via Select and add a filter:
Now update the WorkPlanTable to add "负责团队" and "任务负责人" filters:
All changes are complete. Here's a summary of what was modified:
demand-table.tsx):将"是否并入主干"列从静态 YesNoBadge 改为可编辑的 Select 下拉框,支持在表格内直接切换"是/否";同时在筛选器中新增了"是否并入主干"查询条件。bug-table.tsx):同样将"是否下版本修复"列改为可编辑的 Select 下拉框,并在筛选器中增加了"是否下版本修复"查询条件。work-plan-table.tsx):新增"负责团队"和"任务负责人"两个筛选器,支持按团队和负责人进行数据筛选查询。mock-data.ts):补充了 yesNoOptions、teamOptions、ownerOptions 三组选项数据供筛选器使用。You can send messages while the preview loads