refactor: reduce operation run detail density #194
@ -359,6 +359,8 @@ private static function enterpriseDetailPage(OperationRun $record): \App\Support
|
||||
],
|
||||
visible: $artifactTruth !== null,
|
||||
description: 'Detailed artifact-truth context explains evidence quality and caveats without repeating the top decision summary.',
|
||||
collapsible: true,
|
||||
collapsed: true,
|
||||
),
|
||||
);
|
||||
|
||||
@ -371,7 +373,7 @@ private static function enterpriseDetailPage(OperationRun $record): \App\Support
|
||||
entries: $counts,
|
||||
description: 'Normalized run counters remain available for deeper inspection without competing with the primary decision.',
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
collapsed: true,
|
||||
variant: 'diagnostic',
|
||||
),
|
||||
);
|
||||
@ -398,7 +400,7 @@ private static function enterpriseDetailPage(OperationRun $record): \App\Support
|
||||
view: 'filament.infolists.entries.snapshot-json',
|
||||
viewData: ['payload' => static::reconciliationPayload($record)],
|
||||
collapsible: true,
|
||||
collapsed: false,
|
||||
collapsed: true,
|
||||
),
|
||||
);
|
||||
}
|
||||
@ -418,6 +420,8 @@ private static function enterpriseDetailPage(OperationRun $record): \App\Support
|
||||
title: 'Baseline compare',
|
||||
items: $baselineCompareFacts,
|
||||
description: 'Type-specific comparison detail stays below the canonical decision and supporting layers.',
|
||||
collapsible: true,
|
||||
collapsed: true,
|
||||
),
|
||||
);
|
||||
}
|
||||
@ -449,6 +453,8 @@ private static function enterpriseDetailPage(OperationRun $record): \App\Support
|
||||
title: 'Baseline compare evidence',
|
||||
view: 'filament.infolists.entries.snapshot-json',
|
||||
viewData: ['payload' => $baselineCompareEvidence],
|
||||
collapsible: true,
|
||||
collapsed: true,
|
||||
),
|
||||
);
|
||||
}
|
||||
@ -465,6 +471,8 @@ private static function enterpriseDetailPage(OperationRun $record): \App\Support
|
||||
title: 'Baseline capture evidence',
|
||||
view: 'filament.infolists.entries.snapshot-json',
|
||||
viewData: ['payload' => $baselineCaptureEvidence],
|
||||
collapsible: true,
|
||||
collapsed: true,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@ -33,24 +33,22 @@
|
||||
|
||||
<div class="space-y-4">
|
||||
@if ($primaryNextStep !== null)
|
||||
<x-filament::section
|
||||
compact
|
||||
secondary
|
||||
:heading="$primaryNextStep['label'] ?? 'Primary next step'"
|
||||
>
|
||||
<div class="text-base font-semibold text-gray-950 dark:text-white">
|
||||
<div class="rounded-xl border-l-4 border-primary-500 bg-primary-50 px-4 py-4 dark:bg-primary-500/10">
|
||||
<div class="text-xs font-semibold uppercase tracking-[0.16em] text-primary-600 dark:text-primary-400">
|
||||
{{ $primaryNextStep['label'] ?? 'Primary next step' }}
|
||||
</div>
|
||||
<div class="mt-2 text-base font-semibold text-gray-950 dark:text-white">
|
||||
{{ $primaryNextStep['text'] ?? 'No action needed.' }}
|
||||
</div>
|
||||
</x-filament::section>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (filled($compactCounts['summaryLine'] ?? null) || $countFacts !== [])
|
||||
<x-filament::section
|
||||
compact
|
||||
secondary
|
||||
heading="Counts"
|
||||
>
|
||||
<div class="space-y-4">
|
||||
<div class="rounded-xl border border-gray-200 bg-gray-50/70 px-4 py-4 dark:border-gray-700 dark:bg-gray-800/50">
|
||||
<div class="text-xs font-semibold uppercase tracking-[0.16em] text-gray-500 dark:text-gray-400">
|
||||
Counts
|
||||
</div>
|
||||
<div class="mt-2 space-y-4">
|
||||
@if (filled($compactCounts['summaryLine'] ?? null))
|
||||
<div class="text-sm font-medium text-gray-900 dark:text-white">
|
||||
{{ $compactCounts['summaryLine'] }}
|
||||
@ -64,7 +62,7 @@
|
||||
])
|
||||
@endif
|
||||
</div>
|
||||
</x-filament::section>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user