diff --git a/cypress/integration/list/list.spec.js b/cypress/integration/list/list.spec.js index 8b8630fdb..55afcc7b2 100644 --- a/cypress/integration/list/list.spec.js +++ b/cypress/integration/list/list.spec.js @@ -86,7 +86,7 @@ describe('Lists', () => { .should('contain', newListName) .should('not.contain', lists[0].title) cy.visit('/') - cy.get('.card-content .tasks') + cy.get('.card-content') .should('contain', newListName) .should('not.contain', lists[0].title) }) diff --git a/src/components/date/datepickerWithRange.vue b/src/components/date/datepickerWithRange.vue new file mode 100644 index 000000000..5d184f616 --- /dev/null +++ b/src/components/date/datepickerWithRange.vue @@ -0,0 +1,276 @@ + + + + + diff --git a/src/i18n/lang/en.json b/src/i18n/lang/en.json index 1f03d175b..035f3edef 100644 --- a/src/i18n/lang/en.json +++ b/src/i18n/lang/en.json @@ -476,7 +476,8 @@ "showMenu": "Show the menu", "hideMenu": "Hide the menu", "forExample": "For example:", - "welcomeBack": "Welcome Back!" + "welcomeBack": "Welcome Back!", + "custom": "Custom" }, "input": { "resetColor": "Reset Color", @@ -532,12 +533,16 @@ "titleCurrent": "Current Tasks", "titleDates": "Tasks from {from} until {to}", "noDates": "Show tasks without dates", - "current": "Current tasks", - "from": "Tasks from", - "until": "until", + "overdue": "Show overdue tasks", + "fromuntil": "Tasks from {from} until {until}", + "select": "Select a date range", "today": "Today", + "thisWeek": "This Week", "nextWeek": "Next Week", + "next7Days": "Next 7 Days", + "thisMonth": "This Month", "nextMonth": "Next Month", + "next30Days": "Next 30 Days", "noTasks": "Nothing to do — Have a nice day!" }, "detail": { diff --git a/src/views/tasks/ShowTasks.vue b/src/views/tasks/ShowTasks.vue index d4f06ba33..7d042fa40 100644 --- a/src/views/tasks/ShowTasks.vue +++ b/src/views/tasks/ShowTasks.vue @@ -1,53 +1,35 @@ \ No newline at end of file +