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.

Hide decorative dashes across the rest of the tables

rcourtmane8049e894f6e
diff --git a/frontend-modern/src/components/AI/AICostDashboard.tsx b/frontend-modern/src/components/AI/AICostDashboard.tsx
index 1ce6ab6343..03d77e7c09 100644
--- a/frontend-modern/src/components/AI/AICostDashboard.tsx
+++ b/frontend-modern/src/components/AI/AICostDashboard.tsx
@@ -381,7 +381,7 @@ export const AICostDashboard: Component = () => {
<div class="text-lg font-semibold text-base-content">
<Show
when={estimatedTotalUSD() != null}
- fallback={<span class="text-muted">—</span>}
+ fallback={<span class="text-muted" aria-hidden="true">—</span>}
>
{formatUSD(estimatedTotalUSD() ?? 0)}
</Show>
@@ -429,7 +429,7 @@ export const AICostDashboard: Component = () => {
<div class="text-sm font-semibold text-base-content mt-1">
<Show
when={parsedBudgetUSD30d() != null}
- fallback={<span class="text-muted">—</span>}
+ fallback={<span class="text-muted" aria-hidden="true">—</span>}
>
{formatUSD(parsedBudgetUSD30d() ?? 0)}
</Show>
@@ -564,7 +564,7 @@ export const AICostDashboard: Component = () => {
<TableCell class="py-2 px-2 text-right text-base-content">
<Show
when={t.pricing_known}
- fallback={<span class="text-muted">—</span>}
+ fallback={<span class="text-muted" aria-hidden="true">—</span>}
>
{formatUSD(t.estimated_usd ?? 0)}
</Show>
@@ -606,7 +606,7 @@ export const AICostDashboard: Component = () => {
<TableCell class="py-2 px-2 text-right text-base-content">
<Show
when={pm.pricing_known}
- fallback={<span class="text-muted">—</span>}
+ fallback={<span class="text-muted" aria-hidden="true">—</span>}
>
{formatUSD(pm.estimated_usd ?? 0)}
</Show>
diff --git a/frontend-modern/src/components/Alerts/AlertResourceTableDesktop.tsx b/frontend-modern/src/components/Alerts/AlertResourceTableDesktop.tsx
index de5a502448..33ec0dd639 100644
--- a/frontend-modern/src/components/Alerts/AlertResourceTableDesktop.tsx
+++ b/frontend-modern/src/components/Alerts/AlertResourceTableDesktop.tsx
@@ -167,7 +167,7 @@ export function AlertResourceTableDesktop(props: AlertResourceTableDesktopProps)
<TableCell class="p-1 px-2 text-center align-middle">
<Show
when={props.table.onToggleGlobalDisable}
- fallback={<span class="text-sm text-slate-400">-</span>}
+ fallback={<span class="text-sm text-slate-400" aria-hidden="true">-</span>}
>
<div class="flex items-center justify-center">
<TogglePrimitive
@@ -255,7 +255,7 @@ export function AlertResourceTableDesktop(props: AlertResourceTableDesktopProps)
fallback={
<Show
when={props.table.onToggleGlobalDisableOffline}
- fallback={<span class="text-sm text-slate-400">-</span>}
+ fallback={<span class="text-sm text-slate-400" aria-hidden="true">-</span>}
>
{(() => {
const defaultDisabled = props.table.globalDisableOfflineFlag?.() ?? false;
@@ -355,7 +355,7 @@ export function AlertResourceTableDesktop(props: AlertResourceTableDesktopProps)
</button>
</Show>
<Show when={!props.table.showDelayColumn && !props.hasCustomGlobalDefaults()}>
- <span class="text-sm text-slate-400">-</span>
+ <span class="text-sm text-slate-400" aria-hidden="true">-</span>
</Show>
</div>
</TableCell>
@@ -375,7 +375,7 @@ export function AlertResourceTableDesktop(props: AlertResourceTableDesktopProps)
<TableCell class="p-1 px-2 border-r border-border" />
</Show>
<TableCell class="p-1 px-2 text-center align-middle">
- <span class="text-sm">-</span>
+ <span class="text-sm" aria-hidden="true">-</span>
</TableCell>
<TableCell class="p-1 px-2 align-middle">
<span class="text-xs font-semibold uppercase tracking-wide text-muted inline-flex items-center gap-1">
@@ -429,11 +429,11 @@ export function AlertResourceTableDesktop(props: AlertResourceTableDesktopProps)
</For>
<Show when={props.table.showOfflineAlertsColumn}>
<TableCell class="p-1 px-2 text-center align-middle">
- <span class="text-sm">-</span>
+ <span class="text-sm" aria-hidden="true">-</span>
</TableCell>
</Show>
<TableCell class="p-1 px-2 text-center align-middle">
- <span class="text-sm">-</span>
+ <span class="text-sm" aria-hidden="true">-</span>
</TableCell>
</TableRow>
</Show>
diff --git a/frontend-modern/src/components/Alerts/AlertResourceTableRow.tsx b/frontend-modern/src/components/Alerts/AlertResourceTableRow.tsx
index 1795f61a34..9d694ea4a7 100644
--- a/frontend-modern/src/components/Alerts/AlertResourceTableRow.tsx
+++ b/frontend-modern/src/components/Alerts/AlertResourceTableRow.tsx
@@ -337,7 +337,7 @@ export function AlertResourceTableRow(props: AlertResourceTableRowProps) {
<TableCell class="p-1 px-2 text-center align-middle">
<Show
when={onToggle}
- fallback={<span class="text-sm text-slate-400">-</span>}
+ fallback={<span class="text-sm text-slate-400" aria-hidden="true">-</span>}
>
<div class="flex items-center justify-center">
<StatusBadge
@@ -360,7 +360,7 @@ export function AlertResourceTableRow(props: AlertResourceTableRowProps) {
<TableCell class="p-1 px-2 text-center align-middle">
<Show
when={alertResourceSupportsMetric(props.resource.type, metric)}
- fallback={<span class="text-sm text-muted">-</span>}
+ fallback={<span class="text-sm text-muted" aria-hidden="true">-</span>}
>
<Show
when={isEditing()}
@@ -528,7 +528,7 @@ export function AlertResourceTableRow(props: AlertResourceTableRowProps) {
}
if (!props.onToggleNodeConnectivity) {
- return <span class="text-sm text-slate-400">-</span>;
+ return <span class="text-sm text-slate-400" aria-hidden="true">-</span>;
}
const globalOfflineDisabled = props.globalDisableOfflineFlag?.() ?? false;
@@ -581,7 +581,7 @@ export function AlertResourceTableRow(props: AlertResourceTableRowProps) {
props.resource.disableConnectivity);
return (
- <Show when={showEdit || showRevert} fallback={<span class="text-xs text-muted">—</span>}>
+ <Show when={showEdit || showRevert} fallback={<span class="text-xs text-muted" aria-hidden="true">—</span>}>
<Show when={showEdit}>
<button
type="button"
diff --git a/frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx b/frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx
index cd66b28cd1..596e9092c3 100644
--- a/frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx
+++ b/frontend-modern/src/components/Infrastructure/UnifiedResourceHostTableCard.tsx
@@ -456,7 +456,7 @@ export const UnifiedResourceHostTableCard: Component<UnifiedResourceHostTableCar
when={cpuPercentValue() !== null}
fallback={
<div class="flex justify-center">
- <span class="text-xs">—</span>
+ <span class="text-xs" aria-hidden="true">—</span>
</div>
}
>
@@ -477,7 +477,7 @@ export const UnifiedResourceHostTableCard: Component<UnifiedResourceHostTableCar
when={memoryPercentValue() !== null}
fallback={
<div class="flex justify-center">
- <span class="text-xs">—</span>
+ <span class="text-xs" aria-hidden="true">—</span>
</div>
}
>
@@ -503,7 +503,7 @@ export const UnifiedResourceHostTableCard: Component<UnifiedResourceHostTableCar
when={diskPercentValue() !== null}
fallback={
<div class="flex justify-center">
- <span class="text-xs">—</span>
+ <span class="text-xs" aria-hidden="true">—</span>
</div>
}
>
@@ -536,7 +536,7 @@ export const UnifiedResourceHostTableCard: Component<UnifiedResourceHostTableCar
when={availabilityProbe()}
fallback={
<div class="text-center">
- <span class="text-xs text-slate-400">—</span>
+ <span class="text-xs text-slate-400" aria-hidden="true">—</span>
</div>
}
>
@@ -615,7 +615,7 @@ export const UnifiedResourceHostTableCard: Component<UnifiedResourceHostTableCar
when={resource.diskIO}
fallback={
<div class="text-center">
- <span class="text-xs text-slate-400">—</span>
+ <span class="text-xs text-slate-400" aria-hidden="true">—</span>
</div>
}
>
@@ -676,7 +676,7 @@ export const UnifiedResourceHostTableCard: Component<UnifiedResourceHostTableCar
<div class="flex justify-center">
<Show
when={resource.uptime}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
<span class="text-xs text-base-content whitespace-nowrap">
{formatUptime(resource.uptime ?? 0)}
@@ -693,7 +693,7 @@ export const UnifiedResourceHostTableCard: Component<UnifiedResourceHostTableCar
<div class="flex justify-center">
<Show
when={resource.temperature != null}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
<span
class={`text-xs whitespace-nowrap font-medium ${
diff --git a/frontend-modern/src/components/Infrastructure/UnifiedResourcePBSTableSection.tsx b/frontend-modern/src/components/Infrastructure/UnifiedResourcePBSTableSection.tsx
index e8b778e106..79158e0da8 100644
--- a/frontend-modern/src/components/Infrastructure/UnifiedResourcePBSTableSection.tsx
+++ b/frontend-modern/src/components/Infrastructure/UnifiedResourcePBSTableSection.tsx
@@ -212,7 +212,7 @@ export const UnifiedResourcePBSTableSection: Component<UnifiedResourcePBSTableSe
<div class="flex justify-center">
<Show
when={pbsRow()?.datastores != null}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
<span class="text-xs text-base-content">{pbsRow()!.datastores}</span>
</Show>
@@ -223,7 +223,7 @@ export const UnifiedResourcePBSTableSection: Component<UnifiedResourcePBSTableSe
<div class="flex justify-center">
<Show
when={pbsRow()?.activity}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
<div
class="flex flex-col items-center leading-tight"
@@ -244,7 +244,7 @@ export const UnifiedResourcePBSTableSection: Component<UnifiedResourcePBSTableSe
<div class="flex justify-center">
<Show
when={pbsRow()?.health}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
<span class={`text-xs font-medium ${healthClass()}`}>
{pbsRow()!.health}
@@ -271,7 +271,7 @@ export const UnifiedResourcePBSTableSection: Component<UnifiedResourcePBSTableSe
<div class="flex justify-center">
<Show
when={resource.uptime}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
<span class="text-xs text-base-content whitespace-nowrap">
{formatUptime(resource.uptime ?? 0)}
@@ -284,7 +284,7 @@ export const UnifiedResourcePBSTableSection: Component<UnifiedResourcePBSTableSe
<div class="flex justify-center">
<Show
when={serviceLink()}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
{(link) => (
<a
diff --git a/frontend-modern/src/components/Infrastructure/UnifiedResourcePMGTableSection.tsx b/frontend-modern/src/components/Infrastructure/UnifiedResourcePMGTableSection.tsx
index 172d70da83..d1fa195d18 100644
--- a/frontend-modern/src/components/Infrastructure/UnifiedResourcePMGTableSection.tsx
+++ b/frontend-modern/src/components/Infrastructure/UnifiedResourcePMGTableSection.tsx
@@ -226,7 +226,7 @@ export const UnifiedResourcePMGTableSection: Component<UnifiedResourcePMGTableSe
<div class="flex justify-center">
<Show
when={pmgRow()?.queue != null}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
<span class={`text-xs font-medium ${queueClass()}`}>
{pmgRow()!.queue}
@@ -239,7 +239,7 @@ export const UnifiedResourcePMGTableSection: Component<UnifiedResourcePMGTableSe
<div class="flex justify-center">
<Show
when={pmgRow()?.deferred != null}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
<span class="text-xs text-base-content">{pmgRow()!.deferred}</span>
</Show>
@@ -254,7 +254,7 @@ export const UnifiedResourcePMGTableSection: Component<UnifiedResourcePMGTableSe
<div class="flex justify-center">
<Show
when={pmgRow()?.hold != null}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
<span class="text-xs text-base-content">{pmgRow()!.hold}</span>
</Show>
@@ -265,7 +265,7 @@ export const UnifiedResourcePMGTableSection: Component<UnifiedResourcePMGTableSe
<div class="flex justify-center">
<Show
when={pmgRow()?.nodes != null}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
<span class="text-xs text-base-content">{pmgRow()!.nodes}</span>
</Show>
@@ -276,7 +276,7 @@ export const UnifiedResourcePMGTableSection: Component<UnifiedResourcePMGTableSe
<div class="flex justify-center">
<Show
when={pmgRow()?.health}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
<span class={`text-xs font-medium ${healthClass()}`}>
{pmgRow()!.health}
@@ -303,7 +303,7 @@ export const UnifiedResourcePMGTableSection: Component<UnifiedResourcePMGTableSe
<div class="flex justify-center">
<Show
when={resource.uptime}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
<span class="text-xs text-base-content whitespace-nowrap">
{formatUptime(resource.uptime ?? 0)}
@@ -316,7 +316,7 @@ export const UnifiedResourcePMGTableSection: Component<UnifiedResourcePMGTableSe
<div class="flex justify-center">
<Show
when={serviceLink()}
- fallback={<span class="text-xs text-slate-400">—</span>}
+ fallback={<span class="text-xs text-slate-400" aria-hidden="true">—</span>}
>
{(link) => (
<a
diff --git a/frontend-modern/src/components/Recovery/RecoveryHistoryTable.tsx b/frontend-modern/src/components/Recovery/RecoveryHistoryTable.tsx
index de523d684f..618f3994e7 100644
--- a/frontend-modern/src/components/Recovery/RecoveryHistoryTable.tsx
+++ b/frontend-modern/src/components/Recovery/RecoveryHistoryTable.tsx
@@ -238,7 +238,7 @@ export const RecoveryHistoryTable: Component<RecoveryHistoryTableProps> = (props
<TableCell class="whitespace-nowrap px-3 py-1 text-center">
<Show
when={itemTypePresentation}
- fallback={<span class="text-muted">—</span>}
+ fallback={<span class="text-muted" aria-hidden="true">—</span>}
>
<span class={itemTypePresentation?.tableBadgeClasses}>
{itemTypePresentation?.label}
@@ -365,7 +365,7 @@ export const RecoveryHistoryTable: Component<RecoveryHistoryTableProps> = (props
</span>
)
) : (
- <span class="text-muted">—</span>
+ <span class="text-muted" aria-hidden="true">—</span>
)}
</TableCell>
);
diff --git a/frontend-modern/src/components/Recovery/RecoveryProtectedInventorySection.tsx b/frontend-modern/src/components/Recovery/RecoveryProtectedInventorySection.tsx
index 88ecdec6f6..d253f03540 100644
--- a/frontend-modern/src/components/Recovery/RecoveryProtectedInventorySection.tsx
+++ b/frontend-modern/src/components/Recovery/RecoveryProtectedInventorySection.tsx
@@ -492,7 +492,7 @@ export const RecoveryProtectedInventorySection: Component<
<TableCell class="hidden md:table-cell whitespace-nowrap px-3 py-1.5">
<Show
when={itemTypePresentation}
- fallback={<span class="text-muted">—</span>}
+ fallback={<span class="text-muted" aria-hidden="true">—</span>}
>
<span class={itemTypePresentation?.tableBadgeClasses}>
{itemTypePresentation?.label}
diff --git a/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx b/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx
index fa64280e18..ef2926088c 100644
--- a/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx
+++ b/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx
@@ -798,7 +798,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP
<TableCell class="px-3 py-1 align-top">
<Show
when={row.host}
- fallback={<span class="text-xs text-muted">-</span>}
+ fallback={<span class="text-xs text-muted" aria-hidden="true">-</span>}
>
<div
class="truncate whitespace-nowrap text-[12px] text-muted"
@@ -812,7 +812,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP
<TableCell class="px-3 py-1 align-top">
<Show
when={row.coverageLabels.length > 0}
- fallback={<span class="text-xs text-muted">-</span>}
+ fallback={<span class="text-xs text-muted" aria-hidden="true">-</span>}
>
<div
class="whitespace-normal break-words text-[12px] leading-4 text-muted"
@@ -955,7 +955,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP
<Show
when={member.host}
fallback={
- <span class="text-xs text-muted">-</span>
+ <span class="text-xs text-muted" aria-hidden="true">-</span>
}
>
<div
@@ -971,7 +971,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP
<Show
when={member.coverageLabels.length > 0}
fallback={
- <span class="text-xs text-muted">-</span>
+ <span class="text-xs text-muted" aria-hidden="true">-</span>
}
>
<div
diff --git a/frontend-modern/src/components/shared/HelpIcon.tsx b/frontend-modern/src/components/shared/HelpIcon.tsx
index b6ae86537d..20effc3c37 100644
--- a/frontend-modern/src/components/shared/HelpIcon.tsx
+++ b/frontend-modern/src/components/shared/HelpIcon.tsx
@@ -72,7 +72,7 @@ export const HelpIcon: Component<HelpIconProps> = (props) => {
<ul class="space-y-1 text-[11px]">
{helpContent.examples!.map((example) => (
<li class="flex items-start gap-1.5">
- <span class="text-muted mt-0.5 select-none">-</span>
+ <span class="text-muted mt-0.5 select-none" aria-hidden="true">-</span>
<span class="text-muted">{example}</span>
</li>
))}
diff --git a/frontend-modern/src/components/shared/InfrastructureSummaryTableRow.tsx b/frontend-modern/src/components/shared/InfrastructureSummaryTableRow.tsx
index f1776515f1..c402df3151 100644
--- a/frontend-modern/src/components/shared/InfrastructureSummaryTableRow.tsx
+++ b/frontend-modern/src/components/shared/InfrastructureSummaryTableRow.tsx
@@ -364,7 +364,7 @@ export const InfrastructureSummaryTableRow: Component<InfrastructureSummaryTable
node()!.temperature?.available) &&
props.table.isTemperatureMonitoringEnabled(node()!)
}
- fallback={<span class="text-xs text-muted">-</span>}
+ fallback={<span class="text-xs text-muted" aria-hidden="true">-</span>}
>
{(() => {
const value = cpuTemperatureValue() as number;
diff --git a/frontend-modern/src/components/shared/responsive/ResponsiveMetricCell.tsx b/frontend-modern/src/components/shared/responsive/ResponsiveMetricCell.tsx
index faf5b54d49..548bededc9 100644
--- a/frontend-modern/src/components/shared/responsive/ResponsiveMetricCell.tsx
+++ b/frontend-modern/src/components/shared/responsive/ResponsiveMetricCell.tsx
@@ -117,7 +117,7 @@ export const ResponsiveMetricCell: Component<ResponsiveMetricCellProps> = (props
const defaultFallback = (
<div class="h-4 flex items-center justify-center">
- <span class="text-xs text-muted">—</span>
+ <span class="text-xs text-muted" aria-hidden="true">—</span>
</div>
);
@@ -193,7 +193,7 @@ export const DualMetricCell: Component<{
const defaultFallback = (
<div class="h-4 flex items-center justify-center">
- <span class="text-xs text-muted">—</span>
+ <span class="text-xs text-muted" aria-hidden="true">—</span>
</div>
);