Files
git.stella-ops.org/docs/features/unchecked/web/context-status-chips.md

1.6 KiB

Context Status Chips (Offline/Feed/Policy/Evidence)

Module

Web

Status

IMPLEMENTED

Description

No description available.

Implementation Details

  • Feature directory: src/Web/StellaOps.Web/src/app/layout/context-chips/
  • Components:
    • context-chips (src/Web/StellaOps.Web/src/app/layout/context-chips/context-chips.component.ts)
    • evidence-mode-chip (src/Web/StellaOps.Web/src/app/layout/context-chips/evidence-mode-chip.component.ts)
    • feed-snapshot-chip (src/Web/StellaOps.Web/src/app/layout/context-chips/feed-snapshot-chip.component.ts)
    • offline-status-chip (src/Web/StellaOps.Web/src/app/layout/context-chips/offline-status-chip.component.ts)
    • policy-baseline-chip (src/Web/StellaOps.Web/src/app/layout/context-chips/policy-baseline-chip.component.ts)
  • Source: SPRINT_20260118_001_FE_shell_navigation_redesign.md

E2E Test Plan

  • Setup:
    • Log in with a user that has appropriate permissions
    • Navigate to the relevant page/section where this feature appears
    • Ensure test data exists (scanned artifacts, SBOM data, or seed data as needed)
  • Core verification:
    • Verify the badge/chip renders with correct status color and label
    • Verify the badge updates reactively when underlying data changes
    • Verify tooltip or popover shows additional detail on hover
  • 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)