feat: add repeating tasks
ci / docker (push) Successful in 4m13s

This commit is contained in:
2026-09-08 08:16:57 +08:00
parent fde37de0fc
commit 0a3b959cb8
7 changed files with 179 additions and 10 deletions
+10
View File
@@ -172,6 +172,16 @@ describe('mobile touch targets', () => {
})
describe('unified floating add interaction', () => {
it('lets task create and detail forms configure a repeat rule', () => {
expect(app).toContain('const composeRepeat = ref')
expect(app).toContain('const selectedTaskRepeat = ref')
expect(app).toContain('重复<select v-model="composeRepeat"')
expect(app).toContain('重复<select v-model="selectedTaskRepeat"')
expect(app).toContain("api('/recurrences'")
expect(app).toContain("api(`/tasks/${task.id}/recurrence`)")
expect(app).toContain("api(`/recurrences/${selectedTaskRecurrence.value.id}`")
})
it('preloads countdowns after authentication', () => {
expect(app).toContain('void preloadCountdowns()')
expect(app).toContain("const active = await api('/countdowns')")