1.6 KiB
1.6 KiB
Operator/Auditor mode toggle
Module
Web
Status
IMPLEMENTED
Description
View mode service, toggle component, and operator-only/auditor-only directives implement two-mode UI with different default levels of detail.
Implementation Details
- Feature directory:
src/Web/StellaOps.Web/src/app/features/workspaces/shared/ - Components:
workspace-nav-dropdown(src/Web/StellaOps.Web/src/app/features/workspaces/shared/components/workspace-nav-dropdown/workspace-nav-dropdown.component.ts)workspace-toggle(src/Web/StellaOps.Web/src/app/features/workspaces/shared/components/workspace-toggle/workspace-toggle.component.ts)
- Services:
workspace-preferences(src/Web/StellaOps.Web/src/app/features/workspaces/shared/services/workspace-preferences.service.ts)
- Models:
src/Web/StellaOps.Web/src/app/features/workspaces/shared/models/workspace-preferences.models.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 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)