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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
ledger: tell the truth on Platform API remove confirm
rcourtman7e7765187b81
diff --git a/frontend-modern/src/components/Settings/ConnectionsTable.tsx b/frontend-modern/src/components/Settings/ConnectionsTable.tsxindex 5d907b1fd1..4de19b1523 100644--- a/frontend-modern/src/components/Settings/ConnectionsTable.tsx+++ b/frontend-modern/src/components/Settings/ConnectionsTable.tsx@@ -219,6 +219,18 @@ export const ConnectionsTable: Component<ConnectionsTableProps> = (props) => {</TableRow></Show>+ <Show when={!row.isAgent && isConfirmingRemove()}>+ <TableRow>+ <TableCell colspan={colSpan()} class="bg-surface-alt px-4 pb-3 pt-1">+ <p class="text-xs text-muted">+ Removing forgets this connection from Pulse; history is retained.+ Credentials on the platform itself are untouched — revoke them there+ separately if you want to invalidate access.+ </p>+ </TableCell>+ </TableRow>+ </Show>+<Show when={row.isAgent && isConfirmingRemove() && props.agentUninstallCommands}><TableRow><TableCell colspan={colSpan()} class="bg-surface-alt px-4 pb-4 pt-1">diff --git a/frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx b/frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsxindex 9bd9e515a0..2164dda770 100644--- a/frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/ConnectionsTable.test.tsx@@ -190,6 +190,27 @@ describe('ConnectionsTable', () => {expect(screen.queryByRole('button', { name: 'Remove' })).toBeNull();});+ it('tells the truth on Platform API remove confirm: history retained, platform untouched', () => {+ const actions = makeActions({ confirmingRemove: () => true });+ const pveConnection = connectionFixture({+ id: 'pve:zeus',+ type: 'pve',+ name: 'zeus',+ });+ render(() => (+ <ConnectionsTable+ rows={() => [row({ connection: pveConnection, isAgent: false })]}+ actions={actions}+ onEdit={vi.fn()}+ />+ ));++ expect(screen.getByText(/history is retained/i)).toBeInTheDocument();+ expect(screen.getByText(/Credentials on the platform itself are untouched/i)).toBeInTheDocument();+ // No uninstall block for Platform API rows — only agents get that courtesy.+ expect(screen.queryByText(/--uninstall/)).toBeNull();+ });+it('reveals the agent uninstall commands while confirming removal of an agent row', () => {const actions = makeActions({ confirmingRemove: () => true });const agentConnection = connectionFixture({