From 565b0c5a9c159a89ae963733289d37e9cc114fef Mon Sep 17 00:00:00 2001 From: utin-francis-peter Date: Mon, 7 Oct 2024 16:39:47 +0100 Subject: [PATCH 1/6] chore: rm icon next to question bubble --- frontend/src/conversation/ConversationBubble.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx index 3d956e2e8..55c773af0 100644 --- a/frontend/src/conversation/ConversationBubble.tsx +++ b/frontend/src/conversation/ConversationBubble.tsx @@ -58,7 +58,6 @@ const ConversationBubble = forwardRef< ref={ref} className={`flex flex-row-reverse self-end flex-wrap ${className}`} > -
Date: Mon, 7 Oct 2024 16:44:00 +0100 Subject: [PATCH 2/6] chore: Source Docs is now Source --- frontend/src/locale/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/locale/en.json b/frontend/src/locale/en.json index f5b48d759..fcd7ba83c 100644 --- a/frontend/src/locale/en.json +++ b/frontend/src/locale/en.json @@ -7,7 +7,7 @@ "about": "About", "inputPlaceholder": "Type your message here...", "tagline": "DocsGPT uses GenAI, please review critical information using sources.", - "sourceDocs": "Source Docs", + "sourceDocs": "Source", "none": "None", "cancel": "Cancel", "demo": [ From c95b4d13053cf2505b842741a4984be4be0ea114 Mon Sep 17 00:00:00 2001 From: utin-francis-peter Date: Tue, 8 Oct 2024 10:12:06 +0100 Subject: [PATCH 3/6] Revert "chore: rm icon next to question bubble" This reverts commit 565b0c5a9c159a89ae963733289d37e9cc114fef. --- frontend/src/conversation/ConversationBubble.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/conversation/ConversationBubble.tsx b/frontend/src/conversation/ConversationBubble.tsx index 55c773af0..3d956e2e8 100644 --- a/frontend/src/conversation/ConversationBubble.tsx +++ b/frontend/src/conversation/ConversationBubble.tsx @@ -58,6 +58,7 @@ const ConversationBubble = forwardRef< ref={ref} className={`flex flex-row-reverse self-end flex-wrap ${className}`} > +
Date: Tue, 8 Oct 2024 10:18:55 +0100 Subject: [PATCH 4/6] chore: updated lang variant of "Source" across locales --- frontend/src/locale/es.json | 2 +- frontend/src/locale/jp.json | 2 +- frontend/src/locale/zh.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/locale/es.json b/frontend/src/locale/es.json index 98b38d7c3..024852615 100644 --- a/frontend/src/locale/es.json +++ b/frontend/src/locale/es.json @@ -7,7 +7,7 @@ "about": "Acerca de", "inputPlaceholder": "Escribe tu mensaje aquí...", "tagline": "DocsGPT utiliza GenAI, por favor revisa información crítica utilizando fuentes.", - "sourceDocs": "Documentos Fuente", + "sourceDocs": "Fuente", "none": "Nada", "cancel": "Cancelar", "demo": [ diff --git a/frontend/src/locale/jp.json b/frontend/src/locale/jp.json index b34cc5e56..331891df9 100644 --- a/frontend/src/locale/jp.json +++ b/frontend/src/locale/jp.json @@ -7,7 +7,7 @@ "about": "について", "inputPlaceholder": "ここにメッセージを入力してください...", "tagline": "DocsGPTはGenAIを使用しています。重要な情報はソースで確認してください。", - "sourceDocs": "ソースドキュメント", + "sourceDocs": "ソース", "none": "なし", "cancel": "キャンセル", "demo": [ diff --git a/frontend/src/locale/zh.json b/frontend/src/locale/zh.json index 7decdefe8..13eebab2f 100644 --- a/frontend/src/locale/zh.json +++ b/frontend/src/locale/zh.json @@ -7,7 +7,7 @@ "about": "关于", "inputPlaceholder": "在这里输入您的消息...", "tagline": "DocsGPT 使用 GenAI, 请使用来源审核关键信息.", - "sourceDocs": "来源文档", + "sourceDocs": "源", "none": "无", "cancel": "取消", "demo": [ From 62af7549c7d9f986c2231ad06708a342fcaeba35 Mon Sep 17 00:00:00 2001 From: utin-francis-peter Date: Tue, 8 Oct 2024 10:34:22 +0100 Subject: [PATCH 5/6] chore: removed mssg icon that's beside a conversationTile name --- frontend/src/conversation/ConversationTile.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/conversation/ConversationTile.tsx b/frontend/src/conversation/ConversationTile.tsx index 3a0b85e4f..537d6397c 100644 --- a/frontend/src/conversation/ConversationTile.tsx +++ b/frontend/src/conversation/ConversationTile.tsx @@ -2,8 +2,6 @@ import { SyntheticEvent, useEffect, useRef, useState } from 'react'; import { useSelector } from 'react-redux'; import Edit from '../assets/edit.svg'; import Exit from '../assets/exit.svg'; -import Message from '../assets/message.svg'; -import MessageDark from '../assets/message-dark.svg'; import { useDarkTheme } from '../hooks'; import ConfirmationModal from '../modals/ConfirmationModal'; import CheckMark2 from '../assets/checkMark2.svg'; @@ -100,10 +98,7 @@ export default function ConversationTile({ }`} >
- +
{isEdit ? ( Date: Tue, 8 Oct 2024 12:36:36 +0100 Subject: [PATCH 6/6] style: adjusted left padding in ConversationTile --- frontend/src/conversation/ConversationTile.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/conversation/ConversationTile.tsx b/frontend/src/conversation/ConversationTile.tsx index 537d6397c..040ba031f 100644 --- a/frontend/src/conversation/ConversationTile.tsx +++ b/frontend/src/conversation/ConversationTile.tsx @@ -91,14 +91,13 @@ export default function ConversationTile({ conversationId !== conversation.id && selectConversation(conversation.id); }} - className={`my-auto mx-4 mt-4 flex h-9 cursor-pointer items-center justify-between gap-4 rounded-3xl hover:bg-gray-100 dark:hover:bg-[#28292E] ${ + className={`my-auto mx-4 mt-4 flex h-9 cursor-pointer items-center justify-between pl-4 gap-4 rounded-3xl hover:bg-gray-100 dark:hover:bg-[#28292E] ${ conversationId === conversation.id || isOpen || isHovered ? 'bg-gray-100 dark:bg-[#28292E]' : '' }`} >
-
{isEdit ? (