{{-- theme-admin no longer swaps the palette. It used to load a complete dark set — its own surfaces, its own orange, its own status triad — which made the console a second product and forced every shared component to work in two worlds. It now carries density only: smaller type, tighter rows, tighter corners. Colour comes from one place. --}}
@php $release = App\Services\Deployment\Release::current(); // Seeds the page-wide update watcher below. Computed here, once, for // every console page — not only Settings — because the thing being // watched restarts the containers serving whichever page the // operator happens to have open, so the watcher (and its overlay) // must already exist before that happens, wherever they are. $updateChannel = app(App\Services\Deployment\UpdateChannel::class); $updateState = $updateChannel->state(); $updateStep = $updateState['phase'] !== null ? __('admin_settings.update_step', ['step' => $updateState['phase']]) : null; // Only once a run has actually started, not while merely queued — // otherwise this is the PREVIOUS run's leftovers, read on every page // load whether or not anything is running at all. $updateRunningSince = $updateState['started_at'] !== null ? __('admin_settings.update_since', ['when' => $updateState['started_at']->diffForHumans()]) : null; $updateLog = $updateState['started_at'] !== null ? $updateChannel->lastLog() : null; @endphp