chore(work-orders): remove ticket keys from lifecycle docs

This commit is contained in:
Codex Review Integration 2026-09-16 17:01:58 -03:00
parent f6a22a9096
commit e65049691c

View file

@ -12,17 +12,17 @@ import {
} from "@/domain/work-orders/utils/wo-closability";
/**
* SH-169: lifecycle states the server derives (Incomplete from create, Scheduled from Schedule On).
* Lifecycle states the server derives (Incomplete from create, Scheduled from Schedule On).
* Past Due is an overlay, not a status. None of these may be picked manually on an existing WO.
*/
export const AUTOMATIC_LIFECYCLE_STATUSES: readonly WizardWOStatus[] = ["Incomplete", "Scheduled"];
/** Manually selectable statuses for an existing WO — Canceled is kebab-only (SH-113). */
/** Manually selectable statuses for an existing WO — Canceled is kebab-only. */
export const BOARD_INLINE_STATUSES: readonly WizardWOStatus[] = ALL_WIZARD_STATUSES.filter(
(status) => !AUTOMATIC_LIFECYCLE_STATUSES.includes(status),
);
/** SH-358: inline options for an existing WO never repeat its current status. */
/** Inline options for an existing WO never repeat its current status. */
export function getInlineStatusTransitions(currentStatus: string): WizardWOStatus[] {
return BOARD_INLINE_STATUSES.filter((status) => status !== currentStatus);
}