WIP: feat: add default reminder for tasks with a due date #2360

Draft
konrad wants to merge 17 commits from feature/add-default-reminder into main
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d5bc1cd1d6 - Show all commits

View File

@ -10,7 +10,7 @@ export const AMOUNTS_IN_SECONDS: {
hours: 60 * 60,
days: 60 * 60 * 24,
months: 60 * 60 * 24 * 30,
}
} as const
konrad marked this conversation as resolved Outdated

Add as const

Add `as const`

Done.

Done.
interface DefaultReminderSettings {
enabled: boolean,
konrad marked this conversation as resolved Outdated

We should save the factors in array in a mapping constant. This way the constant can be reused for the test.

We should save the factors in array in a mapping constant. This way the constant can be reused for the test.

Done.

Done.