MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / QueueStat

Function QueueStat

ui/src/components/PushApprovalPanel.tsx:489–496  ·  view source on GitHub ↗
({ label, value, tone }: { label: string; value: number; tone: 'warn' | 'muted' })

Source from the content-addressed store, hash-verified

487}
488
489function QueueStat({ label, value, tone }: { label: string; value: number; tone: 'warn' | 'muted' }) {
490 return (
491 <div className={`rounded-md border px-2 py-1.5 ${tone === 'warn' ? 'border-yellow-400/30 bg-yellow-400/5' : 'border-border/60 bg-bg/35'}`}>
492 <div className={`text-sm font-semibold tabular-nums ${tone === 'warn' ? 'text-yellow-300' : 'text-text'}`}>{value}</div>
493 <div className="text-[9px] uppercase tracking-wider text-text-muted/55">{label}</div>
494 </div>
495 )
496}
497
498function QueueRow({ item, active, onClick }: { item: ReviewItem; active: boolean; onClick: () => void }) {
499 const ops = itemOperations(item)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected