refactor(docker): drop the noisy port list from the container row
The raw docker port column (e.g. "0.0.0.0:80->80/tcp, [::]:80->80/tcp, 9000/tcp, ...") made rows long and hard to scan for little day-to-day value. Show just the container name + image; the image already gives the useful "what is this" at a glance. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>feat/v1-foundation
parent
c253e79c0c
commit
3fae5293e2
|
|
@ -92,7 +92,8 @@
|
||||||
<x-status-dot :status="$pill($c['state'])" :ping="$c['state'] === 'running'" class="h-2.5 w-2.5" />
|
<x-status-dot :status="$pill($c['state'])" :ping="$c['state'] === 'running'" class="h-2.5 w-2.5" />
|
||||||
<div class="min-w-0 flex-1">
|
<div class="min-w-0 flex-1">
|
||||||
<p class="truncate font-mono text-sm text-ink">{{ $c['name'] }}</p>
|
<p class="truncate font-mono text-sm text-ink">{{ $c['name'] }}</p>
|
||||||
<p class="truncate font-mono text-[11px] text-ink-3">{{ $c['image'] }}@if ($c['ports']) · {{ $c['ports'] }}@endif</p>
|
{{-- Just the image — the raw port list is noisy and rarely useful at a glance. --}}
|
||||||
|
<p class="truncate font-mono text-[11px] text-ink-3">{{ $c['image'] }}</p>
|
||||||
</div>
|
</div>
|
||||||
<x-status-pill :status="$pill($c['state'])" class="hidden sm:inline-flex">{{ $c['state'] ?: '—' }}</x-status-pill>
|
<x-status-pill :status="$pill($c['state'])" class="hidden sm:inline-flex">{{ $c['state'] ?: '—' }}</x-status-pill>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue