Skip to content

Commit

Permalink
Bring back debug conv IDs.
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Jan 22, 2024
1 parent f007313 commit 911c46e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/apps/chat/components/applayout/ChatNavigationItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -136,6 +140,7 @@ function ChatNavigationItem(props: {
flex: 1,
}}
>
{DEBUG_CONVERSATION_IDS && `${conversationId} - `}
{title.trim() ? title : 'Chat'}{assistantTyping && '...'}
</Typography>
) : (
Expand Down

0 comments on commit 911c46e

Please sign in to comment.