Some checks failed
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Failing after 2m18s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
generic_operating ohne harte Blockade, Reifegrad-Methoden mit Erfuellungsgrad; Attention gate_graph_blocked fuer gate-orientierte Methoden. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
516 B
JavaScript
20 lines
516 B
JavaScript
export function GateFulfillmentBadge({ graphState, itemId }) {
|
|
const ratio = graphState?.items?.[itemId]?.fulfillment_ratio
|
|
if (ratio == null) return null
|
|
|
|
const pct = Math.round(ratio * 100)
|
|
const emphasize = graphState?.graph_profile?.emphasize_fulfillment
|
|
|
|
return (
|
|
<span
|
|
className={
|
|
'status-pill status-pill--fulfillment' +
|
|
(emphasize ? ' status-pill--fulfillment-primary' : '')
|
|
}
|
|
title="Kriterien erfüllt / gesamt"
|
|
>
|
|
{pct}% Kriterien
|
|
</span>
|
|
)
|
|
}
|