refactor: simplify alert descriptions, improved icons, improved UI in LLM settings

This commit is contained in:
Anish Sarkar 2026-04-10 19:07:35 +05:30
parent 0925f89b7c
commit 42572ad09d
11 changed files with 28 additions and 117 deletions

View file

@ -182,7 +182,7 @@ export function MemoryContent() {
<AlertDescription className="text-xs md:text-sm">
<p>
SurfSense uses this personal memory to personalize your responses across all
conversations. Use the input below to add, update, or remove memory entries.
conversations.
</p>
</AlertDescription>
</Alert>

View file

@ -1,7 +1,7 @@
"use client";
import { useQuery } from "@tanstack/react-query";
import { Receipt } from "lucide-react";
import { ReceiptText } from "lucide-react";
import { Badge } from "@/components/ui/badge";
import { Spinner } from "@/components/ui/spinner";
import {
@ -65,7 +65,7 @@ export function PurchaseHistoryContent() {
if (purchases.length === 0) {
return (
<div className="flex flex-col items-center justify-center gap-2 py-16 text-center">
<Receipt className="h-8 w-8 text-muted-foreground" />
<ReceiptText className="h-8 w-8 text-muted-foreground" />
<p className="text-sm font-medium">No purchases yet</p>
<p className="text-xs text-muted-foreground">
Your page-pack purchases will appear here after checkout.