Details

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

      Description

      This issue calls for improving the Galaxy-to-IGB bridge javascript code galaxy.js.

      The Galaxy-to-IGB workflow works like this:

      1. User visits usegalaxy.org and uses the site to create some files, which get added to their History.
      2. User clicks a file in their History and sees a link to view the file in IGB
      3. Users clicks the link, which goes to the Galaxy-to-IGB bridge page on Bioviz.org
      4. The page contains some javascript code that detects whether or not IGB is running by hitting an IGB REST endpoint on localhost
      5. If IGB is running, the javascript code then hits another REST endpoint in IGB, passing it the location of the file stored on Galaxy that the user wants to load
      6. IGB then accesses the file and creates a new track for it
      7. User can then load data by clicking the Load Data button in IGB

      Once number 5 (above) happens, the javascript code displays a poorly worded message: "Data loading takes a while. If it doesn't load in a minute then, Please go back to galaxy and try again!"

      Change this message to:

      "Your data will appear in IGB as a new (empty) track. When you see the new track, zoom in and click Load Data."

      Note: "Load Data" should be in bold font.

      Also note:

      To do this task, you will need to deploy a local copy of BioViz.org on your machine or onto a cloud VM, such as EC2. Code and instructions on how to deploy the BioViz Web site code are here: https://bitbucket.org/lorainelab/bioviz

      Use the same workflow for developing BioViz.org as you use for developing IGB itself: make a fork, clone your fork, make a branch, develop on your branch, push to your fork, etc

      Once you have deployed bioviz on EC2 or on your local host, you will need to test with Galaxy itself. The links coming from Galaxy all go to the production server at http://bioviz.org, not your local computer or EC2 instances. However, you can "trick" your computer into think your local machine or your EC2 instance is actually Bioviz.org by editing some local configuration files. The files you edit will depend on your OS. If you set this up correctly, then you can click links in Galaxy and they will go to your own development site and not the main production site.

      See:

        Attachments

          Activity

          ann.loraine Ann Loraine created issue -
          ann.loraine Ann Loraine made changes -
          Field Original Value New Value
          Rank Ranked higher
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          ann.loraine Ann Loraine made changes -
          Sprint Fall 2018 Sprint 5 [ 55 ] Fall 2018 Sprint 5, Winter 2018 Sprint 1 [ 55, 56 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          ann.loraine Ann Loraine made changes -
          Description Galaxy landing page shows this message:

          Data loading takes a while. If it doesn't load in a minute then, Please go back to galaxy and try again!

          Replace with:

          Your data will appear in IGB as a new (empty) track. When you see the new track, click Load Data to add your data.

          Note: Load Data should be bold.

          Add link to user's guide.
          This issue calls for improving the Galaxy-to-IGB bridge javascript code galaxy.js.

          To test, you'll need to deploy a copy of the BioViz Web site to your local machine or to an EC2 instance. Then, to test the flow from Galaxy to your local BioViz instance, you will need to "spoof" bioviz by editing your /etc/hosts file to make it appear that your local host is actually bioviz.org.


          Galaxy landing page shows this message:

          Data loading takes a while. If it doesn't load in a minute then, Please go back to galaxy and try again!

          Replace with:

          Your data will appear in IGB as a new (empty) track. When you see the new track, click Load Data to add your data.

          Note: Load Data should be bold.

          Add link to user's guide.
          ann.loraine Ann Loraine made changes -
          Description This issue calls for improving the Galaxy-to-IGB bridge javascript code galaxy.js.

          To test, you'll need to deploy a copy of the BioViz Web site to your local machine or to an EC2 instance. Then, to test the flow from Galaxy to your local BioViz instance, you will need to "spoof" bioviz by editing your /etc/hosts file to make it appear that your local host is actually bioviz.org.


          Galaxy landing page shows this message:

          Data loading takes a while. If it doesn't load in a minute then, Please go back to galaxy and try again!

          Replace with:

          Your data will appear in IGB as a new (empty) track. When you see the new track, click Load Data to add your data.

          Note: Load Data should be bold.

          Add link to user's guide.
          This issue calls for improving the Galaxy-to-IGB bridge javascript code galaxy.js.

          The Galaxy-to-IGB workflow works like this:

          1. User visits usegalaxy.org and uses the site to create some files, which get added to their history.
          2. User clicks the file in the History and sees a link to view the file in IGB
          3. Users clicks the link, which goes to the Galaxy-to-IGB bridge page on Bioviz.org
          4. The page contains some javascript code that detects whether or not IGB is running by hitting an IGB REST endpoint on localhost
          5. The javascript code then hits another REST endpoint in IGB, passing it the location of the file stored on Galaxy that the user wants to load
          6. IGB then loads the file

          Once number 5 (above) happens, the javascript code displays a poorly worded message: "Data loading takes a while. If it doesn't load in a minute then, Please go back to galaxy and try again!"

          Change this message to:

          Your data will appear in IGB as a new (empty) track. When you see the new track, click Load Data to add your data.

          Note: "Load Data" should be in bold font.

          Also note:

          To do this task, you will need to deploy a local copy of BioViz.org on your machine or on a cloud VM, such as EC2. Code and instructions on how to deploy the BioViz Web site code is here: https://bitbucket.org/lorainelab/bioviz

          Once you have set it up, you will need to test with Galaxy itself. The links coming from Galaxy all go to the production server at http://bioviz.org, not your local computer or EC2 instances. However, you can "trick" your computer into think your local machine or your EC2 instance is actually Bioviz.org by editing some local configuration files. The files you edit will depend on your OS.

          See:

          * https://wiki.transvar.org/display/ITD/Galaxy - for directions on how to load data files from a Galaxy "history" we use for testing
          * https://jira.transvar.org/browse/IGBF-1406 - for tips on how to "trick" your computer into thinking your development deployment of BioViz is the main BioViz production server



          ann.loraine Ann Loraine made changes -
          Description This issue calls for improving the Galaxy-to-IGB bridge javascript code galaxy.js.

          The Galaxy-to-IGB workflow works like this:

          1. User visits usegalaxy.org and uses the site to create some files, which get added to their history.
          2. User clicks the file in the History and sees a link to view the file in IGB
          3. Users clicks the link, which goes to the Galaxy-to-IGB bridge page on Bioviz.org
          4. The page contains some javascript code that detects whether or not IGB is running by hitting an IGB REST endpoint on localhost
          5. The javascript code then hits another REST endpoint in IGB, passing it the location of the file stored on Galaxy that the user wants to load
          6. IGB then loads the file

          Once number 5 (above) happens, the javascript code displays a poorly worded message: "Data loading takes a while. If it doesn't load in a minute then, Please go back to galaxy and try again!"

          Change this message to:

          Your data will appear in IGB as a new (empty) track. When you see the new track, click Load Data to add your data.

          Note: "Load Data" should be in bold font.

          Also note:

          To do this task, you will need to deploy a local copy of BioViz.org on your machine or on a cloud VM, such as EC2. Code and instructions on how to deploy the BioViz Web site code is here: https://bitbucket.org/lorainelab/bioviz

          Once you have set it up, you will need to test with Galaxy itself. The links coming from Galaxy all go to the production server at http://bioviz.org, not your local computer or EC2 instances. However, you can "trick" your computer into think your local machine or your EC2 instance is actually Bioviz.org by editing some local configuration files. The files you edit will depend on your OS.

          See:

          * https://wiki.transvar.org/display/ITD/Galaxy - for directions on how to load data files from a Galaxy "history" we use for testing
          * https://jira.transvar.org/browse/IGBF-1406 - for tips on how to "trick" your computer into thinking your development deployment of BioViz is the main BioViz production server



          This issue calls for improving the Galaxy-to-IGB bridge javascript code galaxy.js.

          The Galaxy-to-IGB workflow works like this:

          1. User visits usegalaxy.org and uses the site to create some files, which get added to their history.
          2. User clicks the file in the History and sees a link to view the file in IGB
          3. Users clicks the link, which goes to the Galaxy-to-IGB bridge page on Bioviz.org
          4. The page contains some javascript code that detects whether or not IGB is running by hitting an IGB REST endpoint on localhost
          5. The javascript code then hits another REST endpoint in IGB, passing it the location of the file stored on Galaxy that the user wants to load
          6. IGB then loads the file

          Once number 5 (above) happens, the javascript code displays a poorly worded message: "Data loading takes a while. If it doesn't load in a minute then, Please go back to galaxy and try again!"

          Change this message to:

          "Your data will appear in IGB as a new (empty) track. When you see the new track, zoom in and click Load Data."

          Note: "Load Data" should be in bold font.

          Also note:

          To do this task, you will need to deploy a local copy of BioViz.org on your machine or on a cloud VM, such as EC2. Code and instructions on how to deploy the BioViz Web site code is here: https://bitbucket.org/lorainelab/bioviz

          Once you have set it up, you will need to test with Galaxy itself. The links coming from Galaxy all go to the production server at http://bioviz.org, not your local computer or EC2 instances. However, you can "trick" your computer into think your local machine or your EC2 instance is actually Bioviz.org by editing some local configuration files. The files you edit will depend on your OS.

          See:

          * https://wiki.transvar.org/display/ITD/Galaxy - for directions on how to load data files from a Galaxy "history" we use for testing
          * https://jira.transvar.org/browse/IGBF-1406 - for tips on how to "trick" your computer into thinking your development deployment of BioViz is the main BioViz production server



          ann.loraine Ann Loraine made changes -
          Description This issue calls for improving the Galaxy-to-IGB bridge javascript code galaxy.js.

          The Galaxy-to-IGB workflow works like this:

          1. User visits usegalaxy.org and uses the site to create some files, which get added to their history.
          2. User clicks the file in the History and sees a link to view the file in IGB
          3. Users clicks the link, which goes to the Galaxy-to-IGB bridge page on Bioviz.org
          4. The page contains some javascript code that detects whether or not IGB is running by hitting an IGB REST endpoint on localhost
          5. The javascript code then hits another REST endpoint in IGB, passing it the location of the file stored on Galaxy that the user wants to load
          6. IGB then loads the file

          Once number 5 (above) happens, the javascript code displays a poorly worded message: "Data loading takes a while. If it doesn't load in a minute then, Please go back to galaxy and try again!"

          Change this message to:

          "Your data will appear in IGB as a new (empty) track. When you see the new track, zoom in and click Load Data."

          Note: "Load Data" should be in bold font.

          Also note:

          To do this task, you will need to deploy a local copy of BioViz.org on your machine or on a cloud VM, such as EC2. Code and instructions on how to deploy the BioViz Web site code is here: https://bitbucket.org/lorainelab/bioviz

          Once you have set it up, you will need to test with Galaxy itself. The links coming from Galaxy all go to the production server at http://bioviz.org, not your local computer or EC2 instances. However, you can "trick" your computer into think your local machine or your EC2 instance is actually Bioviz.org by editing some local configuration files. The files you edit will depend on your OS.

          See:

          * https://wiki.transvar.org/display/ITD/Galaxy - for directions on how to load data files from a Galaxy "history" we use for testing
          * https://jira.transvar.org/browse/IGBF-1406 - for tips on how to "trick" your computer into thinking your development deployment of BioViz is the main BioViz production server



          This issue calls for improving the Galaxy-to-IGB bridge javascript code galaxy.js.

          The Galaxy-to-IGB workflow works like this:

          1. User visits usegalaxy.org and uses the site to create some files, which get added to their History.
          2. User clicks a file in their History and sees a link to view the file in IGB
          3. Users clicks the link, which goes to the Galaxy-to-IGB bridge page on Bioviz.org
          4. The page contains some javascript code that detects whether or not IGB is running by hitting an IGB REST endpoint on localhost
          5. If IGB is running, the javascript code then hits another REST endpoint in IGB, passing it the location of the file stored on Galaxy that the user wants to load
          6. IGB then accesses the file and creates a new track for it
          7. User can then load data by clicking the Load Data button in IGB

          Once number 5 (above) happens, the javascript code displays a poorly worded message: "Data loading takes a while. If it doesn't load in a minute then, Please go back to galaxy and try again!"

          Change this message to:

          "Your data will appear in IGB as a new (empty) track. When you see the new track, zoom in and click Load Data."

          Note: "Load Data" should be in bold font.

          Also note:

          To do this task, you will need to deploy a local copy of BioViz.org on your machine or onto a cloud VM, such as EC2. Code and instructions on how to deploy the BioViz Web site code are here: https://bitbucket.org/lorainelab/bioviz

          Use the same workflow for developing BioViz.org as you use for developing IGB itself: make a fork, clone your fork, make a branch, develop on your branch, push to your fork, etc

          Once you have deployed bioviz on EC2 or on your local host, you will need to test with Galaxy itself. The links coming from Galaxy all go to the production server at http://bioviz.org, not your local computer or EC2 instances. However, you can "trick" your computer into think your local machine or your EC2 instance is actually Bioviz.org by editing some local configuration files. The files you edit will depend on your OS. If you set this up correctly, then you can click links in Galaxy and they will go to your own development site and not the main production site.

          See:

          * https://wiki.transvar.org/display/ITD/Galaxy - for directions on how to load data files from a Galaxy "history" we use for testing
          * https://jira.transvar.org/browse/IGBF-1406 - for tips on how to "trick" your computer into thinking your development deployment of BioViz is the main BioViz production server



          pbole Pawan Bole (Inactive) made changes -
          Assignee Pawan Bole [ pbole ]
          pbole Pawan Bole (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          ann.loraine Ann Loraine made changes -
          Sprint Fall 2018 Sprint 5, Winter 2018 Sprint 1 [ 55, 56 ] Fall 2018 Sprint 5, Winter 2018 Sprint 1, Winter 2018 Sprint 2 [ 55, 56, 57 ]
          Hide
          pbole Pawan Bole (Inactive) added a comment -

          Changed the message for the users when IGB is running in the background and also corrected typo when IGB is not running.
          Please review the changes :
          https://bitbucket.org/pawanbole/pawansfork-bioviz/commits/ab8ac28e88a9d5b0c327eb68e2e03594406daa0a

          Show
          pbole Pawan Bole (Inactive) added a comment - Changed the message for the users when IGB is running in the background and also corrected typo when IGB is not running. Please review the changes : https://bitbucket.org/pawanbole/pawansfork-bioviz/commits/ab8ac28e88a9d5b0c327eb68e2e03594406daa0a
          pbole Pawan Bole (Inactive) made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          pbole Pawan Bole (Inactive) made changes -
          Assignee Pawan Bole [ pbole ]
          ann.loraine Ann Loraine made changes -
          Status Needs 1st Level Review [ 10005 ] Ready for Pull Request [ 10304 ]
          Hide
          ann.loraine Ann Loraine added a comment -

          Ready for pull request.

          Show
          ann.loraine Ann Loraine added a comment - Ready for pull request.
          ann.loraine Ann Loraine made changes -
          Assignee Pawan Bole [ pbole ]
          pbole Pawan Bole (Inactive) made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          Hide
          pbole Pawan Bole (Inactive) added a comment -

          Submitted the pull request

          Show
          pbole Pawan Bole (Inactive) added a comment - Submitted the pull request
          pbole Pawan Bole (Inactive) made changes -
          Assignee Pawan Bole [ pbole ] Ann Loraine [ aloraine ]
          pbole Pawan Bole (Inactive) made changes -
          Assignee Ann Loraine [ aloraine ]
          ann.loraine Ann Loraine made changes -
          Status Pull Request Submitted [ 10101 ] Testing In Progress [ 10003 ]
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          Hide
          ann.loraine Ann Loraine added a comment -

          Pull request merged.
          Tested on Dr. Loraine's BioViz mirror.
          Typo in "igb not running" message is fixed.
          Message upon loading data into IGB is corrected.

          Show
          ann.loraine Ann Loraine added a comment - Pull request merged. Tested on Dr. Loraine's BioViz mirror. Typo in "igb not running" message is fixed. Message upon loading data into IGB is corrected.
          Hide
          ann.loraine Ann Loraine added a comment -

          Deployed on BioViz Main

          Show
          ann.loraine Ann Loraine added a comment - Deployed on BioViz Main
          Hide
          ann.loraine Ann Loraine added a comment -

          Re-assigning to original developer as this issue is now complete.

          Show
          ann.loraine Ann Loraine added a comment - Re-assigning to original developer as this issue is now complete.
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ] Pawan Bole [ pbole ]
          ann.loraine Ann Loraine made changes -
          Resolution Done [ 10000 ]
          Status Testing In Progress [ 10003 ] Closed [ 6 ]
          ann.loraine Ann Loraine made changes -
          Workflow Loraine Lab Workflow [ 18176 ] Fall 2019 Workflow Update [ 19982 ]
          ann.loraine Ann Loraine made changes -
          Workflow Fall 2019 Workflow Update [ 19982 ] Revised Fall 2019 Workflow Update [ 22104 ]
          ann.loraine Ann Loraine made changes -
          Epic Link IGBF-1880 [ 17970 ]

            People

            • Assignee:
              pbole Pawan Bole (Inactive)
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: