feat: add habits to today overview
ci / gitleaks (push) Successful in 35s
ci / docker (push) Successful in 4m0s

This commit is contained in:
2026-09-08 13:49:21 +08:00
parent 11400025ba
commit 0f8955e890
4 changed files with 26 additions and 4 deletions
+6
View File
@@ -159,6 +159,12 @@ describe('task and habit row decoration', () => {
expect(app).toContain('class="today-board"')
expect(app).toContain('todayOpenTasks')
expect(app).toContain('todayCompletedTasks')
expect(app).toContain('todayHabitProgress')
expect(app).toContain('习惯打卡')
expect(app).toContain('@summary="updateTodayHabitSummary"')
expect(mvpPanel).toContain("summary: [value: { total: number; completed: number }]")
expect(mvpPanel).toContain('const todayHabitSummary = computed')
expect(mvpPanel).toContain("emit('summary', value)")
expect(app).toContain('taskComposeTitle')
expect(app).toContain('添加今天任务')
expect(app).toContain('v-if="activeView===\'trash\' || totalPages > 1 || totalTasks > 0"')