From c076298cf08b25d7c30b9bdec6a5dfbe8387c0e8 Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 21 Feb 2021 15:13:58 +0000 Subject: [PATCH] Add notifications overview (#414) Co-authored-by: kolaente Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/414 Co-authored-by: konrad Co-committed-by: konrad --- src/components/home/topNavigation.vue | 3 + .../notifications/notifications.vue | 135 ++++++++++++++++++ src/components/tasks/partials/heading.vue | 7 +- src/helpers/parseDateOrNull.js | 6 + src/models/notification.js | 84 +++++++++++ src/models/notificationNames.json | 7 + src/models/task.js | 26 ++-- src/services/notification.js | 22 +++ src/styles/components/_all.scss | 1 + src/styles/components/notifications.scss | 110 ++++++++++++++ src/styles/theme/navigation.scss | 1 + 11 files changed, 385 insertions(+), 17 deletions(-) create mode 100644 src/components/notifications/notifications.vue create mode 100644 src/helpers/parseDateOrNull.js create mode 100644 src/models/notification.js create mode 100644 src/models/notificationNames.json create mode 100644 src/services/notification.js create mode 100644 src/styles/components/notifications.scss diff --git a/src/components/home/topNavigation.vue b/src/components/home/topNavigation.vue index 5c1f4e13f..c0c17ce32 100644 --- a/src/components/home/topNavigation.vue +++ b/src/components/home/topNavigation.vue @@ -37,6 +37,7 @@