Files
git.stella-ops.org/docs/features/unchecked/web/metrics-dashboard-component.md

1.3 KiB

Metrics Dashboard Component (Attestation Coverage, Approval Velocity, Gap Analysis)

Module

Web

Status

IMPLEMENTED

Description

Angular standalone component providing a dashboard view of attestation coverage metrics, approval velocity trends, and evidence gap analysis. Visualizes operational health of the attestation pipeline.

Implementation Details

  • Feature directory: src/Web/StellaOps.Web/src/app/features/analytics/
  • Routes: analytics.routes.ts
  • Components:
    • sbom-lake-page (src/Web/StellaOps.Web/src/app/features/analytics/sbom-lake-page.component.ts)
  • Source: batch_02/file_00.md

E2E Test Plan

  • Setup:
    • Log in with a user that has appropriate permissions
    • Navigate to /analytics
    • Ensure test data exists (scanned artifacts, SBOM data, or seed data as needed)
  • Core verification:
    • Verify the dashboard loads without errors and displays summary cards/metrics
    • Verify data refreshes correctly and loading states are shown
    • Verify empty state is displayed when no data is available
  • Edge cases:
    • Verify graceful handling when backend API is unavailable (error state)
    • Verify responsive layout at different viewport sizes
    • Verify accessibility (keyboard navigation, screen reader labels, ARIA attributes)