From 812566767d52e0cdc240f5049f9ef216b907cb7b Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 9 Oct 2025 18:05:39 +0800 Subject: [PATCH 1/2] improve Add Memory dialog UX and dark/light mode consistency --- apps/web/components/views/add-memory/index.tsx | 16 +++++++--------- .../views/add-memory/project-selection.tsx | 6 +----- .../components/views/add-memory/text-editor.tsx | 8 +++++++- .../components/views/connections-tab-content.tsx | 4 ++-- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/apps/web/components/views/add-memory/index.tsx b/apps/web/components/views/add-memory/index.tsx index 19e02df1..e5789b9d 100644 --- a/apps/web/components/views/add-memory/index.tsx +++ b/apps/web/components/views/add-memory/index.tsx @@ -634,12 +634,9 @@ export function AddMemoryView({ > {({ state, handleChange, handleBlur }) => ( <> -
- + -
{ e.preventDefault() e.stopPropagation() fileUploadForm.handleSubmit() }} - > + className="h-full flex flex-col" + >
-
+
{/* Left side - Project Selection */} - + withReact(createEditor()) as CustomEditor, []); const [editorValue, setEditorValue] = useState(() => @@ -421,7 +424,8 @@ export function TextEditor({ ); return ( -
+
+
@@ -540,6 +545,7 @@ export function TextEditor({ />
+
); } diff --git a/apps/web/components/views/connections-tab-content.tsx b/apps/web/components/views/connections-tab-content.tsx index 3aa06776..642cd174 100644 --- a/apps/web/components/views/connections-tab-content.tsx +++ b/apps/web/components/views/connections-tab-content.tsx @@ -205,7 +205,7 @@ export function ConnectionsTabContent() { className="p-4 bg-yellow-500/10 border border-yellow-500/20 rounded-lg" initial={{ opacity: 0, y: -10 }} > -

+

🔌 Connections are a Pro feature

@@ -213,7 +213,7 @@ export function ConnectionsTabContent() { sync your documents.