From f7c9c736db1d613ebf7a4baafe96f1f02c140bf0 Mon Sep 17 00:00:00 2001 From: Daniel Kantor Date: Fri, 24 Jan 2025 10:34:11 +0100 Subject: [PATCH] add note about ongoing discussion on message type --- src/components/AlertsTable.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/AlertsTable.tsx b/src/components/AlertsTable.tsx index a9256d72..08ba4ccf 100644 --- a/src/components/AlertsTable.tsx +++ b/src/components/AlertsTable.tsx @@ -38,14 +38,16 @@ const getTitle = (alert: AlertConversation) => { }; function TypeCellContent({ alert }: { alert: AlertConversation }) { + // TODO: this should be improved to better make sure all possible + // values from BE are properly handled + // see discussion: https://discord.com/channels/1184987096302239844/1317203257051054120/1332280487464407071 const conversationType = alert.conversation.type; - console.log({ conversationType }); if (conversationType === "chat") { return "Chat"; } - return "Completion"; + return "Code Suggestion"; } export function AlertsTable() {