Added the more pages to the ui and fixed the bugs.
Changes
Updated logout function to accept error message as a parameter.
Updated home page to display the error message from URL query parameter.
Added the upload from url page.
Added the error checks in deleteUploads.
Added the defaultAgentsList function instead of hard coded analysis options.
Added reuse_report and reuse_copyright boolean option
Created dropdown to select reuse group from the list of accessible groups
Displayed option to select reuse folder within the selected group (Updates whenever reuse group changes)
Gave an option to select an upload within the previously selected folder (Updates whenever reuse group or reuse folder changes)
Fixed prop type check error for reuse_upload field. A number was expected but event.target.value was returning a string.
Fixed the user experience for uploads page since uploads page are longer than one page so on clicking the upload button user have to manually scroll to see the snackbar that whether the file is uploaded or not and we are familiar with the codebase so we knew that scrollbar appears on top right but for the first time user it may be bit confusing.
Added the condition for move upload and copy upload.
Added the spinner in buttons.
Upgrade API versions in all places in UI.
Added the feature for the folders browsing.
Since new api exposed the pages and limit param so that was updated in search page.
Updated the default group from "fossy" to the value returned from API.
Added the pages for browseUploads:
Software Heritage
License Browser
File Browser
Copyright
ECC
Added the browse Uploads separate header.
Add null check in name initials function.
Highlighted the currently selected group in the navbar.
Added border to login form in dark theme.
Added the styling for keeping the snackbar fixed.
Fixed all the pages.
Shifted snackbar code inside main container to remove the flicker effect.
Moved the scheduleAnalysis route in jobs object.
Shifted the scheduleAnalysis function in api/jobs and services/jobs.
Description
Added the more pages to the ui and fixed the bugs.
Changes
reuse_report
andreuse_copyright
boolean optionreuse_upload
field. A number was expected butevent.target.value
was returning a string.api/jobs
andservices/jobs
.How to test
Visit all the routes.