diff --git a/docs/changelog.md b/docs/changelog.md index ca58780ba9..ee036a1941 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -4,6 +4,7 @@ - remove auto NSFW media detection - the "Hide NSFW media" config is now per device and per account - increase the max number of pinned posts from 5 to 15 +- change the second tab on the notifications page from "unread" to "reactions" # v20240216 diff --git a/packages/client/src/pages/notifications.vue b/packages/client/src/pages/notifications.vue index 0eaeffdf6e..bc35e298e6 100644 --- a/packages/client/src/pages/notifications.vue +++ b/packages/client/src/pages/notifications.vue @@ -35,8 +35,8 @@ <swiper-slide> <XNotifications class="notifications" - :include-types="includeTypes" - :unread-only="true" + :include-types="['reaction']" + :unread-only="false" /> </swiper-slide> <swiper-slide> @@ -66,7 +66,7 @@ import icon from "@/scripts/icon"; import "swiper/scss"; import "swiper/scss/virtual"; -const tabs = ["all", "unread", "mentions", "directNotes"]; +const tabs = ["all", "reactions", "mentions", "directNotes"]; const tab = ref(tabs[0]); watch(tab, () => syncSlide(tabs.indexOf(tab.value))); @@ -149,9 +149,9 @@ const headerTabs = computed(() => [ icon: `${icon("ph-bell")}`, }, { - key: "unread", - title: i18n.ts.unread, - icon: `${icon("ph-circle-wavy-warning")}`, + key: "reactions", + title: i18n.ts.reaction, + icon: `${icon("ph-smiley")}`, }, { key: "mentions",