Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Fix critical truncation bug preventing data readability on touch devices (related to #643)

rcourtmana8fa834d240e
diff --git a/frontend-modern/src/components/Dashboard/GuestRow.tsx b/frontend-modern/src/components/Dashboard/GuestRow.tsx
index d9573398af..3c766269d3 100644
--- a/frontend-modern/src/components/Dashboard/GuestRow.tsx
+++ b/frontend-modern/src/components/Dashboard/GuestRow.tsx
@@ -425,7 +425,7 @@ export function GuestRow(props: GuestRowProps) {
fallback={
<div class="flex items-center gap-1.5 flex-1 min-w-0">
<span
- class="text-sm font-medium text-gray-900 dark:text-gray-100 truncate cursor-text select-none"
+ class="text-sm font-medium text-gray-900 dark:text-gray-100 cursor-text select-none"
style="cursor: text;"
title={`${props.guest.name}${customUrl() ? ' - Click to edit URL' : ' - Click to add URL'}`}
onClick={startEditingUrl}
diff --git a/frontend-modern/src/components/Docker/DockerUnifiedTable.tsx b/frontend-modern/src/components/Docker/DockerUnifiedTable.tsx
index b41d528dcd..eb910f45c5 100644
--- a/frontend-modern/src/components/Docker/DockerUnifiedTable.tsx
+++ b/frontend-modern/src/components/Docker/DockerUnifiedTable.tsx
@@ -887,7 +887,7 @@ const DockerContainerRow: Component<{
fallback={
<div class="flex items-center gap-1.5 flex-1 min-w-0">
<span
- class="text-sm font-semibold text-gray-900 dark:text-gray-100 truncate cursor-text select-none"
+ class="text-sm font-semibold text-gray-900 dark:text-gray-100 cursor-text select-none"
style="cursor: text;"
title={`${containerTitle()}${customUrl() ? ' - Click to edit URL' : ' - Click to add URL'}`}
onClick={startEditingUrl}
@@ -998,7 +998,7 @@ const DockerContainerRow: Component<{
</span>
</td>
<td class="px-2 py-0.5 text-xs text-gray-700 dark:text-gray-300">
- <span class="truncate" title={container.image}>
+ <span title={container.image}>
{container.image || '—'}
</span>
</td>
@@ -1626,7 +1626,7 @@ const DockerServiceRow: Component<{
fallback={
<div class="flex items-center gap-1.5 flex-1 min-w-0">
<span
- class="text-sm font-semibold text-gray-900 dark:text-gray-100 truncate cursor-text select-none"
+ class="text-sm font-semibold text-gray-900 dark:text-gray-100 cursor-text select-none"
style="cursor: text;"
title={`${serviceTitle()}${customUrl() ? ' - Click to edit URL' : ' - Click to add URL'}`}
onClick={startEditingUrl}
@@ -1723,7 +1723,7 @@ const DockerServiceRow: Component<{
</span>
</td>
<td class="px-2 py-0.5 text-xs text-gray-700 dark:text-gray-300">
- <span class="truncate" title={service.image}>
+ <span title={service.image}>
{service.image || '—'}
</span>
</td>
diff --git a/frontend-modern/src/components/Hosts/HostsOverview.tsx b/frontend-modern/src/components/Hosts/HostsOverview.tsx
index ee18ee23e1..5736151510 100644
--- a/frontend-modern/src/components/Hosts/HostsOverview.tsx
+++ b/frontend-modern/src/components/Hosts/HostsOverview.tsx
@@ -269,12 +269,12 @@ export const HostsOverview: Component<HostsOverviewProps> = (props) => {
<div>
<div class="flex items-center gap-2">
{renderStatusIndicator(host.status)}
- <p class="text-sm font-semibold text-gray-900 dark:text-gray-100 truncate">
+ <p class="text-sm font-semibold text-gray-900 dark:text-gray-100">
{host.displayName || host.hostname || host.id}
</p>
</div>
<Show when={host.displayName && host.displayName !== host.hostname}>
- <p class="text-xs text-gray-500 dark:text-gray-400 truncate mt-0.5">
+ <p class="text-xs text-gray-500 dark:text-gray-400 mt-0.5">
{host.hostname}
</p>
</Show>