Feat/UI success toasts search#229
Open
hima700 wants to merge 4 commits intoSoftwareDesignLab:mainfrom
Open
Conversation
…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
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
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.