From 5d244e329bf47ba4c247e89221c46e2a713d596d Mon Sep 17 00:00:00 2001 From: Amr Gaber Date: Fri, 6 Feb 2026 18:15:11 -0600 Subject: [PATCH] Show estimated value and date added on All Items cards Add a line below the item description showing the estimated value (when present) and the date added, formatted as "Mon DD, YYYY". --- src/pages/items/all-items-page.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/pages/items/all-items-page.tsx b/src/pages/items/all-items-page.tsx index bf920f1..927b766 100644 --- a/src/pages/items/all-items-page.tsx +++ b/src/pages/items/all-items-page.tsx @@ -254,6 +254,25 @@ function ItemCard({ item }: { item: ItemRead }) { {item.description}

)} +
+ {item.estimated_value && ( + + $ + {parseFloat(item.estimated_value).toLocaleString(undefined, { + minimumFractionDigits: 2, + maximumFractionDigits: 2, + })} + + )} + {item.estimated_value && item.created_at && ·} + + {new Date(item.created_at).toLocaleDateString(undefined, { + month: "short", + day: "numeric", + year: "numeric", + })} + +
{item.collection_name && (