From c7955e04c73ffee53bf7975ac2547d251eede1b4 Mon Sep 17 00:00:00 2001 From: Guilhem Date: Thu, 5 Feb 2026 12:57:54 +0000 Subject: [PATCH] always show parent job in job header (#7805) * Allways show parent job when it exists * Always show schedule path --- frontend/src/lib/components/runs/JobDetailFieldConfig.ts | 8 ++++++++ frontend/src/lib/components/runs/JobDetailHeader.svelte | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/components/runs/JobDetailFieldConfig.ts b/frontend/src/lib/components/runs/JobDetailFieldConfig.ts index 5d6793a40e..23a7df12cd 100644 --- a/frontend/src/lib/components/runs/JobDetailFieldConfig.ts +++ b/frontend/src/lib/components/runs/JobDetailFieldConfig.ts @@ -502,6 +502,14 @@ export function getRelevantFields(job: Job): FieldConfig[] { if (fieldName === 'permissioned_as') { return shouldShowPermissionedAs } + if (fieldName === 'parent_job') { + // Always show parent_job when it exists, regardless of category configuration + return job.parent_job !== null && job.parent_job !== undefined + } + if (fieldName === 'schedule_path') { + // Always show schedule_path when it exists, regardless of category configuration + return job.schedule_path !== null && job.schedule_path !== undefined + } return fieldsPresence[fieldName] }) .map((fieldName) => fieldConfigs[fieldName]) diff --git a/frontend/src/lib/components/runs/JobDetailHeader.svelte b/frontend/src/lib/components/runs/JobDetailHeader.svelte index a3f85906b7..7ca973dd00 100644 --- a/frontend/src/lib/components/runs/JobDetailHeader.svelte +++ b/frontend/src/lib/components/runs/JobDetailHeader.svelte @@ -217,7 +217,7 @@