Kairo-Jinkendo/frontend/src/constants/status.js
Lars f33135b87f
All checks were successful
Deploy Development / deploy (push) Successful in 48s
Test Suite / pytest-backend (push) Successful in 3m54s
Test Suite / lint-backend (push) Successful in 3s
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 15s
feat(backlog): Epic-Hierarchie mit parent_backlog_id (ADP P2)
Epics als Backlog-Container mit Baum-UI, Convert-Guard und pytest-Abdeckung — Roll-up bleibt für P4 offen.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 09:22:20 +02:00

170 lines
4.3 KiB
JavaScript

export const PROJECT_STATUSES = ['active', 'paused', 'completed', 'archived']
export const PROJECT_STATUS_LABELS = {
active: 'Aktiv',
paused: 'Pausiert',
completed: 'Abgeschlossen',
archived: 'Archiviert',
}
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 TASK_STATUSES = ['open', 'in_progress', 'done', 'discarded']
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 BACKLOG_ITEM_KINDS = ['story', 'bug', 'issue']
export const BACKLOG_ITEM_KINDS_WITH_EPIC = ['epic', 'story', 'bug', 'issue']
export const BACKLOG_ITEM_KIND_LABELS = {
epic: 'Epic',
story: 'Story',
bug: 'Bug',
issue: 'Issue',
}
export const ACTION_KINDS = ['delivery', 'planning', 'review', 'bug', 'issue']
export const ACTION_KIND_LABELS = {
delivery: 'Lieferung',
planning: 'Planung',
review: 'Review',
bug: 'Bugfix',
issue: 'Issue',
}
export const MILESTONE_STATUS_LABELS = {
planned: 'Geplant',
active: 'Aktiv',
at_risk: 'Gefährdet',
reached: 'Erreicht',
moved: 'Verschoben',
discarded: 'Verworfen',
}
export const ROADMAP_ITEM_TYPE_LABELS = {
milestone: 'Meilenstein / Gate',
review_gate: 'Review-Gate',
maturity_stage: 'Reifegrad-Stufe',
}
export const SEQUENCING_MODE_LABELS = {
sequential: 'Sequenziell',
parallel: 'Parallel',
optional: 'Optional',
}
export const CRITERION_STATUSES = ['open', 'satisfied', 'waived', 'deferred', 'failed']
export const CRITERION_KINDS = ['manual', 'evidence_required', 'review_required', 'metric']
export const CRITERION_STATUS_LABELS = {
open: 'Offen',
satisfied: 'Erfüllt',
waived: 'Ausgelassen',
deferred: 'Verschoben',
failed: 'Fehlgeschlagen',
}
export const CRITERION_KIND_LABELS = {
manual: 'Manuell',
evidence_required: 'Nachweis',
review_required: 'Review',
metric: 'Metrik',
}
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 TASK_STATUS_LABELS = {
open: 'Offen',
in_progress: 'In Arbeit',
done: 'Erledigt',
discarded: 'Verworfen',
}
export const PRIORITY_LABELS = {
low: 'Niedrig',
normal: 'Normal',
high: 'Hoch',
}
export const STATUS_LABELS_BY_KIND = {
initiative: INITIATIVE_STATUS_LABELS,
project: PROJECT_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,
}