- Received
+ Received
{event.receivedAt
? new Date(event.receivedAt).toISOString().replace('T', ' ').replace('Z', '')
@@ -758,11 +777,10 @@ function EventRow({ event, showScriptOutput, prevEvent }: { event: EnrollmentEve
{hasPhase && (
- Phase
+ Phase{event.phaseName}
)}
-
);
})()}
@@ -897,18 +915,15 @@ const ORIGIN_CHIP: Record = {
};
// The raw CMTrace time-resolution values (P13): how this event's UTC timestamp was
-// produced. Rendered inside the expanded metadata block only — per-row badges are
-// reserved for the rare jump/clamp cases, everything else lives here on demand.
-function TimeProvenanceRows({ event }: { event: EnrollmentEvent }) {
- const provenance = readTimeProvenance(event.data);
- if (!provenance && !event.timestampClamped) return null;
-
+// produced. Collapsed behind the "time provenance" toggle on the Created row — the same
+// values sit in the raw JSON dump, so this labeled view is an opt-in dive that must not
+// inflate the default metadata block. Per-row badges stay reserved for jump/clamp cases.
+function TimeProvenanceRows({ event, provenance }: { event: EnrollmentEvent; provenance: ReturnType }) {
const origin = provenance?.sourceOffsetOrigin;
const originChip = origin ? ORIGIN_CHIP[origin] ?? { className: "bg-gray-100 text-gray-500", title: origin } : null;
return (
-