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 = 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 = (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'} @@ -213,7 +213,7 @@ export const NodeModalStatusFooter: Component = (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'}