style: refine dense task views
ci / gitleaks (push) Successful in 8s
ci / docker (push) Successful in 7m5s

This commit is contained in:
2026-09-17 12:20:59 +08:00
parent 1571c3946f
commit cb7d18e192
13 changed files with 381 additions and 42 deletions
+1 -1
View File
@@ -1149,7 +1149,7 @@ describe('unified floating add interaction', () => {
expect(saveBlock).toContain("const taskId = selectedTask.value?.id")
expect(saveBlock).toContain('const selectionToken = recurrenceLoadToken')
expect(saveBlock).toContain("const repeatValue = selectedDueDate.value ? selectedTaskRepeat.value : 'none'")
expect(saveBlock).toContain('structuredClone(selectedRepeatConfig.value)')
expect(saveBlock).toContain('JSON.parse(JSON.stringify(selectedRepeatConfig.value))')
expect(saveBlock).toContain("const taskSaved = await saveTask({ showSuccess: false, expectedTaskId: taskId, expectedSelectionToken: selectionToken })")
expect(saveBlock).toContain("recurrenceLoadToken !== selectionToken")
expect(saveBlock).toContain('if (!taskSaved.due_at) {')