31 lines
1.3 KiB
Markdown
31 lines
1.3 KiB
Markdown
# Binary-Diff Panel UI Component
|
|
|
|
## Module
|
|
Web
|
|
|
|
## Status
|
|
IMPLEMENTED
|
|
|
|
## Description
|
|
Angular component providing side-by-side binary diff visualization with scope selector (file/section/function level), hex view toggle, and integration with the binary diff backend service for patch detection review.
|
|
|
|
## Implementation Details
|
|
- **Feature directory**: `src/Web/StellaOps.Web/src/app/shared/components/binary-diff/`
|
|
- **Components**:
|
|
- `binary-diff-panel` (`src/Web/StellaOps.Web/src/app/shared/components/binary-diff/binary-diff-panel.component.ts`)
|
|
- **Source**: SPRINT_20260117_018_FE
|
|
|
|
## 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)
|