feat: 添加起始日期功能并更新相关组件与测试用例
CI / verify (push) Successful in 1m57s
CI / 部署到服务器 (push) Successful in 29s

- 在任务创建和编辑界面中新增起始日期字段,默认值为当天。
- 更新任务卡片展示逻辑,仅在起始日期不是当天时显示相关信息。
- 修改相关测试用例以覆盖起始日期的功能,包括批量创建和编辑任务的场景。
- 数据库模式版本更新至4,以支持起始日期字段的存储与迁移。
This commit is contained in:
chenshoulin
2026-11-02 00:17:14 +08:00
parent 6cbc0cfc0f
commit 6d58227614
25 changed files with 204 additions and 13 deletions
+1
View File
@@ -38,6 +38,7 @@ function makeTask(overrides: Partial<Task> = {}): Task {
priority: 2,
tags: [],
dueDate: null,
startDate: null,
sortOrder: 1024,
createdAt: '2026-10-18T00:00:00.000Z',
updatedAt: '2026-10-18T00:00:00.000Z',