From 7f07aedb8a8fdc892b5512f7a14622d7ab25eb66 Mon Sep 17 00:00:00 2001 From: Jack Kingsman Date: Wed, 1 Apr 2026 15:39:40 -0700 Subject: [PATCH] Make repeaters blockable, and hide from the sidebar --- frontend/src/App.tsx | 2 + frontend/src/components/ContactInfoPane.tsx | 4 +- frontend/src/components/Sidebar.tsx | 47 ++++++++++++++------- 3 files changed, 36 insertions(+), 17 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 47b5f09..84ac2ec 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -471,6 +471,8 @@ export function App() { favorites, legacySortOrder: appSettings?.sidebar_sort_order, isConversationNotificationsEnabled, + blockedKeys: appSettings?.blocked_keys ?? [], + blockedNames: appSettings?.blocked_names ?? [], }; const conversationPaneProps = { activeConversation, diff --git a/frontend/src/components/ContactInfoPane.tsx b/frontend/src/components/ContactInfoPane.tsx index 8e5e1e1..2197031 100644 --- a/frontend/src/components/ContactInfoPane.tsx +++ b/frontend/src/components/ContactInfoPane.tsx @@ -398,8 +398,8 @@ export function ContactInfoPane({ - {/* Block toggles (not applicable to repeaters) */} - {!isRepeater && (onToggleBlockedKey || onToggleBlockedName) && ( + {/* Block toggles */} + {(onToggleBlockedKey || onToggleBlockedName) && (
{onToggleBlockedKey && (