feat(AP2.2b, UX): Linear E2E, Composition-Kernel und Steering-Paritaet
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Successful in 4m24s
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 18s
Test Suite / playwright-smoke (push) Successful in 12s
Deploy Development / deploy (push) Successful in 47s
Test Suite / pytest-backend (push) Successful in 4m24s
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 18s
Test Suite / playwright-smoke (push) Successful in 12s
AP2.2b: Integrationstests Neue-Kueche-Happy-Path, Truth Table und Execution Plan abgeschlossen. UX Composition Kernel (Control/Plan/Cockpit-Slots), CriticalPathPanel aus Kernel-Read-Model mit Gate-Horizont, Next Action elementgesteuert ohne Snapshot-Doppelung, Product-Continuous-Copy und Plan/Arbeit ueber Kernel planning_debt. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
b6434bcc50
commit
43d33d0edb
22 files changed
+1527
-243
No files matched your search
@@ -0,0 +1,49 @@
|
||||
import { Link } from 'react-router-dom'
|
||||
import { scopedPath } from '../utils/routes.js'
|
||||
import { SteeringSnapshotPanel } from '../components/SteeringSnapshotPanel.jsx'
|
||||
import { CriticalPathPanel } from '../components/CriticalPathPanel.jsx'
|
||||
import { AgentSlotsPanel } from '../components/AgentSlotsPanel.jsx'
|
||||
import { SteeringProposalsPanel } from '../components/SteeringProposalsPanel.jsx'
|
||||
import { NextActionWidget } from '../widgets/NextActionWidget.jsx'
|
||||
|
||||
/** Roadblocker-Strip — extrahiert aus InitiativeOverviewPage für Composition. */
|
||||
export function RoadblockersStrip({ initiativeId, actionsBlocked = 0, blockersOpen = 0 }) {
|
||||
if (actionsBlocked <= 0 && blockersOpen <= 0) return null
|
||||
return (
|
||||
<section className="card initiative-summary-strip">
|
||||
<h2 className="card-title">Roadblocker</h2>
|
||||
<p className="muted">
|
||||
{actionsBlocked > 0 && <span>{actionsBlocked} blockierte Arbeitspakete</span>}
|
||||
{actionsBlocked > 0 && blockersOpen > 0 && ' · '}
|
||||
{blockersOpen > 0 && <span>{blockersOpen} offene Blocker</span>}
|
||||
</p>
|
||||
<Link to={scopedPath('/work/today', { initiativeId })} className="btn btn-secondary btn-sm">
|
||||
Zur Ausführung
|
||||
</Link>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
export function WidgetHost({ widget }) {
|
||||
if (!widget?.component) return null
|
||||
const Component = widget.component
|
||||
return <Component key={widget.key} />
|
||||
}
|
||||
|
||||
/** @type {Record<string, import('react').ComponentType<any>>} */
|
||||
export const PROVIDER_COMPONENTS = {
|
||||
SteeringSnapshotPanel,
|
||||
CriticalPathPanel,
|
||||
NextActionWidget,
|
||||
AgentSlotsPanel,
|
||||
SteeringProposalsPanel,
|
||||
RoadblockersStrip,
|
||||
WidgetHost,
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} componentKey
|
||||
*/
|
||||
export function getProviderComponent(componentKey) {
|
||||
return PROVIDER_COMPONENTS[componentKey] || null
|
||||
}
|
||||
Reference in new issue
Block a user