-
Notifications
You must be signed in to change notification settings - Fork 1
Feat/UI redesign #230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
hima700
wants to merge
10
commits into
SoftwareDesignLab:main
Choose a base branch
from
hima700:feat/ui-redesign
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat/UI redesign #230
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ll name; auto-enable filters
- src/app/shared/services/toast.service.ts: add showInfoToast(title, message).
- src/app/shared/components/toast/toast.component.html: bind [ngClass]="type" on header/body.
- src/app/shared/components/toast/toast.component.scss: info=green (#4CAF50), warning=amber (#FFC107), error=red (#F44336); lighter bodies.
- src/app/shared/services/sbom.service.ts: when adding by ID, ensure SetSBOMFormat(...) and SetSBOMSchema(...) are set to true; minor typing/index-signature fixes.
- src/app/features/upload/upload.component.html: search matches alias OR id; add title="{{ getAlias(item) }}" to show full filename on hover.
- src/app/features/upload/upload.component.ts: ClearSearch() re-enables all discovered formats/schemas so rows aren’t hidden after clearing search.
Result: clear success/error visuals, immediate visibility of newly added SBOMs, and more effective search by name or id.
ui: allow selecting an existing .zip to skip client-side zipping SVIP.service.ts: uploadProject now passes through File if already a File generate-modal.component.ts: add SELECTING_SOURCE state, SelectFolderAndZip(), OnZipFileSelected(); update flow to upload selected .zip directly and fetch OSI tools generate-modal.component.html: add “Select Source” step with “Select folder and zip” and “Use existing .zip” no backend changes required (POST /svip/generators/osi/project already accepts zipped project)
…efore-upload
service: comment passthrough, restore wrapper File('temp.zip')
modal.ts: comment pre-zipped state/handlers; keep original zip+upload flow
modal.html: retain placeholder; optional full UI preserved as commented block
- Add VulnerabilitiesComponent with real-time alert tracking - Display vulnerability metrics (total, critical, high severity) - Project-based filtering and trend analysis - Auto-refresh every 60 seconds - Cache-busting for project list synchronization - Add VulnerabilityDetailsComponent for detailed CVE information - Show CVSS scores, vectors, affected packages, and suggested fixes - Implement severity filtering and search functionality - Deduplicate and sanitize advisory URLs (fix dead NodeSecurity links) - Export vulnerability data to CSV - Add Security navigation button to upload component - Add routing service pages for VULNERABILITIES and VULNERABILITY_DETAILS - Fix Electron app startup by using dynamic import for zip-a-folder ES module - Improve DTO parsing for SBOM content API responses - Remove Angular template warnings for optional chaining operators BREAKING CHANGE: Requires backend API endpoints at /svip/vulnerabilities/*
Added clickable stat cards for all severity levels (critical, high, medium, low, total) in the vulnerabilities dashboard, enabling users to filter and view vulnerabilities by severity. Updated routing to pass severity filters and project context between components. Improved styling for stat cards and alert cards to visually distinguish severity levels. The vulnerability details component now supports loading the latest SBOM for a project and applies severity filters when navigating from the dashboard, preserving project selection on navigation.
Refactored the zipDirectory handler in app.js to use archiver and stream-buffers for zipping, excluding node_modules and common build artifacts for faster processing. Added warnings when node_modules is detected and updated dependencies to include archiver and stream-buffers.
2c353c5 to
84c182c
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.