Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2379

Change "IGB not running" toast to alert/message box

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Situation: When a user clicks on View in IGB, BioViz Connect checks to see if IGB is currently running. If IGB is not running, a toast stating "Error, IGB not running" appears. This is somewhat confusing to users as it does not lead the user to the IGB downloads page or provide additional information for how to get IGB running.

      Task: Instead of the toast, use a popup/alert/message (similar to the make file public alert) when a user clicks View in IGB and IGB is not running. The notification should inform the user that IGB must be running to view the data, if they have not installed IGB they can download it from Bioviz. Include an OK button that closes out the notification and a button that links to https://www.bioviz.org/download.html in case they need to download IGB. This should make it more clear to the user what they need to view data in IGB and provide them a direct route to download IGB.

        Attachments

          Issue Links

            Activity

            Hide
            ann.loraine Ann Loraine added a comment -

            Let's use the same type of thing seen on the Genome Dashboard. If you click a genome picture, a modal dialog appears.

            Please have the link open a new page and show the bioviz.org IGB Downloads page.

            To see what I mean, visit:

            and click an image.

            Also, please note that BioViz Connect should use a better-worded message that is a bit more user-friendly than "IGB Service not running" (currently shown in Genome Dashboard.)

            Show
            ann.loraine Ann Loraine added a comment - Let's use the same type of thing seen on the Genome Dashboard. If you click a genome picture, a modal dialog appears. Please have the link open a new page and show the bioviz.org IGB Downloads page. To see what I mean, visit: https://bioviz.org/genome-dashboard and click an image. Also, please note that BioViz Connect should use a better-worded message that is a bit more user-friendly than "IGB Service not running" (currently shown in Genome Dashboard.)
            Hide
            ann.loraine Ann Loraine added a comment -

            Also please see linked issue IGBF-2386.

            Instead of simply linking to the IGB downloads page (https://www.bioviz.org/download.html) you could engineer a direct link to the installer for the user's platform. This would save a few clicks for them.

            Show
            ann.loraine Ann Loraine added a comment - Also please see linked issue IGBF-2386 . Instead of simply linking to the IGB downloads page ( https://www.bioviz.org/download.html ) you could engineer a direct link to the installer for the user's platform. This would save a few clicks for them.
            Show
            nfreese Nowlan Freese added a comment - Merged https://bitbucket.org/nfreese/django-cyversedev/pull-requests/163/igbf-2375-changed-igb-not-running-toast-to/diff
            Hide
            karthik Karthik Raveendran added a comment -

            Needs testing in Mac, Linux and Windows if the correct installer is being downloaded. I tested for Windows 64

            Show
            karthik Karthik Raveendran added a comment - Needs testing in Mac, Linux and Windows if the correct installer is being downloaded. I tested for Windows 64
            Hide
            karthik Karthik Raveendran added a comment -

            I was not able to recreate the error that appeared in Dr. Freese where IGB was running and the error message appeared nevertheless. I believe this issue needs testing in other systems to verify.

            Show
            karthik Karthik Raveendran added a comment - I was not able to recreate the error that appeared in Dr. Freese where IGB was running and the error message appeared nevertheless. I believe this issue needs testing in other systems to verify.
            Hide
            nfreese Nowlan Freese added a comment -

            I tested again on Mac with both Chrome and Firefox using IGB 9.1.4.

            Everything appears to be working correctly, when IGB is not running, BioViz Connect shows modal informing user to stat IGB or download (downloads mac specific IGB installer). If IGB is running opens data in IGB.

            This issue needs final testing on linux.

            Show
            nfreese Nowlan Freese added a comment - I tested again on Mac with both Chrome and Firefox using IGB 9.1.4. Everything appears to be working correctly, when IGB is not running, BioViz Connect shows modal informing user to stat IGB or download (downloads mac specific IGB installer). If IGB is running opens data in IGB. This issue needs final testing on linux.
            Hide
            nfreese Nowlan Freese added a comment - - edited

            Chester Dias

            On Linux:

            Go to https://chaitanya.bioviz.org/

            Log in using the credential that I messaged you.

            Double click on the testFiles folder to open it.

            *Make sure IGB is NOT running.

            Click on the View in IGB button for the file Bam_HomoSapien.bam

            You should see the message: Warning: IGB is not Running

            Click on the Download Now button.

            Check that the correct IGB installer is downloaded for Linux (IGB_unix_current.sh).

            Start IGB.

            In BioViz Connect, click on the View in IGB green button again for the file Bam_HomoSapien.bam

            Data should load in IGB.

            Important things to make sure work:
            When IGB is not running, clicking View in IGB shows popup to user.
            When user clicks download, the correct linux IGB installer is downloaded.
            When IGB is running, clicking View in IGB loads data in IGB (no popup saying IGB is not running).

            Show
            nfreese Nowlan Freese added a comment - - edited Chester Dias On Linux: Go to https://chaitanya.bioviz.org/ Log in using the credential that I messaged you. Double click on the testFiles folder to open it. *Make sure IGB is NOT running. Click on the View in IGB button for the file Bam_HomoSapien.bam You should see the message: Warning: IGB is not Running Click on the Download Now button. Check that the correct IGB installer is downloaded for Linux (IGB_unix_current.sh). Start IGB. In BioViz Connect, click on the View in IGB green button again for the file Bam_HomoSapien.bam Data should load in IGB. Important things to make sure work: When IGB is not running, clicking View in IGB shows popup to user. When user clicks download, the correct linux IGB installer is downloaded. When IGB is running, clicking View in IGB loads data in IGB (no popup saying IGB is not running).
            Hide
            cdias1 Chester Dias (Inactive) added a comment -

            Testing details
            When IGB is not running
            Warning popup appears when Igb is not running attached screenshot
            The downloaded script name is: IGB_unix_current.sh

            When IGB is running
            On clicking view in the browser automatically loads data into IGB
            no warning popup appears

            Show
            cdias1 Chester Dias (Inactive) added a comment - Testing details When IGB is not running Warning popup appears when Igb is not running attached screenshot The downloaded script name is: IGB_unix_current.sh When IGB is running On clicking view in the browser automatically loads data into IGB no warning popup appears

              People

              • Assignee:
                karthik Karthik Raveendran
                Reporter:
                nfreese Nowlan Freese
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: