fix: default new task due date to today
ci / docker (push) Successful in 6m22s

This commit is contained in:
2026-09-08 09:11:47 +08:00
parent 5e0c168da1
commit 113791229a
4 changed files with 21 additions and 4 deletions
+5
View File
@@ -183,6 +183,11 @@ describe('mobile touch targets', () => {
})
describe('unified floating add interaction', () => {
it('defaults every new-task composer to today', () => {
expect(app).toContain('composeDueAt.value = defaultTaskDueAt()')
expect(app).not.toContain("activeView.value === 'today' ? toDateTimeLocal(quickTaskFields")
})
it('lets task create and detail forms configure a repeat rule', () => {
expect(app).toContain('const composeRepeat = ref')
expect(app).toContain('const selectedTaskRepeat = ref')