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

Update to bootstrap 4 on bioviz and genome dashboard

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      6
    • Sprint:
      Summer 2: 22 Jun - 3 Jul, Summer 3: 6 Jul - 17 Jul, Summer 4: 14 Jul - 28 Jul

      Description

      Is it feasible and practical to upgrade to bootstrap 4 on bioviz and genome dashboard?

        Attachments

          Issue Links

            Activity

            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            I have removed the pages:

            Some pages are not currently linked to from within the site, but I have left in the project. Please let me know, [~aloraine], if any are no longer needed.

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - I have removed the pages: https://www.bioviz.org/contact.html seems to be an older copy of https://www.bioviz.org/help.html https://www.bioviz.org/appStore.html the original and no longer used prototype Some pages are not currently linked to from within the site, but I have left in the project. Please let me know, [~aloraine] , if any are no longer needed. https://www.bioviz.org/bar.html https://www.bioviz.org/galaxy.html https://www.bioviz.org/support.html
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            Please see the changes at the commit below:
            https://bitbucket.org/pbadzuh/bioviz_pbdev/commits/2a06ccd22f810c6c9b2d971207adc9929510999a?at=IGBF-2442

            These:

            • modify html files to source CSS and JS from CDNs
            • remove local JS, CSS, CSS source, and other resource files that are unneeded
            • reorganize directory structure and update references accordingly - html files left at root of htdocs so as not to break apache config

            All changes were tested locally. Please let me know what you think.

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see the changes at the commit below: https://bitbucket.org/pbadzuh/bioviz_pbdev/commits/2a06ccd22f810c6c9b2d971207adc9929510999a?at=IGBF-2442 These: modify html files to source CSS and JS from CDNs remove local JS, CSS, CSS source, and other resource files that are unneeded reorganize directory structure and update references accordingly - html files left at root of htdocs so as not to break apache config All changes were tested locally. Please let me know what you think.
            Hide
            ann.loraine Ann Loraine added a comment -
            Show
            ann.loraine Ann Loraine added a comment - Apologies for the late reply: https://www.bioviz.org/bar.html https://www.bioviz.org/galaxy.html https://www.bioviz.org/support.html Are all needed.
            Hide
            ann.loraine Ann Loraine added a comment -

            I just now attempted to deploy the branch onto test.bioviz.org using bioviz-playbooks and got this error:

            TASK [menu : Copy bioviz menu styling to genome dashboard] *****************************************
            fatal: [18.209.116.108]: FAILED! => changed=false
            msg: Source /var/www/bioviz/htdocs/less/style.css not found

            Show
            ann.loraine Ann Loraine added a comment - I just now attempted to deploy the branch onto test.bioviz.org using bioviz-playbooks and got this error: TASK [menu : Copy bioviz menu styling to genome dashboard] ***************************************** fatal: [18.209.116.108] : FAILED! => changed=false msg: Source /var/www/bioviz/htdocs/less/style.css not found
            Hide
            ann.loraine Ann Loraine added a comment -

            Apart from the deployment error (see previous comment) every thing else looks fine – all the Web site pages (that I tested) were functional.
            Once the above problem is fixed, it is ready for a PR.
            cc: Philip Badzuh

            Show
            ann.loraine Ann Loraine added a comment - Apart from the deployment error (see previous comment) every thing else looks fine – all the Web site pages (that I tested) were functional. Once the above problem is fixed, it is ready for a PR. cc: Philip Badzuh
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            Thanks for noticing that. I have updated the ansible reference to the css file. I also checked for any other possible ansible issues related to my directory restructuring of bioviz, and there shouldn't be any.

            Please review:
            https://bitbucket.org/pbadzuh/bioviz-playbooks_pbdev/branch/IGBF-2442#diff

            Everything should work after that change is merged. Hopefully

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Thanks for noticing that. I have updated the ansible reference to the css file. I also checked for any other possible ansible issues related to my directory restructuring of bioviz, and there shouldn't be any. Please review: https://bitbucket.org/pbadzuh/bioviz-playbooks_pbdev/branch/IGBF-2442#diff Everything should work after that change is merged. Hopefully
            Hide
            ann.loraine Ann Loraine added a comment -

            Testing now.

            Show
            ann.loraine Ann Loraine added a comment - Testing now.
            Hide
            ann.loraine Ann Loraine added a comment -

            Do please submit PR with change to playbook.
            cc: Philip Badzuh

            Show
            ann.loraine Ann Loraine added a comment - Do please submit PR with change to playbook. cc: Philip Badzuh
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see PR below: https://bitbucket.org/lorainelab/bioviz-playbooks/pull-requests/2/igbf-2442-update-link-to-bioviz-css/diff
            Hide
            ann.loraine Ann Loraine added a comment -

            Merged.
            I used the revised bioviz-playbook code to re-deploy your IGBF-2442 Bioviz branch to test.bioviz.org.
            I see no problems, so do please submit a PR from your IGBF-2442 Bioviz branch to the team repo main branch.
            cc: Philip Badzuh

            Show
            ann.loraine Ann Loraine added a comment - Merged. I used the revised bioviz-playbook code to re-deploy your IGBF-2442 Bioviz branch to test.bioviz.org. I see no problems, so do please submit a PR from your IGBF-2442 Bioviz branch to the team repo main branch. cc: Philip Badzuh
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Great. Please see the bioviz pull request below: https://bitbucket.org/lorainelab/bioviz/pull-requests/41/igbf-2442-migrate-to-use-of-cdns-and/diff
            Hide
            ann.loraine Ann Loraine added a comment -

            Sorry for the delay Philip Badzuh.
            Merged to main branch on the team repo.

            Show
            ann.loraine Ann Loraine added a comment - Sorry for the delay Philip Badzuh . Merged to main branch on the team repo.
            Hide
            ann.loraine Ann Loraine added a comment -

            Notes on discussion that happened off-line w/ PB, AL, and NF:

            • PB noted there are many copies of CSS-related files that do not appear to be used anywhere
            • AppStore prototype page has its own collection of CSS and bootstrap related stuff
            • We decided that step one of this project is: get rid of all this extra stuff that is not being used
            • Merge the changes into the main branch
            • Next, start trying to use bootstrap 4
            Show
            ann.loraine Ann Loraine added a comment - Notes on discussion that happened off-line w/ PB, AL, and NF: PB noted there are many copies of CSS-related files that do not appear to be used anywhere AppStore prototype page has its own collection of CSS and bootstrap related stuff We decided that step one of this project is: get rid of all this extra stuff that is not being used Merge the changes into the main branch Next, start trying to use bootstrap 4
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Please note: I removed "Investigate" from the title since we are moving forward with the effort to upgrade to bootstrap 4, with the caveat that we might discover it's not possible with our current design. If so, that's OK – we got rid of a lot of technical debt along the way.

            Show
            ann.loraine Ann Loraine added a comment - - edited Please note: I removed "Investigate" from the title since we are moving forward with the effort to upgrade to bootstrap 4, with the caveat that we might discover it's not possible with our current design. If so, that's OK – we got rid of a lot of technical debt along the way.
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment - - edited

            Please see the changes at the new branch below:
            https://bitbucket.org/pbadzuh/bioviz_pbdev/branch/IGBF-2242-2#diff

            These:

            • migrate to the use of bootstrap 4, updating class references and custom styling as needed
            • fix previous issues with mobile styling
            • move menu styling to separate file, to ease ansible integration
            • move repetitive JS to dedicated files
            • remove several unused libraries
            • prettify formatting

            Please let me know what you think or if you have any questions.

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - - edited Please see the changes at the new branch below: https://bitbucket.org/pbadzuh/bioviz_pbdev/branch/IGBF-2242-2#diff These: migrate to the use of bootstrap 4, updating class references and custom styling as needed fix previous issues with mobile styling move menu styling to separate file, to ease ansible integration move repetitive JS to dedicated files remove several unused libraries prettify formatting Please let me know what you think or if you have any questions.
            Hide
            ann.loraine Ann Loraine added a comment - - edited
            Show
            ann.loraine Ann Loraine added a comment - - edited Deployed above branch ( https://bitbucket.org/pbadzuh/bioviz_pbdev/branch/IGBF-2242-2#diff ) to https://test.bioviz.org for testing.
            Hide
            ann.loraine Ann Loraine added a comment -

            Please check appearance in Safari. The Install IGB button (top right) is white instead of pale red. Genome Dashboard menu was also disrupted, but I guess that's because it is still configured to use bootstrap 3?

            Show
            ann.loraine Ann Loraine added a comment - Please check appearance in Safari. The Install IGB button (top right) is white instead of pale red. Genome Dashboard menu was also disrupted, but I guess that's because it is still configured to use bootstrap 3?
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            Thank you for noticing that; I forgot to test browsers outside of chrome. Yes, genome dashboard will need to be reverted to bootstrap 4.

            Please see the same branch below:
            https://bitbucket.org/pbadzuh/bioviz_pbdev/branch/IGBF-2242-2#diff

            • I have fixed the button appearance on safari and squashed several commits for a cleaner history.
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Thank you for noticing that; I forgot to test browsers outside of chrome. Yes, genome dashboard will need to be reverted to bootstrap 4. Please see the same branch below: https://bitbucket.org/pbadzuh/bioviz_pbdev/branch/IGBF-2242-2#diff I have fixed the button appearance on safari and squashed several commits for a cleaner history.
            Hide
            ann.loraine Ann Loraine added a comment -

            Button fixed in Safari. Please submit PR.

            Show
            ann.loraine Ann Loraine added a comment - Button fixed in Safari. Please submit PR.
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see PR below: https://bitbucket.org/lorainelab/bioviz/pull-requests/42/igbf-2242-2/diff
            Hide
            ann.loraine Ann Loraine added a comment -

            Deployed on test.bioviz.org

            Show
            ann.loraine Ann Loraine added a comment - Deployed on test.bioviz.org
            Hide
            ann.loraine Ann Loraine added a comment -

            To test:

            Examine all the pages. Compare to https://bioviz.org ("bioviz main") to determine if what you see is new bug.

            Show
            ann.loraine Ann Loraine added a comment - To test: Examine all the pages. Compare to https://bioviz.org ("bioviz main") to determine if what you see is new bug.
            Hide
            gchamma Jay Chamma (Inactive) added a comment - - edited

            Post merge testing:
            All links and features are working with no issues on test.bioviz.org

            Steps:
            1. Visited test.bioviz.org
            2. Confirmed all menu links, in page links, and download links are working, and that no issues or bugs are present on BioViz and Genome Dashboard
            3. Confirmed that no bugs or issues occur when trying to load genome versions on IGB using the Genome Dashboard on https://test.bioviz.org/genome-dashboard

            Moving this ticket to "Done" and re-assigning it to Philip Badzuh

            Show
            gchamma Jay Chamma (Inactive) added a comment - - edited Post merge testing: All links and features are working with no issues on test.bioviz.org Steps: 1. Visited test.bioviz.org 2. Confirmed all menu links, in page links, and download links are working, and that no issues or bugs are present on BioViz and Genome Dashboard 3. Confirmed that no bugs or issues occur when trying to load genome versions on IGB using the Genome Dashboard on https://test.bioviz.org/genome-dashboard Moving this ticket to "Done" and re-assigning it to Philip Badzuh
            Hide
            ann.loraine Ann Loraine added a comment -

            Jay Chamma - please check appearance of search box in Genome Dashboard after entering a search string. Please compare to bioviz.org ("bioviz main").
            Looks like there could be a problem.
            Move back to To-Do and assigning to Jay Chamma to take a look.

            Show
            ann.loraine Ann Loraine added a comment - Jay Chamma - please check appearance of search box in Genome Dashboard after entering a search string. Please compare to bioviz.org ("bioviz main"). Looks like there could be a problem. Move back to To-Do and assigning to Jay Chamma to take a look.
            Hide
            gchamma Jay Chamma (Inactive) added a comment - - edited

            [~aloraine] Thank you for noticing that. Here is what I found:

            • The search box on https://test.bioviz.org/genome-dashboard is slightly smaller than the main Genome Dashboard, which is causing a very long string that reaches the end of search box to be hidden underneath the "X" symbol.
              The main Genome Dashboard does not have this issue, since it is slightly larger and cuts off the long string before it reaches the "X" symbol.
            • The font on the test Genome Dashboard top menu looks different than the main version and causes the top menu to extend further down than the main version.
            • The same font issue appears on the top bar of homepage of test.BioViz.org and on test version of BioViz Connect
            • The sentence "Integrated Genome Browser Visualization for genome-scale data" on the homepage of test.BioViz.org has extra spacing between the words compared to the main BioViz.org
            • The window that contains the slides on the hompage test.BioViz.org is slightly taller and narrower compared to the main bioViz.org homepage, which is causing Chrome to have a vertical scroll bar that is not present on the main BioViz.org
            • https://test.bioviz.org/download.html has a different download button symbol and font than the main version, https://www.bioviz.org/download.html
              The same thing can be seen on https://test.bioviz.org/otherDownloads.html
            • Font on the Credits page (https://test.bioviz.org/credits.html) is different than the main BioViz.org Credits page, and the white part of the page on the test version appears narrower and taller than the main version.
            • Same font and page layout issues can be seen on the Help page, "How to cite IGB" page, and "Overview" page.
            • The test version of BioViz Connect has the text underneath the photo extending out, where it is supposed to start and end at the photo's borders
            • The "Sign in with your CyVerse ID" button is different on the test version on Connect, but it looks a lot better in my opinion.

            Overall there are no issues regarding the links of buttons and text. However, the font, button symbols, and dimensions of some pages are different compared to the main BioViz.org

            Re-assigning this ticket to the original developer: Philip Badzuh

            Show
            gchamma Jay Chamma (Inactive) added a comment - - edited [~aloraine] Thank you for noticing that. Here is what I found: The search box on https://test.bioviz.org/genome-dashboard is slightly smaller than the main Genome Dashboard, which is causing a very long string that reaches the end of search box to be hidden underneath the "X" symbol. The main Genome Dashboard does not have this issue, since it is slightly larger and cuts off the long string before it reaches the "X" symbol. The font on the test Genome Dashboard top menu looks different than the main version and causes the top menu to extend further down than the main version. The same font issue appears on the top bar of homepage of test.BioViz.org and on test version of BioViz Connect The sentence "Integrated Genome Browser Visualization for genome-scale data" on the homepage of test.BioViz.org has extra spacing between the words compared to the main BioViz.org The window that contains the slides on the hompage test.BioViz.org is slightly taller and narrower compared to the main bioViz.org homepage, which is causing Chrome to have a vertical scroll bar that is not present on the main BioViz.org https://test.bioviz.org/download.html has a different download button symbol and font than the main version, https://www.bioviz.org/download.html The same thing can be seen on https://test.bioviz.org/otherDownloads.html Font on the Credits page ( https://test.bioviz.org/credits.html ) is different than the main BioViz.org Credits page, and the white part of the page on the test version appears narrower and taller than the main version. Same font and page layout issues can be seen on the Help page, "How to cite IGB" page, and "Overview" page. The test version of BioViz Connect has the text underneath the photo extending out, where it is supposed to start and end at the photo's borders The "Sign in with your CyVerse ID" button is different on the test version on Connect, but it looks a lot better in my opinion. Overall there are no issues regarding the links of buttons and text. However, the font, button symbols, and dimensions of some pages are different compared to the main BioViz.org Re-assigning this ticket to the original developer: Philip Badzuh
            Hide
            ann.loraine Ann Loraine added a comment -

            Thanks for starting work on this Philip Badzuh! If you get this email, please reply to [~aloraine]

            Show
            ann.loraine Ann Loraine added a comment - Thanks for starting work on this Philip Badzuh ! If you get this email, please reply to [~aloraine]
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment - - edited

            I got your email [~aloraine], and no problem. I have updated the branch below with the following changes:

            https://bitbucket.org/pbadzuh/bioviz_pbdev/branch/IGBF-2442#diff

            • Make font styling and sizing resemble bioviz on all pages.
            • Update menu bar spacing.
            • Keep the most similar-looking download icon from font awesome, since glyphicons were discontinued in bootstrap. Please let me know if you have another preference.
            • Keep default bootstrap 4 paragraph spacing, to improve readability.

            And at the genome dashboard branch:

            https://bitbucket.org/pbadzuh/genome-dashboard_pbdev/branch/IGBF-2442#diff

            • Prevent search query text from trailing behind 'X' symbol.

            Please let me know your thoughts.

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - - edited I got your email [~aloraine] , and no problem. I have updated the branch below with the following changes: https://bitbucket.org/pbadzuh/bioviz_pbdev/branch/IGBF-2442#diff Make font styling and sizing resemble bioviz on all pages. Update menu bar spacing. Keep the most similar-looking download icon from font awesome, since glyphicons were discontinued in bootstrap. Please let me know if you have another preference. Keep default bootstrap 4 paragraph spacing, to improve readability. And at the genome dashboard branch: https://bitbucket.org/pbadzuh/genome-dashboard_pbdev/branch/IGBF-2442#diff Prevent search query text from trailing behind 'X' symbol. Please let me know your thoughts.
            Hide
            ann.loraine Ann Loraine added a comment -

            Did you intend to commit more changes to IGBF-2442?
            I only see one change to style.css:

            .searchbar .search_input {
              max-width: 100%;
              padding-right: 50px;
            }
            
            Show
            ann.loraine Ann Loraine added a comment - Did you intend to commit more changes to IGBF-2442 ? I only see one change to style.css: .searchbar .search_input { max-width: 100%; padding-right: 50px; }
            Hide
            pbadzuh Philip Badzuh (Inactive) added a comment -

            Yes, I believe that is the only change required for genome dashboard. All the other changes that were mentioned were made to bioviz.

            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Yes, I believe that is the only change required for genome dashboard. All the other changes that were mentioned were made to bioviz.
            Hide
            ann.loraine Ann Loraine added a comment -

            OK thanks! Please submit PR when convenient.

            Show
            ann.loraine Ann Loraine added a comment - OK thanks! Please submit PR when convenient.
            Show
            pbadzuh Philip Badzuh (Inactive) added a comment - Please see the PRs below: https://bitbucket.org/lorainelab/bioviz/pull-requests/45/igbf-2442-update-font-size-and-style-to/diff https://bitbucket.org/lorainelab/genome-dashboard/pull-requests/25/igbf-2442-update-search-input-styling-to/diff
            Hide
            gchamma Jay Chamma (Inactive) added a comment -

            [~aloraine]
            https://test.bioviz.org cannot be reached

            Show
            gchamma Jay Chamma (Inactive) added a comment - [~aloraine] https://test.bioviz.org cannot be reached
            Hide
            ann.loraine Ann Loraine added a comment -

            https://test.bioviz.org is now available. Sorry for the inconvenience Jay Chamma

            Show
            ann.loraine Ann Loraine added a comment - https://test.bioviz.org is now available. Sorry for the inconvenience Jay Chamma
            Hide
            prutha Prutha Kulkarni (Inactive) added a comment -

            The search input and the font on https://test.bioviz.org and https://www.bioviz.org/ are in sync now.
            Moving the ticket to Done.

            Show
            prutha Prutha Kulkarni (Inactive) added a comment - The search input and the font on https://test.bioviz.org and https://www.bioviz.org/ are in sync now. Moving the ticket to Done.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: