Skip to content

V1.0.0 #170

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

Merged
merged 590 commits into from
Jul 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
590 commits
Select commit Hold shift + click to select a range
62d6554
fixed components and metadata so all data is printing
maxstein16 Jul 14, 2023
72e50fa
init compare
jwj7297 Jul 14, 2023
74dda1c
init compare
jwj7297 Jul 14, 2023
8cd349d
mock diffReport
jwj7297 Jul 14, 2023
72f320b
compare function and var
jwj7297 Jul 14, 2023
6c1e003
added compare page for routing
jwj7297 Jul 14, 2023
90978e9
Compare Modal
jwj7297 Jul 14, 2023
f8fa2c3
call compare sboms on modal
jwj7297 Jul 14, 2023
c0a0d5b
close modal after call
jwj7297 Jul 14, 2023
3573cc4
added compare var
jwj7297 Jul 14, 2023
9c05533
Finished compare component
jwj7297 Jul 14, 2023
9cbcdb5
Show compare on page 2
jwj7297 Jul 14, 2023
d2e160d
adding accordion and viewer pretty option
maxstein16 Jul 10, 2023
e541264
Merge branch 'dev-difReport' of https://github.com/SoftwareDesignLab/…
jwj7297 Jul 14, 2023
1f8b1bf
swap schema and format
mikufan76 Jul 14, 2023
5fba616
Merge pull request #78 from SoftwareDesignLab/dev-fixViewer
maxstein16 Jul 17, 2023
b34d0fa
Merge pull request #79 from SoftwareDesignLab/dev-convertFixes
maxstein16 Jul 17, 2023
a2f2a77
fixed toaster fade animation
Marrufof Jul 17, 2023
a0e3d45
added half toast functionality
Marrufof Jul 13, 2023
5222f91
added half of the toast pop up function
Marrufof Jul 13, 2023
157e514
added half of the toast pop up function
Marrufof Jul 13, 2023
a730511
added curser when hovering sbom
Marrufof Jul 13, 2023
b3ab75c
toast working for trying to download when none are selected
Marrufof Jul 14, 2023
29add6a
added toast based off modal
Marrufof Jul 14, 2023
50b1195
updated toast css
Marrufof Jul 14, 2023
43ab949
modal delay
Marrufof Jul 14, 2023
f840a0f
added animation to toast
Marrufof Jul 14, 2023
c0f82ef
fixed toaster fade animation
Marrufof Jul 17, 2023
9ab38af
pulling from dev
Marrufof Jul 17, 2023
7115033
fixed modal
Marrufof Jul 17, 2023
2ea7356
Merge branch 'dev-difReport' of https://github.com/SoftwareDesignLab/…
mikufan76 Jul 17, 2023
48f33bc
Revert "Merge branch 'dev-difReport' of https://github.com/SoftwareDe…
mikufan76 Jul 17, 2023
1c8f5c4
Revert "Revert "Merge branch 'dev-difReport' of https://github.com/So…
mikufan76 Jul 17, 2023
847262c
Merge branch 'dev' into dev-difReport
mikufan76 Jul 17, 2023
20a9ea1
Merge pull request #77 from SoftwareDesignLab/dev-difReport
mikufan76 Jul 17, 2023
352ab5f
Making the for each, a for loop so I can break it
Marrufof Jul 17, 2023
0e78c1f
merging
Marrufof Jul 18, 2023
2230ce7
working toast for all cases
Marrufof Jul 18, 2023
cd3e32a
Cleanup suggestions
mikufan76 Jul 18, 2023
5f143bb
fixed toast pop up
Marrufof Jul 18, 2023
c6db3d8
Merge pull request #80 from SoftwareDesignLab/dev-downloadSBOMS
mikufan76 Jul 18, 2023
d4f60d1
Pretty view hooked to endpoint
mikufan76 Jul 18, 2023
75c0127
remove mock data
mikufan76 Jul 18, 2023
e53b017
nav bar logo is now legible and removed bottom text from logo
maxstein16 Jul 18, 2023
7fd5b7a
convert is functional, datahandler updated
mikufan76 Jul 18, 2023
6177695
Delete fixed and files load on launch
mikufan76 Jul 18, 2023
0cadd5d
Merge pull request #86 from SoftwareDesignLab/dev-svipLogo
mikufan76 Jul 19, 2023
acd80ed
Merge pull request #87 from SoftwareDesignLab/dev-demo
mikufan76 Jul 19, 2023
1cc305c
Lots of errors, but datahandler has been split into 2 files
mikufan76 Jul 19, 2023
c0e3425
adding toolbar component
maxstein16 Jul 19, 2023
63ea89d
removing unused code in upload which is now in the toolbar component
maxstein16 Jul 19, 2023
a08961d
adding toolbar to app
maxstein16 Jul 19, 2023
6e654bd
set up sbom object, make electron functions
mikufan76 Jul 19, 2023
9611e79
create sbom and file classes
mikufan76 Jul 19, 2023
bf7c7cf
adding toaster service
Marrufof Jul 19, 2023
bc342af
documentation and normalizing names progress
mikufan76 Jul 19, 2023
3eead96
documentation complete
mikufan76 Jul 19, 2023
6a037f0
fix filtering and add regions
mikufan76 Jul 19, 2023
232a9bd
replace format with schema
mikufan76 Jul 19, 2023
75db195
remove unused value
mikufan76 Jul 19, 2023
fb5960b
Fix delete and move error handling todo
mikufan76 Jul 19, 2023
2e3f299
fix selected file issue
mikufan76 Jul 20, 2023
50a2152
fix raw view after convert
mikufan76 Jul 20, 2023
810c819
fix spacing
mikufan76 Jul 20, 2023
0aeed07
Merge pull request #90 from SoftwareDesignLab/dev-datahandlerRefactor
maxstein16 Jul 20, 2023
cb03532
adding toolbar component
maxstein16 Jul 19, 2023
38ca871
removing unused code in upload which is now in the toolbar component
maxstein16 Jul 19, 2023
0dc92d1
Merge branch 'dev-toolbar' of https://github.com/SoftwareDesignLab/sv…
maxstein16 Jul 20, 2023
c6f3a56
Renamed viewer to view and moved to features
jwj7297 Jul 20, 2023
1ca63ce
implemented viewer component
jwj7297 Jul 20, 2023
090fc89
converted view to viewer component
jwj7297 Jul 20, 2023
44e0917
add types
mikufan76 Jul 21, 2023
c914fc8
Update package-lock.json
mikufan76 Jul 21, 2023
9e290e8
fixing download/using mockdata for diff report
maxstein16 Jul 21, 2023
a6e4d57
adding modals
maxstein16 Jul 21, 2023
0017160
moving modals into toolbar folder
maxstein16 Jul 21, 2023
4bc20ed
removing toolbar component
maxstein16 Jul 21, 2023
750da23
adding back buttons to upload and functionality
maxstein16 Jul 21, 2023
3b23e4f
Merge pull request #93 from SoftwareDesignLab/dev-fixVulnerabilties
mikufan76 Jul 24, 2023
b119e41
Merge pull request #97 from SoftwareDesignLab/dev-viewerRework
mikufan76 Jul 24, 2023
c015568
functionality for users to zip multiple files
maxstein16 Jul 24, 2023
5f11812
adding jszip
maxstein16 Jul 24, 2023
2c11298
Merge branch 'dev' into dev-toolbar
mikufan76 Jul 24, 2023
711fa50
Merge pull request #88 from SoftwareDesignLab/dev-toolbar
mikufan76 Jul 24, 2023
3ef98fc
Next time I will not resolve a merge conflict on github.com instead o…
mikufan76 Jul 24, 2023
f0d206e
Merge pull request #99 from SoftwareDesignLab/dev-appFix
maxstein16 Jul 24, 2023
27a6fd2
functionality for users to zip multiple files
maxstein16 Jul 24, 2023
dbad46c
adding jszip
maxstein16 Jul 24, 2023
36566b3
Merge branch 'dev-zipFiles' of https://github.com/SoftwareDesignLab/s…
maxstein16 Jul 24, 2023
0bb73f7
Merge pull request #98 from SoftwareDesignLab/dev-zipFiles
mikufan76 Jul 24, 2023
85c627e
delete selected now only works when checkboxes are clicked
maxstein16 Jul 24, 2023
be77619
slide-up, slide-right, scale-in, and center css
jwj7297 Jul 24, 2023
75caf53
scale and slide in upload
jwj7297 Jul 24, 2023
8b4fbcb
fade in css
jwj7297 Jul 24, 2023
c34a67b
modal fade in
jwj7297 Jul 24, 2023
9610ddf
removed toolbar on navbar and centered img
jwj7297 Jul 24, 2023
18605b1
slide left
jwj7297 Jul 24, 2023
a80fff6
Merge branch 'dev' of https://github.com/SoftwareDesignLab/svip-ui in…
jwj7297 Jul 24, 2023
f5ad681
changing download and delete to icon buttons
maxstein16 Jul 24, 2023
7a78f6e
adding the dropdown menu if an sbom is invalid. if it is invalid you …
maxstein16 Jul 25, 2023
37c757e
Merge branch 'dev' into dev-toast
Marrufof Jul 25, 2023
530e2df
add styling, working on adding toast
Marrufof Jul 25, 2023
ff96293
Update API calls
mikufan76 Jul 25, 2023
bb0ef87
Merge pull request #129 from SoftwareDesignLab/dev-apicalls
maxstein16 Jul 25, 2023
40727e8
Merge pull request #111 from SoftwareDesignLab/dev-buttonFixes
mikufan76 Jul 25, 2023
8989adc
toggle is now centered
maxstein16 Jul 25, 2023
61eefd8
Merge pull request #128 from SoftwareDesignLab/dev-deleteInvalidFiles
mikufan76 Jul 25, 2023
1852804
Added readme
dlg1206 Jul 25, 2023
32a981a
removed unused toast and added scss to toast
Marrufof Jul 25, 2023
598970f
delete and download buttons work with toaster
Marrufof Jul 25, 2023
77aeda9
Merge branch 'dev' into dev-toast
Marrufof Jul 25, 2023
fd3f2fe
user can now clear the search bar
maxstein16 Jul 25, 2023
95f41a8
move clear x
mikufan76 Jul 26, 2023
79564fc
fix pointer
mikufan76 Jul 26, 2023
1ac3b7e
Merge pull request #130 from SoftwareDesignLab/dev-clearSearch
mikufan76 Jul 26, 2023
1094659
Merge pull request #131 from SoftwareDesignLab/dev-dragDropCenter
mikufan76 Jul 26, 2023
c29928f
Right Click for menu
mikufan76 Jul 26, 2023
83a3784
prevent text selection and fix download 1 bug
mikufan76 Jul 26, 2023
e1bd198
Merge pull request #133 from SoftwareDesignLab/dev-menuRightClick
maxstein16 Jul 26, 2023
bd72368
user can now click the sbom name to view the sbom
maxstein16 Jul 26, 2023
a71f577
removing just clicking sbom name to now click whole sbom container
maxstein16 Jul 26, 2023
8e123d7
fixing buttons
Marrufof Jul 26, 2023
b6dfe1f
Merge branch 'dev' into dev-toast
Marrufof Jul 26, 2023
b9d038b
adding toaster service
Marrufof Jul 19, 2023
998ed30
add types
mikufan76 Jul 21, 2023
acf8299
add styling, working on adding toast
Marrufof Jul 25, 2023
70dbd18
removed unused toast and added scss to toast
Marrufof Jul 25, 2023
5bbb13e
delete and download buttons work with toaster
Marrufof Jul 25, 2023
9153e03
fixing buttons
Marrufof Jul 26, 2023
5dbfe04
Merge branch 'dev-toast' of github.com:SoftwareDesignLab/svip-ui into…
Marrufof Jul 26, 2023
07cf8d4
rebase
Marrufof Jul 26, 2023
9213ebf
removing navbar options
maxstein16 Jul 26, 2023
3f21d00
added css to make sure right corner is rounded
maxstein16 Jul 26, 2023
2aa7baa
drop down menu for view
mikufan76 Jul 26, 2023
08b4609
Merge pull request #134 from SoftwareDesignLab/dev-clickView
mikufan76 Jul 26, 2023
e0543c7
created interfaces
jwj7297 Jul 24, 2023
4a56bd4
updated interface
jwj7297 Jul 25, 2023
e3af624
implemented mock object
jwj7297 Jul 25, 2023
21ad0f3
Created Vex component
jwj7297 Jul 25, 2023
0d337b8
started vex implementation
jwj7297 Jul 26, 2023
3649e1c
fixed dropdown z-index
jwj7297 Jul 26, 2023
463d3f8
full height
jwj7297 Jul 26, 2023
9bf2900
Setup done
jwj7297 Jul 26, 2023
0d51620
display vex object fully
jwj7297 Jul 26, 2023
50cc6ca
Removed mock, added null message
jwj7297 Jul 26, 2023
828624c
Vex Routing
jwj7297 Jul 26, 2023
dcd96e4
api calls
jwj7297 Jul 26, 2023
c550eaf
Loading, hotfixes
jwj7297 Jul 26, 2023
3ac5936
swapped database to client (doc should be updated)
jwj7297 Jul 26, 2023
8e3dc5c
get id from file not name
jwj7297 Jul 26, 2023
bf7bab4
Merge pull request #137 from SoftwareDesignLab/dev-vex
mikufan76 Jul 26, 2023
e231ef6
Merge pull request #136 from SoftwareDesignLab/dev-fileListCorners
mikufan76 Jul 26, 2023
31b4b65
Merge pull request #135 from SoftwareDesignLab/dev-removeHeaderOptions
mikufan76 Jul 26, 2023
651538b
delete and download are working
Marrufof Jul 26, 2023
cafe953
Merge branch 'dev' into dev-toast
Marrufof Jul 26, 2023
4a415a6
metrics imported (broken, just switching branches)
mikufan76 Jul 26, 2023
7b54190
compiles, not implemented
mikufan76 Jul 26, 2023
87335d9
moving everything to new viewer object
mikufan76 Jul 26, 2023
6fe0767
Loading, filters, and displaying failures
mikufan76 Jul 26, 2023
308d2c9
filter pass and fail
mikufan76 Jul 26, 2023
7ff64c1
reorganize filestructure
mikufan76 Jul 26, 2023
12bbf0b
pass/fail accessibility
mikufan76 Jul 26, 2023
206ca72
functionality for users to zip multiple files
maxstein16 Jul 24, 2023
82f75eb
space between filter and search
maxstein16 Jul 27, 2023
9754d0c
styling for filters
maxstein16 Jul 27, 2023
b834d1c
Fix routing bug
mikufan76 Jul 27, 2023
aa0ac6a
Merge branch 'dev' of https://github.com/SoftwareDesignLab/svip-ui in…
jwj7297 Jul 27, 2023
44f9fcd
when user deletes file when in view it remove the container also
maxstein16 Jul 27, 2023
e48114d
Move brackets
mikufan76 Jul 27, 2023
d9a4507
Merge pull request #142 from SoftwareDesignLab/dev-viewFixes
mikufan76 Jul 27, 2023
aaac4cd
remove extra button
mikufan76 Jul 27, 2023
f3094e4
Merge branch 'dev' of https://github.com/SoftwareDesignLab/svip-ui in…
jwj7297 Jul 27, 2023
4194185
slide-up, slide-right, scale-in, and center css
jwj7297 Jul 24, 2023
27002fc
scale and slide in upload
jwj7297 Jul 24, 2023
059ab0b
fade in css
jwj7297 Jul 24, 2023
8f6a9b4
modal fade in
jwj7297 Jul 24, 2023
16e0758
removed toolbar on navbar and centered img
jwj7297 Jul 24, 2023
5f26c14
slide left
jwj7297 Jul 24, 2023
a63d57f
add tooltip
mikufan76 Jul 27, 2023
ea9aba4
Merge pull request #141 from SoftwareDesignLab/dev-filterCSS
mikufan76 Jul 27, 2023
4693c89
Merge pull request #140 from SoftwareDesignLab/dev-filterSearchSpace
mikufan76 Jul 27, 2023
758a05d
Merge pull request #143 from SoftwareDesignLab/dev-deletePageFix
mikufan76 Jul 27, 2023
732c9c6
fail => failed
mikufan76 Jul 27, 2023
81fc767
Merge pull request #138 from SoftwareDesignLab/dev-metrics
maxstein16 Jul 27, 2023
ae8a467
Animate upload button
jwj7297 Jul 27, 2023
2c1f574
Merge branch 'dev-animations' of https://github.com/SoftwareDesignLab…
jwj7297 Jul 27, 2023
d5f250f
Merge branch 'dev' into dev-toast
mikufan76 Jul 27, 2023
a62e1f3
Merge branch 'dev' of https://github.com/SoftwareDesignLab/svip-ui in…
jwj7297 Jul 27, 2023
4b3f3c1
Merge pull request #91 from SoftwareDesignLab/dev-toast
mikufan76 Jul 27, 2023
af89d2c
Merge pull request #144 from SoftwareDesignLab/dev-animations
mikufan76 Jul 27, 2023
0a8ed8d
fixed overflow text
jwj7297 Jul 27, 2023
257c243
Merge branch 'dev' into dev-longFileNames
maxstein16 Jul 27, 2023
6e0b2f3
functionality for users to zip multiple files
maxstein16 Jul 24, 2023
c07f525
fixed overflow text
jwj7297 Jul 27, 2023
0b909ab
fixed ellipsis on short txt
jwj7297 Jul 27, 2023
d528ecb
Merge branch 'dev-longFileNames' of https://github.com/SoftwareDesign…
jwj7297 Jul 27, 2023
6fdc3ad
Merge pull request #139 from SoftwareDesignLab/dev-longFileNames
mikufan76 Jul 27, 2023
f5fe56c
adding file name to metrics container
maxstein16 Jul 27, 2023
22bb2d8
added the alt colors for sbom list, added padding, added new style co…
Marrufof Jul 27, 2023
421b549
fixed padding
Marrufof Jul 27, 2023
ad2a232
fixed padding
Marrufof Jul 27, 2023
f6db755
Merge pull request #149 from SoftwareDesignLab/dev-altColor
maxstein16 Jul 27, 2023
776fac6
width for modals is fixed
Marrufof Jul 27, 2023
649c0d7
right click menu now shows
maxstein16 Jul 28, 2023
eb3e144
Merge pull request #151 from SoftwareDesignLab/dev-rightClickMenuFix
mikufan76 Jul 28, 2023
b1713bd
fixing malformatted text
maxstein16 Jul 28, 2023
037b98b
fixing malformatted text
maxstein16 Jul 28, 2023
47849e4
Merge branch 'dev-compareText' of https://github.com/SoftwareDesignLa…
maxstein16 Jul 28, 2023
05be316
changed modals to have same height
Marrufof Jul 28, 2023
d230bd2
fixed delete modal
jwj7297 Jul 28, 2023
0d28dcb
fixed compare modal
jwj7297 Jul 28, 2023
11f44f8
fixed convert modal
jwj7297 Jul 28, 2023
588cd25
Each schema has array of formats now
jwj7297 Jul 28, 2023
be06e3a
adding functionality to shift select multiple checkboxes
maxstein16 Jul 28, 2023
ef02fdb
fixed not being able to uncheck box
maxstein16 Jul 28, 2023
93fae38
Merge pull request #148 from SoftwareDesignLab/dev-metricsFileName
mikufan76 Jul 28, 2023
c5d4446
Merge pull request #152 from SoftwareDesignLab/dev-compareText
mikufan76 Jul 28, 2023
b33b598
Merge pull request #153 from SoftwareDesignLab/dev-modalWorkOnlyOnce
mikufan76 Jul 28, 2023
396f813
Merge pull request #154 from SoftwareDesignLab/dev-convertIneligibleF…
mikufan76 Jul 28, 2023
11257b6
Merge pull request #156 from SoftwareDesignLab/dev-selectAllCheckboxes
mikufan76 Jul 28, 2023
921de35
upload same height as viewer
jwj7297 Jul 28, 2023
50899fc
Merge pull request #150 from SoftwareDesignLab/dev-modalWidth
maxstein16 Jul 28, 2023
fb77661
move modals
mikufan76 Jul 27, 2023
89c2bf9
Add modal and fix toast (does not compile, wip)
mikufan76 Jul 28, 2023
6dcd612
Cleanup, error messages, and modal
mikufan76 Jul 28, 2023
344a8eb
Merge complete and file bugfix
mikufan76 Jul 28, 2023
1b278f3
Revert "move modals"
mikufan76 Jul 28, 2023
43f2b22
move merge modal
mikufan76 Jul 28, 2023
d05d30d
set fileName
mikufan76 Jul 28, 2023
148bbf0
bugfixes: convert modal, download
mikufan76 Jul 28, 2023
5a30a33
allow merging on relaunch
mikufan76 Jul 28, 2023
3e04e3a
Update modal for closing
mikufan76 Jul 28, 2023
af55835
Merge pull request #157 from SoftwareDesignLab/dev-uploadSameHeight
maxstein16 Jul 28, 2023
61c1553
Fixed overflow of body container due to padding
jwj7297 Jul 28, 2023
316129e
Merge pull request #159 from SoftwareDesignLab/dev-overflowViewerScroll
maxstein16 Jul 28, 2023
594952c
gets stored contents and name
jwj7297 Jul 31, 2023
a4a3aba
Merge pull request #155 from SoftwareDesignLab/dev-merge
jwj7297 Jul 31, 2023
b989eee
gets stored contents and name
jwj7297 Jul 31, 2023
3a519da
Merge branch 'dev-pathFromDB' of https://github.com/SoftwareDesignLab…
mikufan76 Jul 31, 2023
d2c343c
gets stored contents and name
jwj7297 Jul 31, 2023
d11e614
Merge branch 'dev-pathFromDB' of https://github.com/SoftwareDesignLab…
mikufan76 Jul 31, 2023
8bb076d
Merge pull request #160 from SoftwareDesignLab/dev-pathFromDB
mikufan76 Jul 31, 2023
9c9a54c
Baseline readme, changelog in progress
mikufan76 Jul 31, 2023
4b621fe
Update changelog.md
mikufan76 Jul 31, 2023
0e375d1
update date
mikufan76 Jul 31, 2023
7d0394a
add download
mikufan76 Jul 31, 2023
22a525c
Remove hardcoded values
mikufan76 Jul 31, 2023
56036a8
remove null values
mikufan76 Jul 31, 2023
80c5711
Merge pull request #132 from SoftwareDesignLab/dev-readme
mikufan76 Jul 31, 2023
abf3652
Merge pull request #167 from SoftwareDesignLab/dev-compareFixes
maxstein16 Jul 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
26 changes: 6 additions & 20 deletions frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,12 @@

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.0.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build
## Common Issues
- Run `npm ci` prior to building or running the app, otherwise you will be met with errors

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Development server

