From b7bb6121b7fecfb1edd218d6272535579937ceed Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Mon, 24 Nov 2025 03:32:40 +0000 Subject: [PATCH] Update StateTag component to rename 'unconsumed' state to 'new' and add 'used' state with corresponding status and text. --- src/components/Dashboard/common/StateTag.jsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/Dashboard/common/StateTag.jsx b/src/components/Dashboard/common/StateTag.jsx index b0f5c5d..b149859 100644 --- a/src/components/Dashboard/common/StateTag.jsx +++ b/src/components/Dashboard/common/StateTag.jsx @@ -56,9 +56,9 @@ const StateTag = ({ state, showBadge = true, style = {} }) => { status = 'success' text = 'Ready' break - case 'unconsumed': + case 'new': status = 'success' - text = 'Unconsumed' + text = 'New' break case 'error': status = 'error' @@ -80,6 +80,10 @@ const StateTag = ({ state, showBadge = true, style = {} }) => { status = 'warning' text = 'Queued' break + case 'used': + status = 'warning' + text = 'Used' + break default: status = 'default' text = state || 'Unknown'