Skip to content

Conversation

@hima700
Copy link

@hima700 hima700 commented Aug 28, 2025

No description provided.

hima700 and others added 4 commits August 16, 2025 08:51
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant