@redhat-cloud-services/nxtcm-dashboard
v6.0.0
Published
PatternFly dashboard widget components for ACM and OCM console home views
Readme
@redhat-cloud-services/nxtcm-dashboard
PatternFly dashboard widget components for ACM and OCM console home views.
Installation
npm install @redhat-cloud-services/nxtcm-dashboardPeer dependencies
This package expects these dependencies to be provided by the consuming application:
reactreact-dom@patternfly/react-core@patternfly/react-icons@patternfly/react-table@patternfly/react-charts@patternfly/widgetized-dashboard
Usage
import '@redhat-cloud-services/nxtcm-dashboard/dist/nxtcm-dashboard.css';
import { TotalClusters, AdvisorSeverity } from '@redhat-cloud-services/nxtcm-dashboard';
export const DashboardSummary = () => (
<>
<TotalClusters data={{ total: 67 }} />
<AdvisorSeverity severity={{ critical: 3, important: 8, moderate: 12, low: 20 }} />
</>
);Component catalog
Dashboard- configurable widgetized dashboard layout wrapperTotalClusters- total managed cluster count cardClusterProviders- provider distribution donut cardClustersWithIssues- clusters with issues table cardResourceUtilization- utilization donut cardExpiredTrials- expired trials table cardTelemetry- connected vs disconnected status cardUpdateStatus- up to date vs update available cardAdvisorSeverity- advisor counts by severity cardAdvisorCategories- advisor counts by category donut cardCostManagement- total and per-cluster cost cardCVECard- CVE counts by severity cardClusterRecommendations- recommendation summary cardSubscriptions- subscription status and counts cardUpgradeRisks- upgrade risk severity cardLoadingPanel- generic loading state panelNotificationsPanel- notifications table card
Publishing
This package is published when a GitHub Release is created on main with tag nxtcm-dashboard-v{version} matching package.json. See the repository publishing guide.
