From 9025ea91a2caabaa9b6ff3ece53ee8b7015e40fa Mon Sep 17 00:00:00 2001 From: "pulse-triage[bot]" <249995291+pulse-triage[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 12:03:20 +0100 Subject: [PATCH] Name infrastructure dialogs from visible context Change-source: pulse-maintainer --- .../Settings/InfrastructureWorkspace.tsx | 30 +++++++++++++++---- .../InfrastructureWorkspace.test.tsx | 11 +++++++ .../83-product-trust-accessibility.spec.ts | 20 +++++++++++++ 3 files changed, 55 insertions(+), 6 deletions(-) diff --git a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx index e6c3bfc89..d9fb77e75 100644 --- a/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx +++ b/frontend-modern/src/components/Settings/InfrastructureWorkspace.tsx @@ -80,6 +80,11 @@ interface AgentUninstallCommands { windows: string; } +const ADD_DIALOG_TITLE_ID = 'infrastructure-add-dialog-title'; +const ADD_DIALOG_DESCRIPTION_ID = 'infrastructure-add-dialog-description'; +const EDIT_DIALOG_TITLE_ID = 'infrastructure-edit-dialog-title'; +const EDIT_DIALOG_DESCRIPTION_ID = 'infrastructure-edit-dialog-description'; + const ADD_STEP_TO_TYPE: Record = { agent: 'agent', 'linux-host': 'agent', @@ -1020,14 +1025,19 @@ const InfrastructureWorkspaceContent: Component =
-

{addDialogTitle()}

-

{addDialogDescription()}

+

+ {addDialogTitle()} +

+

+ {addDialogDescription()} +