From 33b0f295f67af561736e6f1640ccfea7e33e36dc Mon Sep 17 00:00:00 2001 From: patak Date: Sun, 11 Dec 2022 23:40:40 +0100 Subject: [PATCH] feat: notification improvements (#396) --- components/account/AccountInlineInfo.vue | 2 +- components/common/CommonMetaWrapper.vue | 2 +- components/notification/NotificationCard.vue | 44 +++++---- .../notification/NotificationGroupedLikes.vue | 21 ++++ .../notification/NotificationPaginator.vue | 98 ++++++++++++++----- components/status/StatusCard.vue | 4 +- components/status/StatusReplyingTo.vue | 2 +- pages/notifications.vue | 5 +- types/index.ts | 19 +++- 9 files changed, 146 insertions(+), 51 deletions(-) create mode 100644 components/notification/NotificationGroupedLikes.vue diff --git a/components/account/AccountInlineInfo.vue b/components/account/AccountInlineInfo.vue index ba036178..2ed69617 100644 --- a/components/account/AccountInlineInfo.vue +++ b/components/account/AccountInlineInfo.vue @@ -13,7 +13,7 @@ const { link = true, avatar = true } = defineProps<{ -
+
diff --git a/components/notification/NotificationCard.vue b/components/notification/NotificationCard.vue index 5fbebc4f..8397bb26 100644 --- a/components/notification/NotificationCard.vue +++ b/components/notification/NotificationCard.vue @@ -9,47 +9,55 @@ const { notification } = defineProps<{