From 5bb4c1cb1e5597e1d25424a8fb95cc5d92e5d121 Mon Sep 17 00:00:00 2001 From: xintaofei Date: Fri, 17 Apr 2026 21:52:43 +0800 Subject: [PATCH] feat(chat-channel): annotate Weixin channel badge with iLink reconnect hint tooltip --- src/components/settings/channel-list-tab.tsx | 31 +++++++++++++++++++- src/i18n/messages/ar.json | 1 + src/i18n/messages/de.json | 1 + src/i18n/messages/en.json | 1 + src/i18n/messages/es.json | 1 + src/i18n/messages/fr.json | 1 + src/i18n/messages/ja.json | 1 + src/i18n/messages/ko.json | 1 + src/i18n/messages/pt.json | 1 + src/i18n/messages/zh-CN.json | 1 + src/i18n/messages/zh-TW.json | 1 + 11 files changed, 40 insertions(+), 1 deletion(-) diff --git a/src/components/settings/channel-list-tab.tsx b/src/components/settings/channel-list-tab.tsx index d2767ed..a2cb67c 100644 --- a/src/components/settings/channel-list-tab.tsx +++ b/src/components/settings/channel-list-tab.tsx @@ -2,6 +2,7 @@ import { useCallback, useEffect, useState } from "react" import { + AlertCircle, Loader2, MessageCircle, Pencil, @@ -27,6 +28,12 @@ import { AlertDialogHeader, AlertDialogTitle, } from "@/components/ui/alert-dialog" +import { + Tooltip, + TooltipContent, + TooltipProvider, + TooltipTrigger, +} from "@/components/ui/tooltip" import { listChatChannels, deleteChatChannel, @@ -250,8 +257,30 @@ export function ChannelListTab() {
{ch.name} - + {ch.channel_type} + {ch.channel_type === "weixin" && ( + + + + + + + + + {t("weixinReconnectNotice")} + + + + )}