From 99f4679876a794a4749927befa854b4ec91a95b2 Mon Sep 17 00:00:00 2001 From: viettranx Date: Thu, 2 Apr 2026 08:23:16 +0700 Subject: [PATCH] feat(contacts-page): add topic badge, filter, and thread_id display Add topic filtering and display thread_id column on contacts page. Show topic badge in contact listing for better organization. --- ui/web/src/pages/contacts/contacts-page.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/ui/web/src/pages/contacts/contacts-page.tsx b/ui/web/src/pages/contacts/contacts-page.tsx index acb141a2..6cc08936 100644 --- a/ui/web/src/pages/contacts/contacts-page.tsx +++ b/ui/web/src/pages/contacts/contacts-page.tsx @@ -157,6 +157,7 @@ export function ContactsPage() { {t("filters.allTypes")} {t("types.user")} {t("types.group")} + {t("types.topic", "Topic")} @@ -244,13 +245,16 @@ export function ContactsPage() { : — } - {c.sender_id} + + {c.sender_id} + {c.thread_id && :topic:{c.thread_id}} + {c.channel_type} - - {c.contact_type === "user" ? t("types.user") : t("types.group")} + + {c.contact_type === "user" ? t("types.user") : c.contact_type === "topic" ? t("types.topic", "Topic") : t("types.group")}