From fd61a0528760109fed01260577bd36690c76d316 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Mon, 24 Nov 2025 10:10:21 +0900 Subject: [PATCH] feat: dispaly `quote` notifications (#3435) --- app/components/notification/NotificationCard.vue | 12 +++++++++++- .../notification/NotificationPaginator.vue | 9 ++++++++- app/constants/index.ts | 14 +++++++++++++- app/pages/notifications.vue | 2 ++ locales/en.json | 1 + service-worker/types.ts | 2 +- 6 files changed, 36 insertions(+), 4 deletions(-) diff --git a/app/components/notification/NotificationCard.vue b/app/components/notification/NotificationCard.vue index 20d3aa4f..8fdeac19 100644 --- a/app/components/notification/NotificationCard.vue +++ b/app/components/notification/NotificationCard.vue @@ -25,6 +25,8 @@ const supportedNotificationTypes: NotificationType[] = [ 'update', 'status', 'annual_report', + // @ts-expect-error masto.js type does not include this new type yet (ref. https://github.com/neet/masto.js/pull/1357) + 'quote', ] // well-known emoji reactions types Elk does not support yet @@ -130,7 +132,15 @@ const timeAgo = useTimeAgo(() => notification.createdAt, timeAgoOptions) -