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.

Compose retained bounded log rendering with current accessibility guidance

pulse-triage[bot]846e3eb65aaf
diff --cc frontend-modern/src/components/Settings/SystemLogsPanel.tsx
index cdad04bef7,07f9d7b533..bbb9360366
--- a/frontend-modern/src/components/Settings/SystemLogsPanel.tsx
+++ b/frontend-modern/src/components/Settings/SystemLogsPanel.tsx
@@@ -71,25 -57,20 +72,27 @@@ export const SystemLogsPanel: Componen
class="min-h-11 sm:min-h-9 min-w-11 sm:min-w-9 p-2.5 rounded-sm hover:bg-surface-hover text-muted transition-colors"
title={SYSTEM_LOGS_PANEL_COPY.clearTitle}
>
- <Trash2 size={18} />
+ <Trash2 size={18} aria-hidden="true" />
</button>
<div class="h-6 w-px bg-surface-hover mx-2"></div>
- <button
+ <Button
+ type="button"
onClick={state.handleDownload}
+ aria-describedby={bundleHelpId}
- class="min-h-11 sm:min-h-9 flex items-center space-x-2 px-3 py-2.5 bg-primary-600 text-white rounded-md hover:bg-primary-700 text-sm font-medium transition-colors"
+ variant="primaryFlat"
+ size="settingsAction"
+ class="gap-2"
>
- <Download size={16} />
+ <Download size={16} aria-hidden="true" />
<span>{SYSTEM_LOGS_PANEL_COPY.downloadLabel}</span>
- </button>
+ </Button>
</div>
</div>
+ <div class="space-y-2 text-sm text-muted">
+ <p id={levelHelpId}>{SYSTEM_LOGS_PANEL_COPY.levelHelp}</p>
+ <p id={displayHelpId}>{SYSTEM_LOGS_PANEL_COPY.displayHelp}</p>
+ <p id={bundleHelpId}>{SYSTEM_LOGS_PANEL_COPY.bundleHelp}</p>
+ </div>
</div>
{/* Terminal View */}