37 lines
1.8 KiB
Markdown
37 lines
1.8 KiB
Markdown
# Smart-Diff UI Components (Visual Diffs)
|
|
|
|
## Module
|
|
Web
|
|
|
|
## Status
|
|
VERIFIED
|
|
|
|
## Description
|
|
Full visual diff UI with three-pane layout (categories, items, proof), delta summary strip, compare view, VEX merge explanation visualization, proof pane, export actions, and smart-diff badges. Matches the advisory's specified UI patterns.
|
|
|
|
## Implementation Details
|
|
- **Feature directory**: `src/Web/StellaOps.Web/src/app/shared/components/smart-diff-badge/`
|
|
- **Components**:
|
|
- `smart-diff-badge` (`src/Web/StellaOps.Web/src/app/shared/components/smart-diff-badge/smart-diff-badge.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 side-by-side comparison view renders correctly with two versions
|
|
- [ ] Verify additions, removals, and changes are visually highlighted
|
|
- [ ] Verify diff data matches the expected delta between versions
|
|
- **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
|
|
- Verified on 2026-02-11 via `docs/qa/feature-checks/runs/web/smart-diff-ui-components/run-001/`.
|
|
- Tier 0 confirmed SmartDiff badge component/export assets and key rule metadata symbols.
|
|
- Tier 1 passed focused Angular behavior regression (15 files / 69 tests) and `npm run build`.
|
|
- Tier 2 validated SmartDiff rule metadata mapping, single-rule/severity rendering, and compact multi-rule icon behavior.
|