From 70f2c582f332aeaa696021568c3681bb17c5dde9 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Thu, 12 Jun 2025 16:53:24 +0100 Subject: [PATCH] UI design improvement for empty sidebar --- .astro/types.d.ts | 1 - src/components/AIChat/AIChat.tsx | 18 ----------- .../AIChatHistory/ListChatHistory.tsx | 32 +++++++++++++++---- 3 files changed, 26 insertions(+), 25 deletions(-) diff --git a/.astro/types.d.ts b/.astro/types.d.ts index 03d7cc43f..f964fe0cf 100644 --- a/.astro/types.d.ts +++ b/.astro/types.d.ts @@ -1,2 +1 @@ /// -/// \ No newline at end of file diff --git a/src/components/AIChat/AIChat.tsx b/src/components/AIChat/AIChat.tsx index 652206d56..669708207 100644 --- a/src/components/AIChat/AIChat.tsx +++ b/src/components/AIChat/AIChat.tsx @@ -433,24 +433,6 @@ export function AIChat(props: AIChatProps) { className="pointer-events-none absolute right-0 bottom-0 left-0 mx-auto w-full max-w-3xl px-4" ref={chatContainerRef} > - {shouldShowUpgradeBanner && ( -
-
-
- -

Your chat history is not saved.

-
- -
-
- )} -
-
- -

- Upgrade to Pro to keep your chat history. -

+
+
+
+ +
+

+ Unlock History +

+

+ Save conversations and pick up right where you left off. +

+
+ +
+
+ + Unlimited history +
+
+ + Search old chats +
+
+