summaryrefslogtreecommitdiff
path: root/makima/frontend/src/components/orders/OrderList.tsx
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-02-17 00:40:32 +0000
committerGitHub <noreply@github.com>2026-02-17 00:40:32 +0000
commitb67b3f8e8d63361d9ff19f87fd608c03bfa3fd43 (patch)
treed5429658a90c4be9a2984617118d2c843cadfdf6 /makima/frontend/src/components/orders/OrderList.tsx
parent4bd40f047a6f4703945c6db2811d8feda27241d6 (diff)
downloadsoryu-b67b3f8e8d63361d9ff19f87fd608c03bfa3fd43.tar.gz
soryu-b67b3f8e8d63361d9ff19f87fd608c03bfa3fd43.zip
soryu-co/soryu - makima (#67)
* feat: soryu-co/soryu - makima: Fix contracts page scrolling overflow * WIP: heartbeat checkpoint * WIP: heartbeat checkpoint * WIP: heartbeat checkpoint * WIP: heartbeat checkpoint * feat: soryu-co/soryu - makima: Remove contract association from orders and make directive mandatory in UI * feat: soryu-co/soryu - makima: Add directive name to order metadata for searchability * feat: soryu-co/soryu - makima: Change directive link in orders to use search interface * feat: soryu-co/soryu - makima: Name directive PRs based on content not directive title * feat: soryu-co/soryu - makima: Add orderId to step creation and auto-link orders to steps * feat: soryu-co/soryu - makima: Add under_review status and auto-complete orders in plan flow
Diffstat (limited to 'makima/frontend/src/components/orders/OrderList.tsx')
-rw-r--r--makima/frontend/src/components/orders/OrderList.tsx5
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>