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

This commit is contained in:
Codex Review Integration 2026-09-16 16:56:26 -03:00
parent e46e42df69
commit c75f8b6239
3 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ function formatSeverityAuditLabel(raw: string): string {
const CLEARED_AUDIT_VALUE: FormattedAuditValue = { text: "—", isQuotedList: false };
/** SH-363: `from X to Y` whenever the previous value is known; a cleared value reads as "—". */
/** `from X to Y` whenever the previous value is known; a cleared value reads as "—". */
function formatFieldChangeSentence(
label: string,
oldValue: FormattedAuditValue,

View file

@ -1,7 +1,7 @@
const AUDIT_DATE_PATTERN = /\b\d{1,2}\/\d{1,2}(\/\d{2,4})?\b/;
/**
* SH-361: every entry, manual or system, shows a complete timestamp — `09/15/2026 · 7:42 PM`.
* Every entry, manual or system, shows a complete timestamp — `09/15/2026 · 7:42 PM`.
* Pre-formatted API strings are kept only when they already carry a calendar date.
*/
export function formatAuditTimestamp(value: string): string {

View file

@ -130,7 +130,7 @@ function formatGenericAuditFallback(args: {
if (oldValue.text) {
return `Changed ${label} from ${wrapAuditValue(oldValue)} to "—"`;
}
// SH-363: never surface a raw audit enum such as "FieldChanged" as the sentence.
// Never surface a raw audit enum such as "FieldChanged" as the sentence.
if (fieldName && action) return `Updated ${label}`;
return "Updated work order";
}