always show parent job in job header (#7805)

* Allways show parent job when it exists

* Always show schedule path
This commit is contained in:
Guilhem
2026-02-05 12:57:54 +00:00
committed by GitHub
parent 1ac76f61fc
commit c7955e04c7
2 changed files with 9 additions and 1 deletions
@@ -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])
@@ -217,7 +217,7 @@
<span class="whitespace-nowrap" title={fullValue}>
<button
onclick={() => scheduleEditor?.openEdit?.(job.schedule_path ?? '', job.job_kind == 'flow')}
class="flex items-center gap-1"
class="flex items-center gap-1 font-normal"
>
{displayValue}
<ExternalLink size={12} class="flex-shrink-0" />