## Further help
- Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files. If file uploading is needed, please refer to `Run App`.

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
## Run App
- Run `npm start` to launch electron app. This will not automatically reload and will need to be re-launched when code is updated.
3 changes: 3 additions & 0 deletions frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,8 @@
}
}
}
},
"cli": {
"analytics": "0812ed0f-7fe3-4ead-911a-474b02068946"
}
}
71 changes: 44 additions & 27 deletions frontend/app.js
Original file line number Diff line number Diff line change
@@ -1,39 +1,56 @@
const {app, BrowserWindow} = require('electron')
const { app, BrowserWindow, ipcMain, dialog } = require("electron");
const fs = require("fs");
const url = require("url");
const path = require("path");

let mainWindow;

function createWindow () {
mainWindow = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: true
}
})
function createWindow() {
mainWindow = new BrowserWindow({
minWidth: 800,
minHeight: 600,
show: false,
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
},
});

mainWindow.loadURL(
url.format({
pathname: path.join(__dirname, `/dist/frontend/index.html`),
protocol: "file:",
slashes: true
})
);
mainWindow.maximize();
mainWindow.show();

mainWindow.on('closed', function () {
mainWindow = null
mainWindow.loadURL(
url.format({
pathname: path.join(__dirname, `/dist/frontend/index.html`),
protocol: "file:",
slashes: true,
})
);

mainWindow.on("closed", function () {
mainWindow = null;
});
}

app.on('ready', createWindow)
app.on("ready", createWindow);

app.on("window-all-closed", function () {
if (process.platform !== "darwin") app.quit();
});

app.on("activate", function () {
if (mainWindow === null) createWindow();
});

ipcMain.handle("selectFiles", async () => {
let files = await dialog.showOpenDialog(mainWindow, {
properties: ["openFile", "multiSelections"],
});

app.on('window-all-closed', function () {
if (process.platform !== 'darwin')
app.quit()
})
return files.filePaths;
});

app.on('activate', function () {
if (mainWindow === null)
createWindow()
})
ipcMain.handle("getFileData", async (event, ...args) => {
let data = fs.readFileSync(args[0], "utf8");
return data;
});
31 changes: 31 additions & 0 deletions frontend/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v1.0.0] - (7/31/23)
### Added
- `Uploading` SBOMS
- `Viewing` SBOMS (Pretty and Raw View)
- `Convert` SBOM to new schema and document format
- `Run Quality` Assurance tests on SBOMs
- `Compare` multiple SBOMS
- `Merge` multiple SBOMs together
- `Download` download SBOMs

### Known Issues
- `Main View`: responsiveness issues for viewer, scrollbar goes off page
- `Main Window`: app is not vertically responsive

## [v0.0.0] - (5/22/23)
### Added
- `New Gui`: Created GUI Skeleton now utilizing Angular Bootstrap instead of Material Angular
- `Plugfest`: Merged Plugfest capabilities into SVIP

### Known Issues
- `Sidepanel`: Sidepanel may have information pop off the screen or not fully close
- `Comparison`: Information goes off screen and cannot be scrolled to
- `Navbar`: There is no indication of buttons being disabled
- `Vulnerabilities`: Vulnerabilities button is not shown to be disabled
Loading