Files
git.stella-ops.org/docs/features/checked/web/verdict-detail-panel-ui.md
2026-02-12 10:27:23 +02:00

40 lines
2.3 KiB
Markdown

# Verdict Detail Panel UI
## Module
Web
## Status
VERIFIED
## Description
Verdict-scoped detail panel combining an evidence graph visualization (D3.js force-directed) with policy breadcrumbs and score breakdown. Distinct from the known "Evidence Subgraph UI Visualization" which is graph-centric -- this is a verdict-centric composite panel integrating evidence graph, policy trace, and scoring into a unified decision view.
## Implementation Details
- **Feature directory**: `src/Web/StellaOps.Web/src/app/features/verdicts/components/verdict-detail-panel/`
- **Components**:
- `verdict-detail-panel` (`src/Web/StellaOps.Web/src/app/features/verdicts/components/verdict-detail-panel/verdict-detail-panel.component.ts`)
- **Behavior coverage**:
- `src/Web/StellaOps.Web/src/tests/verdicts/verdict-detail-panel-ui.behavior.spec.ts`
- **Source**: SPRINT_1227_0014_0002_FE_verdict_ui.md and QA deterministic key/styling 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 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 panel/drawer opens on trigger (click, keyboard shortcut)
- [ ] Verify the panel displays the correct detail data for the selected item
- [ ] Verify the panel can be closed (X button, Escape key, backdrop click)
- **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-detail-panel-ui/run-001/`
- Date (UTC): 2026-02-11
- Tier 0: PASS (source/symbol verification; added supported behavior harness; fixed deterministic track keys and unsupported breakpoint mixin usage).
- Tier 1: PASS (`npm run test` focused + regression include suite: 31 files / 145 tests; `npm run build` passed with baseline warnings).
- Tier 2: PASS (route/data load behavior, panel action outputs, deterministic rendering semantics, and error-path handling validated via Angular behavior harness).