From f008e0593be56c450cba3980aa05b42bd376af41 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Mon, 28 Sep 2026 14:28:01 +0200 Subject: [PATCH] fix(server): hide server IP addresses on the servers list The dashboard redesign added an IP address column to the servers list and put each server IP into the Alpine data, so the IP showed in the page source. Remove the column and the value, and render the component in the test instead of matching template strings. Co-Authored-By: Claude Opus 5.5 --- .../views/livewire/server/index.blade.php | 10 +---- tests/Feature/ServerIndexIpExposureTest.php | 45 ++++++++++++++++--- 2 files changed, 40 insertions(+), 15 deletions(-) diff --git a/resources/views/livewire/server/index.blade.php b/resources/views/livewire/server/index.blade.php index cfe6b78f33..dbfd825322 100644 --- a/resources/views/livewire/server/index.blade.php +++ b/resources/views/livewire/server/index.blade.php @@ -59,7 +59,6 @@ 'href' => route('server.show', ['server_uuid' => $server->uuid]), 'status' => $status, 'statusType' => $statusType, - 'ip' => $server->isLocalhost() ? 'localhost' : ($server->ip ?: '-'), 'resourceCount' => $server->definedResources()->count(), ]; })->values(); @@ -174,15 +173,14 @@
+ class="grid min-w-[480px] grid-cols-[minmax(0,1fr)_9.5rem] border-b border-neutral-200 bg-neutral-50 px-4 py-2.5 text-[11px] font-medium text-neutral-500 md:min-w-[560px] md:grid-cols-[minmax(0,1fr)_6rem_9.5rem] dark:border-white/[0.08] dark:bg-white/[0.05] dark:text-fg-faint">
Server
-
Status