From 3437312167ea68cc37d00cd1524f881e7fe4c1ab Mon Sep 17 00:00:00 2001 From: chenhang Date: Fri, 17 Jul 2026 12:47:39 +0800 Subject: [PATCH] fix(chat): clarify daily free chat limit --- src/app/chat/__tests__/chat-screen.helpers.test.ts | 4 ++-- src/app/chat/chat-screen.helpers.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/chat/__tests__/chat-screen.helpers.test.ts b/src/app/chat/__tests__/chat-screen.helpers.test.ts index 8444766d..d780ab13 100644 --- a/src/app/chat/__tests__/chat-screen.helpers.test.ts +++ b/src/app/chat/__tests__/chat-screen.helpers.test.ts @@ -13,8 +13,8 @@ afterEach(() => { describe("getInsufficientCreditsMessageLimitView", () => { it("shows the same top-up prompt without checking login status", () => { expect(getInsufficientCreditsMessageLimitView()).toEqual({ - title: "Insufficient credits", - description: "Free chats refresh every day.", + title: "Out of Daily Free Chats", + description: "", ctaLabel: "Top up credits to continue", }); }); diff --git a/src/app/chat/chat-screen.helpers.ts b/src/app/chat/chat-screen.helpers.ts index 17387a1e..b335b0ff 100644 --- a/src/app/chat/chat-screen.helpers.ts +++ b/src/app/chat/chat-screen.helpers.ts @@ -37,8 +37,8 @@ export function shouldShowMessageLimitBanner({ export function getInsufficientCreditsMessageLimitView(): InsufficientCreditsMessageLimitView { return { - title: "Insufficient credits", - description: "Free chats refresh every day.", + title: "Out of Daily Free Chats", + description: "", ctaLabel: "Top up credits to continue", }; }