Refine ops health widget layout
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-01 21:35:22 +01:00
parent 2fc8232d57
commit 8b4950c79d
9 changed files with 295 additions and 111 deletions

View File

@@ -33,9 +33,6 @@ class UploadPipelineHealthWidget extends StatsOverviewWidget
: __('admin.ops_health.snapshot_missing');
return [
Stat::make(__('admin.ops_health.pipeline.total'), number_format($totals['total']))
->description(__('admin.ops_health.pipeline.hot_hint', ['count' => number_format($totals['hot'])]))
->color('primary'),
Stat::make(__('admin.ops_health.pipeline.pending'), number_format($totals['pending']))
->description($snapshotLabel)
->descriptionIcon('heroicon-m-clock')
@@ -43,6 +40,9 @@ class UploadPipelineHealthWidget extends StatsOverviewWidget
Stat::make(__('admin.ops_health.pipeline.failed'), number_format($totals['failed']))
->description(__('admin.ops_health.pipeline.archived_hint', ['count' => number_format($totals['archived'])]))
->color($totals['failed'] > 0 ? 'danger' : 'success'),
Stat::make(__('admin.ops_health.pipeline.total'), number_format($totals['total']))
->description(__('admin.ops_health.pipeline.hot_hint', ['count' => number_format($totals['hot'])]))
->color('primary'),
Stat::make(__('admin.ops_health.pipeline.alerts'), number_format(count($alerts)))
->color(count($alerts) > 0 ? 'danger' : 'success'),
];