42 lines
2.2 KiB
Markdown
42 lines
2.2 KiB
Markdown
# Verdict "Why" Summary Bullets Component
|
|
|
|
## Module
|
|
Web
|
|
|
|
## Status
|
|
VERIFIED
|
|
|
|
## 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**:
|
|
- `policy-breadcrumb` (`src/Web/StellaOps.Web/src/app/features/verdicts/components/policy-breadcrumb/policy-breadcrumb.component.ts`)
|
|
- deterministic `summaryBullets` derivation with fallback semantics and max-5 cap
|
|
- `trackBySummaryBullet(...)` for stable bullet rendering
|
|
- **Behavior coverage**:
|
|
- `src/Web/StellaOps.Web/src/tests/verdicts/verdict-why-summary-bullets-component.behavior.spec.ts`
|
|
- **Source**: SPRINT_20251226_004_FE_risk_dashboard.md and QA summary-bullets implementation hardening in Sprint `SPRINT_20260211_029_FE_web_feature_verification_batch40`.
|
|
|
|
## 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)
|
|
|
|
## Verification
|
|
- Run ID: `docs/qa/feature-checks/runs/web/verdict-why-summary-bullets-component/run-001/`
|
|
- Date (UTC): 2026-02-11
|
|
- Tier 0: PASS (source/symbol verification; implemented missing why-summary bullet rendering, deterministic ordering/track keys, and supported behavior harness).
|
|
- Tier 1: PASS (`npm run test` focused + regression include suite: 33 files / 152 tests; `npm run build` passed with baseline warnings).
|
|
- Tier 2: PASS (deterministic summary ordering, fallback behavior, and 5-bullet cap validated via Angular behavior harness).
|