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

Investigate: Include bioviz menu bar in genome-dashboard

    Details

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

      Description

      The Genome Dashboard currently contains no link to the BioViz home page.

      Let's add a home (house) icon to the top left of the genome dashboard page that points to "/" (the Web site root)

      Note: make sure that the link will work properly regardless of whether the site is actually deployed or what it's domain name is.

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Epic Link IGBF-1765 [ 17855 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see the changes at my branch below: https://bitbucket.org/pbadzuh/genome-dashboard_pbdev/branch/IGBF-2414#diff
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Could you add a "png" image?

            Show
            ann.loraine Ann Loraine added a comment - Could you add a "png" image?
            ann.loraine Ann Loraine made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            It seems that although there is a way to access the help.html by making an additional express.js route to it, many of the references in that file are specific to the bioviz resource space.

            Modifying these hrefs to be absolute urls e.g. bioviz.org/resource.html would mean that test.bioviz.org would not be rendering its own pages, but rather those from bioviz.org, which doesn't make much sense.

            So, I don't see a way of programmatically pulling in the navbar to the genome dashboard in a way that would honor the specific resources of all bioviz subdomains.

            Please advise, [~aloraine]

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - It seems that although there is a way to access the help.html by making an additional express.js route to it, many of the references in that file are specific to the bioviz resource space. Modifying these hrefs to be absolute urls e.g. bioviz.org/resource.html would mean that test.bioviz.org would not be rendering its own pages, but rather those from bioviz.org, which doesn't make much sense. So, I don't see a way of programmatically pulling in the navbar to the genome dashboard in a way that would honor the specific resources of all bioviz subdomains. Please advise, [~aloraine]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            I think I see the problem.

            The menu.html file contains nothing but implied relative links that look like location.html. That is, their location on the network is implied to be the same place (directory) as the file that contains the link.

            So I expect that if a user were to click a link "location.html" when viewing domainname/genome-dashboard, then their client Web browser will ask for domainname/genome-dashboard/location.html.

            That's wrong of course

            I can think of a work-around. There may be others that are better.

            Possible work-around: Whatever code in app.js that grabs menu.html could parse all the links (all "a href=TEXT.html" tags) where "TEXT" never starts with http or https. It could then prepend the link with the server name and a slash, whatever the server name happens to be. Of course, the node application can't know in advance what the servername is. Only apache knows that, and even apache only knows what the server name because the playbooks add this information to its configuration file. The node app won't be able to read that file, but it might be able to get access to it from environment variables set up by apache when it runs. But I am skeptical that node would even be able to access the environment variables because node runs in a separate process from apache.

            However, when we deploy the node app onto a bioviz host, we could configure the playbooks to edit or create some kind of configuration file that the app could read, find out what the server name is, and then add the server name prefix as needed to the menu.html links.

            If you want to try out these ideas on test.bioviz.org, go for it.

            Show
            ann.loraine Ann Loraine added a comment - - edited I think I see the problem. The menu.html file contains nothing but implied relative links that look like location.html. That is, their location on the network is implied to be the same place (directory) as the file that contains the link. So I expect that if a user were to click a link "location.html" when viewing domainname/genome-dashboard, then their client Web browser will ask for domainname/genome-dashboard/location.html. That's wrong of course I can think of a work-around. There may be others that are better. Possible work-around: Whatever code in app.js that grabs menu.html could parse all the links (all "a href=TEXT.html" tags) where "TEXT" never starts with http or https. It could then prepend the link with the server name and a slash, whatever the server name happens to be. Of course, the node application can't know in advance what the servername is. Only apache knows that, and even apache only knows what the server name because the playbooks add this information to its configuration file. The node app won't be able to read that file, but it might be able to get access to it from environment variables set up by apache when it runs. But I am skeptical that node would even be able to access the environment variables because node runs in a separate process from apache. However, when we deploy the node app onto a bioviz host, we could configure the playbooks to edit or create some kind of configuration file that the app could read, find out what the server name is, and then add the server name prefix as needed to the menu.html links. If you want to try out these ideas on test.bioviz.org, go for it.
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            I'll try to work on making a parser that modifies the href urls based on domain name. Node.js can access environment variables, so I think it would be easiest to configure ansible playbook to set one for the domain name.

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - I'll try to work on making a parser that modifies the href urls based on domain name. Node.js can access environment variables, so I think it would be easiest to configure ansible playbook to set one for the domain name.
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Another option could be to add the domain name in the deployment step.

            How this could work:

            • In your app.js, you could reference a file called menu.html but don't actually add it to the codebase
            • In your code, you could add some kind of if-then statement that tries to load menu.html if it's available, but doesn't try to load it if not
            • In the ansible playbooks, we'll write a "play" that literally copies the menu.html from the bioviz codebase, edits it so that all local links contain the ServerName, and then copy the file to the expected location in the deployed genome-dashboard codebase.

            In theory, the links contained in menu.html will all work because they will contain the correct address - e.g., https://foo.com/whatever.html instead of just whatever.html.

            It's super easy to get ansible to do this type of thing and it might be easier than trying to get the javascript to do it. If I understand the stack correctly, the javascript would have to be running in the client. That means that thousands (we hope !) of web browsers would run a bit of code that our server could do literally once per deployment. Doing the processing in the client a bunch of times uses up way more electricity than doing it only once when we deploy.

            Show
            ann.loraine Ann Loraine added a comment - - edited Another option could be to add the domain name in the deployment step. How this could work: In your app.js, you could reference a file called menu.html but don't actually add it to the codebase In your code, you could add some kind of if-then statement that tries to load menu.html if it's available, but doesn't try to load it if not In the ansible playbooks, we'll write a "play" that literally copies the menu.html from the bioviz codebase, edits it so that all local links contain the ServerName, and then copy the file to the expected location in the deployed genome-dashboard codebase. In theory, the links contained in menu.html will all work because they will contain the correct address - e.g., https://foo.com/whatever.html instead of just whatever.html. It's super easy to get ansible to do this type of thing and it might be easier than trying to get the javascript to do it. If I understand the stack correctly, the javascript would have to be running in the client. That means that thousands (we hope !) of web browsers would run a bit of code that our server could do literally once per deployment. Doing the processing in the client a bunch of times uses up way more electricity than doing it only once when we deploy.
            ann.loraine Ann Loraine made changes -
            Comment [ I think I see the problem.

            The menu.html file contains nothing but implied relative links that look like location.html. That is, their location on the network is implied to be the same place (directory) as the file that contains the link.

            So I expect that if a user were to click a link "location.html" when viewing domainname/genome-dashboard, then their client Web browser will ask for domainname/genome-dashboard/location.html.

            That's wrong of course :-)

            I can think of a work-around. There may be others that are better.

            Possibly work-around: Whatever code in app.js that grabs menu.html could parse all the links (all "a href=TEXT.html" tags) where "TEXT" never starts with http or https. It could then prepend the link with the server name and a slash, whatever the server name happens to be. Of course, the node application can't know in advance what the servername is. Only apache knows that, and even apache only knows what the server name because the playbooks add this information to its configuration file. The node app won't be able to read that file, but it might be able to get access to it from environment variables set up by apache when it runs. But I am skeptical that node would even be able to access the environment variables because node runs in a separate process from apache.

            However, when we deploy the node app onto a bioviz host, we could configure the playbooks to edit or create some kind of configuration file that the app could read, find out what the server name is, and then add the server name prefix as needed to the menu.html links.

            If you want to try out these ideas on test.bioviz.org, go for it.

            ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Summary Add "home" icon to top left of genome dashboard Investigate: Include bioviz menu bar in genome-dashboard
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Note: Because the scope changed a lot, I updated the title to "Investigate." The goal now is to try out some ideas and see if we can get one or some of them to work.

            Show
            ann.loraine Ann Loraine added a comment - - edited Note: Because the scope changed a lot, I updated the title to "Investigate." The goal now is to try out some ideas and see if we can get one or some of them to work.
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Sprint Spring 9 : 25 May to 8 Jun [ 95 ] Spring 9 : 25 May to 8 Jun, Summer 1: 8 Jun - 19 Jun [ 95, 96 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            Hide
            ann.loraine Ann Loraine added a comment -
            Show
            ann.loraine Ann Loraine added a comment - ansible playbooks: https://bitbucket.org/lorainelab/bioviz-playbooks
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Story Points 0.25 1
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment - - edited

            Please see the changes at my branch:
            https://bitbucket.org/pbadzuh/genome-dashboard_pbdev/branch/IGBF-2414#diff

            These changes add the bioviz top menu to genome dashboard.

            In order to do this in a way that responds to changes made to bioviz, ansible can be used to:

            • copy the menu file from repo/menu.html
            • modify that file to not import scripts (currently imported in genome dashboard) and to have links point to domain/resource
            • copy the css file from repo/less/style.css
            • use the less css preprocessor to modify that file, making it only target the TopNav div, which contains the menu on genome dashboard

            These steps were done manually and can be automated using ansible

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - - edited Please see the changes at my branch: https://bitbucket.org/pbadzuh/genome-dashboard_pbdev/branch/IGBF-2414#diff These changes add the bioviz top menu to genome dashboard. In order to do this in a way that responds to changes made to bioviz, ansible can be used to: copy the menu file from repo/menu.html modify that file to not import scripts (currently imported in genome dashboard) and to have links point to domain/resource copy the css file from repo/less/style.css use the less css preprocessor to modify that file, making it only target the TopNav div, which contains the menu on genome dashboard These steps were done manually and can be automated using ansible
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            This would mean that
            public/html/menu.html
            and
            public/stylesheets/topnav.bioviz.css
            can be omitted from the current commit, once ansible is set up to pull and modify them. They are currently included to show proof of concept.

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - This would mean that public/html/menu.html and public/stylesheets/topnav.bioviz.css can be omitted from the current commit, once ansible is set up to pull and modify them. They are currently included to show proof of concept.
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            Hide
            ann.loraine Ann Loraine added a comment -

            For the next steps, edit the above comment describing manual steps to make them more clear so that we can translate into a shell script.

            • what is "repo" ? (instruction 1)
            • which file is "that file" ? (instruction 2)
            • which lines the "that file" should the file be modified to not import scripts (instruction 2)?
            • are we supposed to copy style.css from directory repo/less ? (instruction 3)
            • what is the "less css processor" and which file is supposed to be modified? (instruction 4)
            Show
            ann.loraine Ann Loraine added a comment - For the next steps, edit the above comment describing manual steps to make them more clear so that we can translate into a shell script. what is "repo" ? (instruction 1) which file is "that file" ? (instruction 2) which lines the "that file" should the file be modified to not import scripts (instruction 2)? are we supposed to copy style.css from directory repo/less ? (instruction 3) what is the "less css processor" and which file is supposed to be modified? (instruction 4)
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Philip Badzuh [ pbadzuh ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            Please see my changes at the branch below:
            https://bitbucket.org/pbadzuh/bioviz-playbooks_pbdev/branch/IGBF-2414#diff

            I was able to accomplish the end goal using only ansible modules. I tested running the install, clone, and menu (new) roles for the bioviz host for simplicity. Please see the attached screenshots of the net effect of the changes. I added comments and verbose task names to make what I did as clear as possible and also updated the README file to help anyone else trying to run ansible. Please let me know what you think.

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see my changes at the branch below: https://bitbucket.org/pbadzuh/bioviz-playbooks_pbdev/branch/IGBF-2414#diff I was able to accomplish the end goal using only ansible modules. I tested running the install, clone, and menu (new) roles for the bioviz host for simplicity. Please see the attached screenshots of the net effect of the changes. I added comments and verbose task names to make what I did as clear as possible and also updated the README file to help anyone else trying to run ansible. Please let me know what you think.
            pbadzuh Philip Badzuh (Inactive) made changes -
            Attachment css_diff.png [ 14756 ]
            Attachment html_diff.png [ 14757 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Attachment css_diff.png [ 14756 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Attachment css_diff.png [ 14758 ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            Note: If you try to run this, it will likely fail until you first merge in the recent changes to genome dashboard - one of which creates an html folder, which is required for the file copying steps.

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Note: If you try to run this, it will likely fail until you first merge in the recent changes to genome dashboard - one of which creates an html folder, which is required for the file copying steps.
            pbadzuh Philip Badzuh (Inactive) made changes -
            Story Points 1 2.5
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            I have a quick change request before I look more carefully at the new bioviz-playbook code.

            Can you put the new role into a directory just for it within the directory named "roles", following the convention?

            For example, see how there is a role named "ec2" which resides in a directory named "ec2" within the directory "roles."

            Then you can add it to the setup.yml file.

            Show
            ann.loraine Ann Loraine added a comment - - edited I have a quick change request before I look more carefully at the new bioviz-playbook code. Can you put the new role into a directory just for it within the directory named "roles", following the convention? For example, see how there is a role named "ec2" which resides in a directory named "ec2" within the directory "roles." Then you can add it to the setup.yml file.
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            Fixed. I must have accidentally copied the folder contents of the menu role instead of the folder itself to the roles directory

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Fixed. I must have accidentally copied the folder contents of the menu role instead of the folder itself to the roles directory
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            As per discussion with PB and AL, make uaparser.js link refer to a CDN instead of Bioviz.org if possible. Otherwise, add uaparse.js to genome dashboard repo?

            When done, move back to First Level Review.

            Show
            ann.loraine Ann Loraine added a comment - - edited As per discussion with PB and AL, make uaparser.js link refer to a CDN instead of Bioviz.org if possible. Otherwise, add uaparse.js to genome dashboard repo? When done, move back to First Level Review.
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            Please see my GD branch below:
            https://bitbucket.org/pbadzuh/genome-dashboard_pbdev/branch/IGBF-2414#diff

            Once the changes above are merged into GD master, it should be safe to merge the changes at the below branch into bioviz playbooks master
            https://bitbucket.org/pbadzuh/bioviz-playbooks_pbdev/branch/IGBF-2414#diff

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see my GD branch below: https://bitbucket.org/pbadzuh/genome-dashboard_pbdev/branch/IGBF-2414#diff Once the changes above are merged into GD master, it should be safe to merge the changes at the below branch into bioviz playbooks master https://bitbucket.org/pbadzuh/bioviz-playbooks_pbdev/branch/IGBF-2414#diff
            pbadzuh Philip Badzuh (Inactive) made changes -
            Story Points 2.5 3
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Philip Badzuh [ pbadzuh ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Please proceed with PRs.

            Show
            ann.loraine Ann Loraine added a comment - Please proceed with PRs.
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see PRs here: https://bitbucket.org/lorainelab/genome-dashboard/pull-requests/17/igbf-2414/diff https://bitbucket.org/lorainelab/bioviz-playbooks/pull-requests/1/igbf-2414-create-an-ansible-role-for/diff
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Merged to respective main branches.

            Show
            ann.loraine Ann Loraine added a comment - Merged to respective main branches.
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Error when running bioviz-playbooks:

            "TASK [menu : Copy bioviz menu content to genome dashboard] *********************
            fatal: [18.209.116.108]: FAILED! => changed=false
            msg: Destination directory /var/www/genome-dashboard/public/html does not exist"

            Show
            ann.loraine Ann Loraine added a comment - Error when running bioviz-playbooks: "TASK [menu : Copy bioviz menu content to genome dashboard] ********************* fatal: [18.209.116.108] : FAILED! => changed=false msg: Destination directory /var/www/genome-dashboard/public/html does not exist"
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            The following commit should probably be reverted:

            • 24bc45c IGBF-2414: Delete bioviz nav files to be generated by an ansible role

            First, removing the files in public/html also removes the directory.
            Second, not having these files available for checkout will likely break genome-dashboard when deployed locally unless some clever "if" style statements are included that prevent the application from rendering the menu if the menu and its style sheet are not available.

            Show
            ann.loraine Ann Loraine added a comment - - edited The following commit should probably be reverted: 24bc45c IGBF-2414 : Delete bioviz nav files to be generated by an ansible role First, removing the files in public/html also removes the directory. Second, not having these files available for checkout will likely break genome-dashboard when deployed locally unless some clever "if" style statements are included that prevent the application from rendering the menu if the menu and its style sheet are not available.
            ann.loraine Ann Loraine made changes -
            Status Post-merge Testing In Progress [ 10003 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Philip Badzuh [ pbadzuh ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Adding "html" directory with "README.md" file containing documentation.

            Show
            ann.loraine Ann Loraine added a comment - Adding "html" directory with "README.md" file containing documentation.
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Adding the README.md file to the above directory fixed the playbook and I was able to view the dashboard with bioviz menu at https://test.bioviz.org.

            The new genome dashboard application shows the menu, which is good, but there is also a lot of vertical white space separating the menu from the genome dashboard title. To achieve proper visual balance, the whitespace above and below the title should be the same.

            Show
            ann.loraine Ann Loraine added a comment - - edited Adding the README.md file to the above directory fixed the playbook and I was able to view the dashboard with bioviz menu at https://test.bioviz.org . The new genome dashboard application shows the menu, which is good, but there is also a lot of vertical white space separating the menu from the genome dashboard title. To achieve proper visual balance, the whitespace above and below the title should be the same.
            Hide
            ann.loraine Ann Loraine added a comment -

            Fixed layout of title using in-line css.
            Previously, the element class was configured to use the same styling as the tiles, which was not good because it was impossible to change the styling of the title without affecting the tiles.

            Show
            ann.loraine Ann Loraine added a comment - Fixed layout of title using in-line css. Previously, the element class was configured to use the same styling as the tiles, which was not good because it was impossible to change the styling of the title without affecting the tiles.
            Hide
            ann.loraine Ann Loraine added a comment -

            Deployed to test.bioviz.org but links are not working.

            Show
            ann.loraine Ann Loraine added a comment - Deployed to test.bioviz.org but links are not working.
            Hide
            ann.loraine Ann Loraine added a comment -

            Fixed links. Problem was that ServerName was getting inserted into the links without "https://".

            Show
            ann.loraine Ann Loraine added a comment - Fixed links. Problem was that ServerName was getting inserted into the links without "https://".
            Hide
            ann.loraine Ann Loraine added a comment -

            Deployed to bioviz main.

            Show
            ann.loraine Ann Loraine added a comment - Deployed to bioviz main.
            Hide
            ann.loraine Ann Loraine added a comment -

            Moving to needs testing.

            To test:

            • Check links and basic functionality on Safari, Chrome, Firefox using https://bioviz.org
            • Deploy genome-dashboard on your local host and confirm that genome dashboard can run and that the menu is rendered.
            Show
            ann.loraine Ann Loraine added a comment - Moving to needs testing. To test: Check links and basic functionality on Safari, Chrome, Firefox using https://bioviz.org Deploy genome-dashboard on your local host and confirm that genome dashboard can run and that the menu is rendered.
            ann.loraine Ann Loraine made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            ann.loraine Ann Loraine made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            ann.loraine Ann Loraine made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Link This issue is blocked by IGBF-2431 [ IGBF-2431 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            Please see my branch below:
            https://bitbucket.org/pbadzuh/genome-dashboard_pbdev/branch/IGBF-2414#diff

            Changes

            • Remove 24bc45c IGBF-2414: Delete bioviz nav files to be generated by an ansible role
            • The nav bar is now present when developing locally
            • Update readme
            • Move styling to css file

            I had to reset and cherry-pick in order to make these changes, and there may be conflicts with your master branch. It may be easiest to reset your master to the commit below and then do another merge:

            45eddae Merged in IGBF-2407 (pull request #16) IGBF-2407: Fix safari button background color

            Please let me know what you think.

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see my branch below: https://bitbucket.org/pbadzuh/genome-dashboard_pbdev/branch/IGBF-2414#diff Changes Remove 24bc45c IGBF-2414 : Delete bioviz nav files to be generated by an ansible role The nav bar is now present when developing locally Update readme Move styling to css file I had to reset and cherry-pick in order to make these changes, and there may be conflicts with your master branch. It may be easiest to reset your master to the commit below and then do another merge: 45eddae Merged in IGBF-2407 (pull request #16) IGBF-2407 : Fix safari button background color Please let me know what you think.
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status Post-merge Testing In Progress [ 10003 ] To-Do [ 10305 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Change request:

            For simplicity, do please make a new branch from the latest master and commit the new code to the new branch.

            Show
            ann.loraine Ann Loraine added a comment - Change request: For simplicity, do please make a new branch from the latest master and commit the new code to the new branch.
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Sure, please see the changes at the new branch: https://bitbucket.org/pbadzuh/genome-dashboard_pbdev/branch/IGBF-2414-2#diff
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Please submit PR.

            Show
            ann.loraine Ann Loraine added a comment - Please submit PR.
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Philip Badzuh [ pbadzuh ]
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see PR here: https://bitbucket.org/lorainelab/genome-dashboard/pull-requests/18/igbf-2414-2/diff
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            pbadzuh Philip Badzuh (Inactive) made changes -
            Assignee Philip Badzuh [ pbadzuh ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Merged and deployed to test and main.

            Show
            ann.loraine Ann Loraine added a comment - - edited Merged and deployed to test and main.
            gchamma Jay Chamma (Inactive) made changes -
            Assignee Jay Chamma [ gchamma ]
            gchamma Jay Chamma (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            Hide
            gchamma Jay Chamma (Inactive) added a comment -

            Post merge test:

            Results:

            • Menu bar appears in the Genome Dashboard and every link in the menu bar works as intended.

            Steps I took to test this.
            1. Visited https://www.bioviz.org/genome-dashboard
            2. Confirmed the presence of the menu bar, and that it's the same as the one on the home page of BioViz
            3. Confirmed that every link in the menu bar works

            Show
            gchamma Jay Chamma (Inactive) added a comment - Post merge test: Results: Menu bar appears in the Genome Dashboard and every link in the menu bar works as intended. Steps I took to test this. 1. Visited https://www.bioviz.org/genome-dashboard 2. Confirmed the presence of the menu bar, and that it's the same as the one on the home page of BioViz 3. Confirmed that every link in the menu bar works Moving this issue to Done and re-assigning it to Philip Badzuh
            gchamma Jay Chamma (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            gchamma Jay Chamma (Inactive) made changes -
            Assignee Jay Chamma [ gchamma ] Philip Badzuh [ pbadzuh ]

              People

              • Assignee:
                pbadzuh Philip Badzuh (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: