From 31c49aed4be58f22692ff7e0214dba92af9e9504 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 16 Jun 2022 16:52:25 +0200 Subject: [PATCH] feat: add option to configure overdue reminders email time --- src/i18n/lang/en.json | 5 +++-- src/views/user/settings/General.vue | 23 +++++++++++++++++------ 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/src/i18n/lang/en.json b/src/i18n/lang/en.json index 6776260a..de615edd 100644 --- a/src/i18n/lang/en.json +++ b/src/i18n/lang/en.json @@ -77,7 +77,7 @@ "newName": "The new Name", "savedSuccess": "The settings were successfully updated.", "emailReminders": "Send me reminders for tasks via Email", - "overdueReminders": "Send me reminders for overdue undone tasks via email each morning", + "overdueReminders": "Send me reminders for overdue undone tasks via email", "discoverableByName": "Let other users find me when they search for my name", "discoverableByEmail": "Let other users find me when they search for my full email", "playSoundWhenDone": "Play a sound when marking tasks as done", @@ -86,7 +86,8 @@ "weekStartMonday": "Monday", "language": "Language", "defaultList": "Default List", - "timezone": "Time Zone" + "timezone": "Time Zone", + "overdueTasksRemindersTime": "Overdue tasks reminder email time" }, "totp": { "title": "Two Factor Authentication", diff --git a/src/views/user/settings/General.vue b/src/views/user/settings/General.vue index dedf200c..0efc6b22 100644 --- a/src/views/user/settings/General.vue +++ b/src/views/user/settings/General.vue @@ -20,14 +20,27 @@
+
+ +
+ +
+
@@ -206,7 +219,6 @@ function getPlaySoundWhenDoneSetting() { return localStorage.getItem(playSoundWhenDoneKey) === 'true' || localStorage.getItem(playSoundWhenDoneKey) === null } - const playSoundWhenDone = ref(getPlaySoundWhenDoneSetting()) const quickAddMagicMode = ref(getQuickAddMagicMode()) @@ -219,7 +231,6 @@ const availableLanguageOptions = ref( .sort((a, b) => a.title.localeCompare(b.title)), ) - const defaultList = computed({ get: () => store.getters['lists/getListById'](settings.defaultListId), set(l) {