From 911c46ebe2af4357512fa005ae646543a3a1ec21 Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Mon, 22 Jan 2024 14:42:30 -0800 Subject: [PATCH] Bring back debug conv IDs. --- src/apps/chat/components/applayout/ChatNavigationItem.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/apps/chat/components/applayout/ChatNavigationItem.tsx b/src/apps/chat/components/applayout/ChatNavigationItem.tsx index 671c5f967..3288c8c70 100644 --- a/src/apps/chat/components/applayout/ChatNavigationItem.tsx +++ b/src/apps/chat/components/applayout/ChatNavigationItem.tsx @@ -15,6 +15,10 @@ import { DConversationId, useChatStore } from '~/common/state/store-chats'; import { InlineTextarea } from '~/common/components/InlineTextarea'; +// set to true to display the conversation IDs +const DEBUG_CONVERSATION_IDS = false; + + const FadeInButton = styled(IconButton)({ opacity: 0.5, transition: 'opacity 0.2s', @@ -136,6 +140,7 @@ function ChatNavigationItem(props: { flex: 1, }} > + {DEBUG_CONVERSATION_IDS && `${conversationId} - `} {title.trim() ? title : 'Chat'}{assistantTyping && '...'} ) : (