diff --git a/src/components/chat/conversation-context-bar.tsx b/src/components/chat/conversation-context-bar.tsx index 3209e53..0f8a583 100644 --- a/src/components/chat/conversation-context-bar.tsx +++ b/src/components/chat/conversation-context-bar.tsx @@ -64,6 +64,7 @@ export const ConversationContextBar = memo(function ConversationContextBar({ folders={folders} currentFolderId={ownFolder.id} currentFolderName={ownFolder.name} + title={`${t("folderTitle")}: ${ownFolder.name}`} editable={isNewConversation} onSelect={async (folderId) => { const target = folders.find((f) => f.id === folderId) @@ -87,6 +88,7 @@ export const ConversationContextBar = memo(function ConversationContextBar({ folderId={ownFolder.id} folderPath={ownFolder.path} currentBranch={currentBranch} + title={`${t("branchTitle")}: ${currentBranch ?? t("noBranch")}`} onCheckout={async (branchName) => { const taskId = `checkout-${ownFolder.id}-${Date.now()}` addTask(taskId, tBd("tasks.checkoutTo", { branchName })) @@ -117,6 +119,7 @@ interface FolderPickerProps { folders: { id: number; name: string; path: string }[] currentFolderId: number currentFolderName: string + title: string editable: boolean onSelect: (folderId: number) => void | Promise labelEmpty: string @@ -127,6 +130,7 @@ const FolderPicker = memo(function FolderPicker({ folders, currentFolderId, currentFolderName, + title, editable, onSelect, labelEmpty, @@ -138,7 +142,7 @@ const FolderPicker = memo(function FolderPicker({