Files
pulse/frontend-modern/src/utils/infrastructureEmptyStatePresentation.ts
T
rcourtman 132e298d5b Canonicalize Settings Infrastructure guidance copy
Route Settings Infrastructure destination labels and source-strategy copy through the shared infrastructure settings presentation helper so dashboard, infrastructure, discovery, PMG, storage disk-health, and alert-thresholds guidance do not revive removed nested settings paths.
2026-04-29 09:48:33 +01:00

26 lines
804 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { getInfrastructureSourceStrategyDescription } from '@/utils/infrastructureSettingsPresentation';
export function getInfrastructureEmptyState() {
return {
title: 'No infrastructure sources yet',
description: getInfrastructureSourceStrategyDescription(),
actionLabel: 'Add infrastructure source',
} as const;
}
export function getInfrastructureFilterEmptyState() {
return {
title: 'No resources match filters',
description: 'Try adjusting the search, source, or status filters.',
actionLabel: 'Clear filters',
} as const;
}
export function getInfrastructureLoadFailureState() {
return {
title: 'Unable to load infrastructure',
description: 'We couldn’t fetch unified resources. Check connectivity or retry.',
actionLabel: 'Retry',
} as const;
}