refactor: add Enum labels, fix indentation, and add URL links to StatsOverviewWidget
Adds `label()` methods to TrendDirection and PredictionSource enums for cleaner display. Fixes mixed tab/space indentation in StatsOverviewWidget. Links all stats cards to their respective Filament resources (searches, stations, oil-predictions, api-logs). Documents BrentPriceChartWidget's manual registration.
This commit is contained in:
@@ -11,6 +11,7 @@ class BrentPriceChartWidget extends ChartWidget
|
||||
|
||||
protected ?string $pollingInterval = null;
|
||||
|
||||
/** Registered manually in AdminPanelProvider — excluded from auto-discovery to control placement. */
|
||||
protected static bool $isDiscovered = false;
|
||||
|
||||
protected function getData(): array
|
||||
|
||||
Reference in New Issue
Block a user