feat (client): turn unread notification tab into reactions tab
This commit is contained in:
parent
b665a5bccf
commit
794443c859
2 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue