1.5 KiB
1.5 KiB
Backport Resolution UI with Function Diff Viewer
Module
Web
Status
IMPLEMENTED
Description
Frontend UI for browsing binary backport resolution results. Includes a ResolutionChipComponent (showing resolved/unresolved status), an EvidenceDrawerComponent (side panel with proof artifacts), and a FunctionDiffComponent (displaying function-level binary diffs between patched and unpatched versions). Integrates into the vulnerability detail view with e2e test coverage.
Implementation Details
- Feature directory:
src/Web/StellaOps.Web/src/app/shared/components/function-diff/ - Components:
function-diff(src/Web/StellaOps.Web/src/app/shared/components/function-diff/function-diff.component.ts)
- Source: SPRINT_1227_0003_0001_FE_backport_ui.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 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)