Files
git.stella-ops.org/docs/features/unchecked/web/verdict-why-summary-bullets-component.md

38 lines
1.8 KiB
Markdown

# Verdict "Why" Summary Bullets Component
## Module
Web
## Status
IMPLEMENTED
## Description
Component displaying 3-5 bullet-point explanations of verdict drivers for a given delta verdict, enabling quick PM understanding of why a release was marked Routine/Review/Block.
## Implementation Details
- **Feature directory**: `src/Web/StellaOps.Web/src/app/features/verdicts/`
- **Components**:
- `evidence-graph` (`src/Web/StellaOps.Web/src/app/features/verdicts/components/evidence-graph/evidence-graph.component.ts`)
- `policy-breadcrumb` (`src/Web/StellaOps.Web/src/app/features/verdicts/components/policy-breadcrumb/policy-breadcrumb.component.ts`)
- `verdict-actions` (`src/Web/StellaOps.Web/src/app/features/verdicts/components/verdict-actions/verdict-actions.component.ts`)
- `verdict-detail-panel` (`src/Web/StellaOps.Web/src/app/features/verdicts/components/verdict-detail-panel/verdict-detail-panel.component.ts`)
- **Services**:
- `verdict` (`src/Web/StellaOps.Web/src/app/features/verdicts/services/verdict.service.ts`)
- **Models**:
- `src/Web/StellaOps.Web/src/app/features/verdicts/models/verdict.models.ts`
- **Source**: SPRINT_20251226_004_FE_risk_dashboard.md
## E2E Test Plan
- **Setup**:
- [ ] Log in with a user that has appropriate permissions
- [ ] Navigate to `/triage/artifacts/:artifactId`
- [ ] 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)