35 lines
1.7 KiB
Markdown
35 lines
1.7 KiB
Markdown
# Proof Spine UI component (segmented visualization with badges)
|
|
|
|
## Module
|
|
Web
|
|
|
|
## Status
|
|
IMPLEMENTED
|
|
|
|
## Description
|
|
Angular proof-spine component suite with segment visualization, badge rows, detail modals, and e2e tests.
|
|
|
|
## Implementation Details
|
|
- **Feature directory**: `src/Web/StellaOps.Web/src/app/shared/components/proof-spine/`
|
|
- **Components**:
|
|
- `chain-integrity-badge` (`src/Web/StellaOps.Web/src/app/shared/components/proof-spine/chain-integrity-badge.component.ts`)
|
|
- `proof-badges-row` (`src/Web/StellaOps.Web/src/app/shared/components/proof-spine/proof-badges-row.component.ts`)
|
|
- `proof-segment` (`src/Web/StellaOps.Web/src/app/shared/components/proof-spine/proof-segment.component.ts`)
|
|
- `proof-spine` (`src/Web/StellaOps.Web/src/app/shared/components/proof-spine/proof-spine.component.ts`)
|
|
- `segment-detail-modal` (`src/Web/StellaOps.Web/src/app/shared/components/proof-spine/segment-detail-modal.component.ts`)
|
|
- **Source**: Feature matrix scan
|
|
|
|
## 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 component renders correctly with sample data
|
|
- [ ] Verify interactive elements respond to user input
|
|
- [ ] Verify data is fetched and displayed from the correct API endpoints
|
|
- **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)
|