diff options
Diffstat (limited to 'makima/frontend/src/components/orders/OrderList.tsx')
| -rw-r--r-- | makima/frontend/src/components/orders/OrderList.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/makima/frontend/src/components/orders/OrderList.tsx b/makima/frontend/src/components/orders/OrderList.tsx index 1d279f7..3d63c54 100644 --- a/makima/frontend/src/components/orders/OrderList.tsx +++ b/makima/frontend/src/components/orders/OrderList.tsx @@ -4,6 +4,7 @@ import type { Order, OrderStatus, OrderPriority, OrderType } from "../../lib/api const STATUS_BADGE: Record<OrderStatus, { color: string; label: string }> = { open: { color: "text-[#75aafc] border-[rgba(117,170,252,0.4)]", label: "OPEN" }, in_progress: { color: "text-yellow-400 border-yellow-800", label: "IN PROGRESS" }, + under_review: { color: "text-amber-400 border-amber-800", label: "REVIEW" }, done: { color: "text-emerald-400 border-emerald-800", label: "DONE" }, archived: { color: "text-[#556677] border-[#2a3a5a]", label: "ARCHIVED" }, }; @@ -35,7 +36,7 @@ interface OrderListProps { onTypeFilter: (t: OrderType | undefined) => void; } -const STATUS_OPTIONS: (OrderStatus | "all")[] = ["all", "open", "in_progress", "done", "archived"]; +const STATUS_OPTIONS: (OrderStatus | "all")[] = ["all", "open", "in_progress", "under_review", "done", "archived"]; const TYPE_OPTIONS: (OrderType | "all")[] = ["all", "feature", "bug", "spike", "chore", "improvement"]; export function OrderList({ @@ -105,7 +106,7 @@ export function OrderList({ : "text-[#556677] hover:text-[#7788aa] border border-transparent" }`} > - {s === "all" ? "ALL" : s === "in_progress" ? "WIP" : s.toUpperCase()} + {s === "all" ? "ALL" : s === "in_progress" ? "WIP" : s === "under_review" ? "REVIEW" : s.toUpperCase()} </button> ))} </div> |
