From 09eba06bd28a88e0bc4a3e3f4dd16ae223379e46 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Wed, 26 Aug 2026 11:15:23 +0200 Subject: [PATCH] fix(tags): drop total unread counter - unread conversations always show on collapse was implemented before counter, making this redundant - this reverts commit 585d7fd1568e17991276b58f65cac859ca055681 and drops NcCounterBubble component - total unread still needed for 'mark all as read' Signed-off-by: Maksim Sukharev --- .../ConversationTagHeader.vue | 15 ------- .../ConversationsListVirtual.vue | 41 +------------------ 2 files changed, 2 insertions(+), 54 deletions(-) diff --git a/src/components/LeftSidebar/ConversationsList/ConversationTagHeader.vue b/src/components/LeftSidebar/ConversationsList/ConversationTagHeader.vue index 0c8f063a1e6..a62ebdbffdc 100644 --- a/src/components/LeftSidebar/ConversationsList/ConversationTagHeader.vue +++ b/src/components/LeftSidebar/ConversationsList/ConversationTagHeader.vue @@ -13,7 +13,6 @@ import { useStore } from 'vuex' import NcActionButton from '@nextcloud/vue/components/NcActionButton' import NcActionSeparator from '@nextcloud/vue/components/NcActionSeparator' import NcAppNavigationItem from '@nextcloud/vue/components/NcAppNavigationItem' -import NcCounterBubble from '@nextcloud/vue/components/NcCounterBubble' import NcIconSvgWrapper from '@nextcloud/vue/components/NcIconSvgWrapper' import IconArrowDown from 'vue-material-design-icons/ArrowDown.vue' import IconArrowUp from 'vue-material-design-icons/ArrowUp.vue' @@ -26,8 +25,6 @@ import { useConversationTagsStore } from '../../../stores/conversationTags.ts' export type TagHeaderItem = ConversationTag & { _type: 'tag-header' unreadCount: number - unreadMention: boolean - unreadMentionDirect: boolean isFirst?: boolean isLast?: boolean } @@ -40,15 +37,6 @@ const vuexStore = useStore() const tagsStore = useConversationTagsStore() const isCustomTag = computed(() => props.item.type === 'custom') -const counterType = computed(() => { - if (props.item.unreadMentionDirect) { - return 'highlighted' - } else if (props.item.unreadMention) { - return 'outlined' - } else { - return '' - } -}) /** * Assign a new name to the tag via dialog @@ -139,9 +127,6 @@ async function handleMarkReadTag() { @update:open="tagsStore.toggleCollapsed(item.id)">
  • -