From 260d201731ac5f3778ff32e74b4bb93825969336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Fri, 24 Jul 2026 14:47:09 +0000 Subject: [PATCH] chat: delete dead EmailChat.tsx Orphaned standalone email-assistant chat, superseded by the officerdev/chat panel (ChatPanelWrapper) that the email layout uses. Imported nowhere. Co-Authored-By: Claude Opus 4.8 --- .../Screens/Dashboard/Email/EmailChat.tsx | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/apps/officer-web/Screens/Dashboard/Email/EmailChat.tsx diff --git a/src/apps/officer-web/Screens/Dashboard/Email/EmailChat.tsx b/src/apps/officer-web/Screens/Dashboard/Email/EmailChat.tsx deleted file mode 100644 index da45654a..00000000 --- a/src/apps/officer-web/Screens/Dashboard/Email/EmailChat.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import { EmbeddableChat, usePiChat } from 'officerdev'; - -const PROMPT_PREFIX = `You are an email assistant. The user has a local SQLite email database available via the "email_db" tool — use it for all email queries (search, count, stats, aggregations, deletions) unless the user explicitly asks you to use Gmail. Do not use the Gmail integration for questions about existing emails.`; - -export const EmailChat = () => { - const chat = usePiChat(undefined, undefined, { replaceUrl: false }); - - return ( - - ); -};