AP1.16d + AP1.9c: Planning Debt in Attention und Cockpit-Signale.
Deploy Development / deploy (push) Successful in 46s
Test Suite / pytest-backend (push) Successful in 2m18s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 19s
Test Suite / playwright-smoke (push) Successful in 12s
Deploy Development / deploy (push) Successful in 46s
Test Suite / pytest-backend (push) Successful in 2m18s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 19s
Test Suite / playwright-smoke (push) Successful in 12s
Attention-Regeln planning_debt/execution_waiting; Portfolio-Kacheln zeigen Steuerungssignale. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
8546c7021b
commit
b9bfa9e5bd
13 files changed
+352
-12
No files matched your search
@@ -0,0 +1,27 @@
|
||||
import { attentionKindLabel, topAttentionSignals } from '../utils/attentionSignals.js'
|
||||
|
||||
export function InitiativePortfolioSignalChips({ signals = [] }) {
|
||||
const top = topAttentionSignals(signals, 2)
|
||||
if (top.length === 0) {
|
||||
return null
|
||||
}
|
||||
|
||||
return (
|
||||
<ul className="initiative-portfolio-card-signals" aria-label="Steuerungssignale">
|
||||
{top.map((item) => (
|
||||
<li
|
||||
key={`${item.kind}-${item.scope_id}`}
|
||||
className={`initiative-portfolio-card-signal initiative-portfolio-card-signal--${item.severity}`}
|
||||
title={item.summary || item.title}
|
||||
>
|
||||
{attentionKindLabel(item.kind)}
|
||||
</li>
|
||||
))}
|
||||
{signals.length > top.length && (
|
||||
<li className="initiative-portfolio-card-signal initiative-portfolio-card-signal--more muted">
|
||||
+{signals.length - top.length}
|
||||
</li>
|
||||
)}
|
||||
</ul>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user