All checks were successful
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 1m6s
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 21s
Test Suite / playwright-smoke (push) Successful in 14s
Schließt den zweiten OM-Slice entlang der Roadmap: neue Entitäten parallel im Vorhaben, erweiterte Action-Status/Fälligkeit und Attention-Regeln 7–9. Co-authored-by: Cursor <cursoragent@cursor.com>
104 lines
2.7 KiB
JavaScript
104 lines
2.7 KiB
JavaScript
export const INITIATIVE_STATUSES = ['active', 'paused', 'completed', 'archived']
|
|
export const ACTION_STATUSES = [
|
|
'open',
|
|
'ready',
|
|
'in_progress',
|
|
'blocked',
|
|
'review_required',
|
|
'done',
|
|
'discarded',
|
|
]
|
|
export const BLOCKER_STATUSES = ['open', 'in_progress', 'resolved', 'accepted_risk', 'dismissed']
|
|
export const BACKLOG_STATUSES = ['new', 'triaged', 'accepted', 'rejected', 'converted']
|
|
export const MILESTONE_STATUSES = ['planned', 'active', 'at_risk', 'reached', 'moved', 'discarded']
|
|
export const EVIDENCE_STATUSES = ['submitted', 'accepted', 'rejected']
|
|
export const DECISION_STATUSES = ['proposed', 'decided', 'superseded']
|
|
export const REVIEW_STATUSES = ['planned', 'completed', 'skipped']
|
|
export const RECURRING_STATUSES = ['active', 'paused', 'ended']
|
|
export const PRIORITIES = ['low', 'normal', 'high']
|
|
export const OPEN_ACTION_STATUSES = ['open', 'ready', 'in_progress', 'blocked', 'review_required']
|
|
|
|
export const INITIATIVE_STATUS_LABELS = {
|
|
active: 'Aktiv',
|
|
paused: 'Pausiert',
|
|
completed: 'Abgeschlossen',
|
|
archived: 'Archiviert',
|
|
}
|
|
|
|
export const ACTION_STATUS_LABELS = {
|
|
open: 'Offen',
|
|
ready: 'Bereit',
|
|
in_progress: 'In Arbeit',
|
|
blocked: 'Blockiert',
|
|
review_required: 'Review nötig',
|
|
done: 'Erledigt',
|
|
discarded: 'Verworfen',
|
|
}
|
|
|
|
export const BLOCKER_STATUS_LABELS = {
|
|
open: 'Offen',
|
|
in_progress: 'In Klärung',
|
|
resolved: 'Gelöst',
|
|
accepted_risk: 'Risiko akzeptiert',
|
|
dismissed: 'Verworfen',
|
|
}
|
|
|
|
export const BACKLOG_STATUS_LABELS = {
|
|
new: 'Neu',
|
|
triaged: 'Eingeordnet',
|
|
accepted: 'Freigegeben',
|
|
rejected: 'Abgelehnt',
|
|
converted: 'Umgewandelt',
|
|
}
|
|
|
|
export const MILESTONE_STATUS_LABELS = {
|
|
planned: 'Geplant',
|
|
active: 'Aktiv',
|
|
at_risk: 'Gefährdet',
|
|
reached: 'Erreicht',
|
|
moved: 'Verschoben',
|
|
discarded: 'Verworfen',
|
|
}
|
|
|
|
export const EVIDENCE_STATUS_LABELS = {
|
|
submitted: 'Eingereicht',
|
|
accepted: 'Akzeptiert',
|
|
rejected: 'Abgelehnt',
|
|
}
|
|
|
|
export const DECISION_STATUS_LABELS = {
|
|
proposed: 'Vorgeschlagen',
|
|
decided: 'Entschieden',
|
|
superseded: 'Ersetzt',
|
|
}
|
|
|
|
export const REVIEW_STATUS_LABELS = {
|
|
planned: 'Geplant',
|
|
completed: 'Abgeschlossen',
|
|
skipped: 'Übersprungen',
|
|
}
|
|
|
|
export const RECURRING_STATUS_LABELS = {
|
|
active: 'Aktiv',
|
|
paused: 'Pausiert',
|
|
ended: 'Beendet',
|
|
}
|
|
|
|
export const PRIORITY_LABELS = {
|
|
low: 'Niedrig',
|
|
normal: 'Normal',
|
|
high: 'Hoch',
|
|
}
|
|
|
|
export const STATUS_LABELS_BY_KIND = {
|
|
initiative: INITIATIVE_STATUS_LABELS,
|
|
action: ACTION_STATUS_LABELS,
|
|
blocker: BLOCKER_STATUS_LABELS,
|
|
backlog: BACKLOG_STATUS_LABELS,
|
|
milestone: MILESTONE_STATUS_LABELS,
|
|
evidence: EVIDENCE_STATUS_LABELS,
|
|
decision: DECISION_STATUS_LABELS,
|
|
review: REVIEW_STATUS_LABELS,
|
|
recurring: RECURRING_STATUS_LABELS,
|
|
}
|