feat(A1): Progression Join-Graph und Multi-Strang-Horizon
Deploy Development / deploy (push) Successful in 52s
Test Suite / pytest-backend (push) Failing after 5m3s
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 3s
Test Suite / compose-smoke (push) Has been skipped
Deploy Development / deploy (push) Successful in 52s
Test Suite / pytest-backend (push) Failing after 5m3s
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 3s
Test Suite / compose-smoke (push) Has been skipped
join_gate, strand_project_id, Join-Auto-Schalten, multi-active Gates, Progression-Demo und PO-Lock-Spec. FE: Today strang-gruppiert, Join-Warteliste in Kontrolle. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
192a65a798
commit
3a0ef3a734
29 files changed
+1457
-230
No files matched your search
@@ -12,10 +12,10 @@ function formatDueAt(iso) {
|
||||
}
|
||||
}
|
||||
|
||||
function activeMaturityStage(roadmapItems = []) {
|
||||
function activeMaturityStages(roadmapItems = []) {
|
||||
return [...roadmapItems]
|
||||
.filter((item) => item.item_type === 'maturity_stage' && item.status === 'active')
|
||||
.sort((a, b) => (a.sort_order ?? 0) - (b.sort_order ?? 0))[0]
|
||||
.sort((a, b) => (a.sort_order ?? 0) - (b.sort_order ?? 0))
|
||||
}
|
||||
|
||||
function practicesForStage(recurringItems = [], stageId) {
|
||||
@@ -32,20 +32,22 @@ export function RecurringRhythmPanel({
|
||||
canManage = false,
|
||||
embedded = true,
|
||||
}) {
|
||||
const stage = activeMaturityStage(roadmapItems)
|
||||
const stagePractices = practicesForStage(recurringItems, stage?.id)
|
||||
const stages = activeMaturityStages(roadmapItems)
|
||||
const stagePractices = stages.flatMap((stage) =>
|
||||
practicesForStage(recurringItems, stage.id),
|
||||
)
|
||||
const active = stagePractices.filter((item) => item.status === 'active')
|
||||
const paused = stagePractices.filter((item) => item.status === 'paused')
|
||||
|
||||
const body =
|
||||
!stage ? (
|
||||
<EmptyState message="Keine aktive Reifegrad-Stufe — Plan → Stufen prüfen." />
|
||||
stages.length === 0 ? (
|
||||
<EmptyState message="Keine aktiven Work-Gates — Plan → Struktur prüfen." />
|
||||
) : stagePractices.length === 0 ? (
|
||||
<EmptyState message="Keine Übungen für diese Stufe — Starter-Kit oder Stufenwechsel prüfen." />
|
||||
<EmptyState message="Keine Übungen auf aktiven Gates — Starter-Kit oder Join prüfen." />
|
||||
) : (
|
||||
<>
|
||||
<p className="recurring-rhythm-summary muted">
|
||||
Stufe <strong>{stage.title}</strong> — {active.length} aktiv
|
||||
{stages.length} aktive Gate(s) — {active.length} Übung(en) aktiv
|
||||
{paused.length > 0 ? `, ${paused.length} pausiert` : ''}.
|
||||
</p>
|
||||
<ul className="item-list recurring-rhythm-list">
|
||||
@@ -92,9 +94,9 @@ export function RecurringRhythmPanel({
|
||||
<section className="card recurring-rhythm-panel">
|
||||
<div className="section-header">
|
||||
<div>
|
||||
<h2>Übungen der Stufe</h2>
|
||||
<h2>Übungen der aktiven Gates</h2>
|
||||
<p className="section-lead muted">
|
||||
Activity Set der aktiven Reifegrad-Stufe — nicht die Gates selbst (A1).
|
||||
Activity Sets aller aktiven Work-Gates — Join-Knoten haben keine Übungen (A1).
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user