refactor: rename ManagedEnvironment context badge to Environment context #431

Merged
ahmido merged 2 commits from 360-operationrun-canonical-cutover-cleanup into platform-dev 2026-06-06 20:30:27 +00:00
4 changed files with 5 additions and 5 deletions
Showing only changes of commit a64563c1b1 - Show all commits

View File

@ -948,7 +948,7 @@ private function operationsEntry(
targetKind: $rule->targetType,
priority: $rule->priority,
actionLabel: $this->labels->actionLabel($rule->relationKey),
contextBadge: 'ManagedEnvironment context',
contextBadge: 'Environment context',
);
}

View File

@ -60,7 +60,7 @@ public function resolve(ReferenceDescriptor $descriptor): ResolvedReference
targetKind: ReferenceClass::OperationRun->value,
url: OperationRunLinks::tenantlessView($run, $navigationContext),
actionLabel: OperationRunLinks::openLabel(),
contextBadge: $run->managed_environment_id ? 'ManagedEnvironment context' : 'Workspace',
contextBadge: $run->managed_environment_id ? 'Environment context' : 'Workspace',
),
);
}

View File

@ -56,7 +56,7 @@
'linkTarget' => [
'url' => '/admin/operations/189',
'actionLabel' => 'Open operation',
'contextBadge' => 'ManagedEnvironment context',
'contextBadge' => 'Environment context',
],
'technicalDetail' => [
'displayId' => '189',
@ -81,7 +81,7 @@
],
);
$referenceBadgePosition = strpos($html, 'ManagedEnvironment context');
$referenceBadgePosition = strpos($html, 'Environment context');
$referenceActionPosition = strpos($html, 'Open operation');
$fallbackBadgePosition = strpos($html, 'Workspace context');
$fallbackActionPosition = strpos($html, 'Inspect operations');

View File

@ -33,7 +33,7 @@
targetKind: ReferenceClass::OperationRun->value,
url: '/admin/operations/44',
actionLabel: 'Open operation',
contextBadge: 'ManagedEnvironment context',
contextBadge: 'Environment context',
),
technicalDetail: ReferenceTechnicalDetail::forIdentifier('44'),
),