From 7cdc12f4b9943062e15a874dd39f8a50142b6c61 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Mon, 21 Oct 2019 19:48:02 +0200 Subject: [PATCH] Add notifications page with Notifications in table - At the moment, the notifications are displayed in a table, and have the same functionality as the NotificationMenu where you can click on the title of the Post and visit the Post - Unsure about the styling, it would kind of be nice to have a more condensed list to see more notifications per page, but still be able to click on a row and visit the Post --- .../Notification/Notification.vue | 70 ++++--- .../NotificationMenu/NotificationMenu.vue | 3 + webapp/graphql/User.js | 2 +- webapp/locales/en.json | 8 +- webapp/pages/notifications/index.vue | 197 ++++++++++++++++++ 5 files changed, 244 insertions(+), 36 deletions(-) create mode 100644 webapp/pages/notifications/index.vue diff --git a/webapp/components/notifications/Notification/Notification.vue b/webapp/components/notifications/Notification/Notification.vue index dc9383c85..9649b0d7e 100644 --- a/webapp/components/notifications/Notification/Notification.vue +++ b/webapp/components/notifications/Notification/Notification.vue @@ -1,37 +1,39 @@ -