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.

Tighten Manage dialog action-bar copy and cluster subtitle

rcourtman7b3c2ede5831
diff --git a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
index b8b831b887..745e05fb2a 100644
--- a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
+++ b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx
@@ -877,7 +877,10 @@ const InfrastructureWorkspaceContent: Component<InfrastructureWorkspaceProps> =
const row = editingRow();
if (row?.isCluster) {
const contact = connection.name || connection.address || 'contact node';
- return `${label} cluster · Editing via contact node ${contact}${connection.address ? ` (${connection.address})` : ''}${methods}`;
+ // Drop the 'Editing via' phrasing that read awkwardly; just identify
+ // the contact node and address. The dialog body and the row the user
+ // came from already make the editing context clear.
+ return `${label} cluster · ${contact}${connection.address ? ` (${connection.address})` : ''}${methods}`;
}
return `${label}${connection.address ? ` · ${connection.address}` : ''}${methods}`;
});
diff --git a/frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx b/frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx
index 1ecaf6e04f..04d39b3b14 100644
--- a/frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx
+++ b/frontend-modern/src/components/Settings/NodeModalStatusFooter.tsx
@@ -154,7 +154,7 @@ export const NodeModalStatusFooter: Component<NodeModalStatusFooterProps> = (pro
disabled={state.isTesting() || props.togglePending || props.deletePending}
class="px-4 py-2 text-sm border border-border text-base-content rounded-md hover:bg-surface-hover transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
>
- {state.isTesting() ? 'Testing...' : 'Test Connection'}
+ {state.isTesting() ? 'Testing…' : 'Test connection'}
</button>
</Show>
</div>
@@ -213,7 +213,7 @@ export const NodeModalStatusFooter: Component<NodeModalStatusFooterProps> = (pro
disabled={props.togglePending || props.deletePending}
class="px-4 py-2 text-sm bg-blue-600 text-white rounded-md hover:bg-blue-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
>
- {state.isEditingExistingNode() ? 'Update' : 'Add'} Node
+ {state.isEditingExistingNode() ? 'Save changes' : 'Add node'}
</button>
</Show>
</div>