chore: apply pending dashboard and UI updates

This commit is contained in:
Felipe Coutinho
2026-02-28 15:34:54 +00:00
parent 125e0dfb4e
commit 4a88309709
16 changed files with 609 additions and 197 deletions

View File

@@ -36,6 +36,7 @@ interface InboxCardProps {
onProcess?: (item: InboxItem) => void;
onDiscard?: (item: InboxItem) => void;
onViewDetails?: (item: InboxItem) => void;
onDelete?: (item: InboxItem) => void;
}
function resolveLogoPath(logo: string): string {
@@ -77,6 +78,7 @@ export function InboxCard({
onProcess,
onDiscard,
onViewDetails,
onDelete,
}: InboxCardProps) {
const matchedLogo = useMemo(
() =>
@@ -202,6 +204,16 @@ export function InboxCard({
{formattedStatusDate}
</span>
)}
{onDelete && (
<Button
variant="ghost"
size="icon-sm"
className="ml-auto text-muted-foreground hover:text-destructive"
onClick={() => onDelete(item)}
>
<RiDeleteBinLine className="size-4" />
</Button>
)}
</CardFooter>
) : (
<CardFooter className="gap-2 pt-3 pb-4">