44 lines
2.4 KiB
Markdown
44 lines
2.4 KiB
Markdown
# Domain Widget Library (DigestChip, GateBadge, ReachabilityStateChip, WitnessPathPreview, EvidenceLink, GateSummaryPanel)
|
|
|
|
## Module
|
|
Web
|
|
|
|
## Status
|
|
VERIFIED
|
|
|
|
## Description
|
|
Six reusable domain-specific widgets: DigestChip (truncated digest with copy), GateBadge (gate level display), ReachabilityStateChip (R0-R3 state), WitnessPathPreview (call path snippet), EvidenceLink (attestation link), GateSummaryPanel (gate overview).
|
|
|
|
## Implementation Details
|
|
- **Feature directory**: `src/Web/StellaOps.Web/src/app/shared/domain/`
|
|
- **Components**:
|
|
- `digest-chip` (`src/Web/StellaOps.Web/src/app/shared/domain/digest-chip/digest-chip.component.ts`)
|
|
- `evidence-link` (`src/Web/StellaOps.Web/src/app/shared/domain/evidence-link/evidence-link.component.ts`)
|
|
- `gate-badge` (`src/Web/StellaOps.Web/src/app/shared/domain/gate-badge/gate-badge.component.ts`)
|
|
- `gate-summary-panel` (`src/Web/StellaOps.Web/src/app/shared/domain/gate-summary-panel/gate-summary-panel.component.ts`)
|
|
- `reachability-state-chip` (`src/Web/StellaOps.Web/src/app/shared/domain/reachability-state-chip/reachability-state-chip.component.ts`)
|
|
- `witness-path-preview` (`src/Web/StellaOps.Web/src/app/shared/domain/witness-path-preview/witness-path-preview.component.ts`)
|
|
- `witness-status-chip` (`src/Web/StellaOps.Web/src/app/shared/domain/witness-status-chip/witness-status-chip.component.ts`)
|
|
- **Source**: SPRINT_20260118_009_FE_route_migration_shared_components.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 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: `docs/qa/feature-checks/runs/web/domain-widget-library/run-001/`
|
|
- Tier 0 (source): pass (`tier0-source-check.json`)
|
|
- Tier 1 (build/tests): pass (`tier1-build-check.json`)
|
|
- Tier 2 (behavior): pass (`tier2-e2e-check.json`)
|
|
- Verified on (UTC): 2026-02-10
|