Approval Inbox
AI · ApprovalInbox
All open approvals across projects, oldest first, next to the selected ApprovalCard.
Props: items ({id, title, agent, project, family, familyLabel, age, ageMin, urgent}), selected, onSelect(id), emptyTitle, emptyText, label.
- Oldest first: the one closest to escalation is on top;
urgentturns its age into a warning. - J / K or ↓ / ↑ move the selection; the card next to it takes A–D.
Props
ApprovalInbox
| Prop | Type | Notes |
|---|---|---|
items | ApprovalInboxItem[] | Required |
selected? | ApprovalInboxItem["id"] | |
onSelect? | (id: ApprovalInboxItem["id"]) => void | |
emptyTitle? | string | |
emptyText? | string | |
label? | string | |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |