Net.Science release for Git#345, Git#332, Git#347, Git#348, Git#346, Git#349, Git#293 and Visualization tab changes on 19th Jun 2023 - NSSAC/CINES GitHub Wiki

The code is committed to the branch - https://github.com/NSSAC/CINES/tree/master-beta

Branch name - master-beta

The build is deployed on ptest at https://ptest.net.science/home

The build contains the following:

1. Git 345 - Download Files from File Page

    - Download button would display on the preview page of the files on the top right of the corner irrespective of the tabs selected on the preview page.
    - "Click to Download" text would display on the hover of the Download button.
    - Files will be downloaded straight into our machine, and the progress of the download will be displayed in the browser download panel.

2. Git 332 - Bug in Metadata viewers

    - Any file types added to the blacklist will open in the viewer that would only show the Overview, Metadata, and Provenance tabs. "xlsx" and "excel" types are currently blacklisted file types. This list is maintained in a config file.

3. Git 347 - Extraneous string in "visualization" tab header

    - The extraneous string is removed and would not display in the "visualization" tab header.

4. Git 348 - Maintain selection when job list refreshes

    - The jobs selected would not get reset every time the table refreshes. Unnecessary API calls are removed.
    - The jobs list will retain the selected job definition.

5. Git 346 - Job Page goes blank

    - Following files types are enabled and will be viewed in their respective viewers epihiperDiseaseModel in JSON, epihiperInitialization in JSON, vegalite+json in vegaliteJSON, epihiperIntervention in JSON, epihiperSimulationSummary in CSV, epihiperSimulation in CSV.

6. Git 349 - Sub Jobs Refreshing

    - Job definition list and expanded sub-jobs would get updated if they are in a running state.

7. Visualization tab changes for "vegalite+json" type

    - A new viewer is introduced named as “vegaliteJSON”.
    - The “vegalite+json” types files would display in the “vegaliteJSON” viewer.
    - Vegalite graph would display in the visualization tab on the preview page of the file.

8. Git 293 - Show file status by color

    -         The colors are shown for the files as per their state in the file selection dialog which appears when we select the input file in forms
    - When the user hovers the cursor on the file name, it would show the state of the file
    - Below are the states and their respective colors:
States Colors
ready, partial, empty as "" blue
staging, loading yellow
invalid red
    - If a file has the state stated below, whether or not it should be selected, is noted below.
      allowedState = {
           'ready'   : true,
           'partial' : false,
           'staging' : false,
           'loading' : false,
           'invalid' : false
       }

Note:

    1.	Some inputs are yet to be received from Dustin for git 293 (Show file status by color) as color is to be displayed in the File selection dialog box and File Manager. Once it is provided we will do the changes as per the requirements.
    2.	We have tested this git 293 (Show file status by color)  for the ready state since other states are not available in the file manager.