Result - UBCC3/UI GitHub Wiki
Content
Overview & Goal
Upon the completion of a job, users can access detailed results by interacting with the job's entry. Clicking on the job name on the Dashboard page redirects the user to the results page, which displays comprehensive information related to the job. The results page presents general information about the job retrieved from our database, along with specific results generated from the PSI4 cluster.
Job Detail Component
Location: UI/src/app/features/result/components/job-detail
Functionality: This component is responsible for fetching and displaying detailed job information from the database using the job ID. It renders critical data for user review directly on the UI.
Download ZIP Component
Location: UI/src/app/features/result/components/download-zip
Functionality: This component provides a functionality for users to download a ZIP file containing all the result files generated by the PSI4 cluster for the specific job. It offers a button, enabling easy access to download these files.
Result Detail Component (lots of future work need to be done)
Location: UI/src/app/features/result/components/result-detail
Functionality: This component is intended to handle the downloading of the result.json file (more information about the file) from the S3 bucket, which contains structured results data for the job. Upon successful download, it aims to render all information dynamically based on the content of the result.json file, allowing detailed inspection of the job results.
Note: Currently, the actually api route which used to download result.json file from s3 is replaced by a testLocalFilePath for testing UI purposes.