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

Investigate: Nav bar and Footer are not visible when viewing Galaxy bridge page on Safari

    Details

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

      Description

      Navigation bar is not visible in Safari when directed to Bioviz from Galaxy following the below steps:

      • Go to https://usegalaxy.org
      • Click Data > Histories.
      • Click Public Histories.
      • Where it says "search histories", type: Open Galaxy files in Integrated Genome Browser
      • Click on the search result, then click View.
      • Click one of the file formats to be opened in IGB via the View in IGB link.
      • Observe that the Nav bar and footer aren't visible. Try the same in Chrome and observe that they are visible.


      I also observed that when we change the URL to HTTPS it is visible but not able to communicate with IGB to check the status of IGB. Investigate this issue and try to fix it.

        Attachments

          Issue Links

            Activity

            jsirigin Jaya Sravani Sirigineedi (Inactive) created issue -
            jsirigin Jaya Sravani Sirigineedi (Inactive) made changes -
            Field Original Value New Value
            Epic Link IGBF-1880 [ 17970 ]
            jsirigin Jaya Sravani Sirigineedi (Inactive) made changes -
            Link This issue relates to IGBF-3960 [ IGBF-3960 ]
            ann.loraine Ann Loraine made changes -
            Priority Major [ 3 ] Blocker [ 1 ]
            Sprint Spring 3 [ 212 ]
            nfreese Nowlan Freese made changes -
            Assignee Pranav Bhatia [ pbhatia1 ]
            pbhatia1 Pranav Bhatia (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            Hide
            pkulzer Paige Kulzer (Inactive) added a comment -

            Detailed instructions for opening Galaxy History files in IGB can be found in our GTN tutorial: https://training.galaxyproject.org/training-material/faqs/galaxy/visualisations_igb.html

            Show
            pkulzer Paige Kulzer (Inactive) added a comment - Detailed instructions for opening Galaxy History files in IGB can be found in our GTN tutorial: https://training.galaxyproject.org/training-material/faqs/galaxy/visualisations_igb.html
            pbhatia1 Pranav Bhatia (Inactive) made changes -
            Attachment screenshot-1.png [ 18648 ]
            Hide
            pbhatia1 Pranav Bhatia (Inactive) added a comment -

            From the Safari Web Inspector Console, the error messages indicate that CORS (Cross-Origin Resource Sharing) issues are preventing your navbar from loading.

            Most likely - The server at bioviz.org does not include the Access-Control-Allow-Origin header, which tells browsers it's safe to load resources from another origin.

            Safari is stricter about enforcing CORS policies than Chrome, which might explain why it works on Chrome but not Safari.

            Show
            pbhatia1 Pranav Bhatia (Inactive) added a comment - From the Safari Web Inspector Console, the error messages indicate that CORS (Cross-Origin Resource Sharing) issues are preventing your navbar from loading. Most likely - The server at bioviz.org does not include the Access-Control-Allow-Origin header, which tells browsers it's safe to load resources from another origin. Safari is stricter about enforcing CORS policies than Chrome, which might explain why it works on Chrome but not Safari.
            Hide
            nfreese Nowlan Freese added a comment -

            See IGBF-2987 for additional details about issues we have experienced with CORS and Safari/Chrome in the past.

            Show
            nfreese Nowlan Freese added a comment - See IGBF-2987 for additional details about issues we have experienced with CORS and Safari/Chrome in the past.
            nfreese Nowlan Freese made changes -
            Link This issue relates to IGBF-2987 [ IGBF-2987 ]
            ann.loraine Ann Loraine made changes -
            Sprint Spring 3 [ 212 ] Spring 3, Spring 4 [ 212, 213 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Summary Nav bar and Footer are not visible when viewing Galaxy bridge page on Safari Investigate: Nav bar and Footer are not visible when viewing Galaxy bridge page on Safari
            Hide
            ann.loraine Ann Loraine added a comment -

            Thank you Nowlan Freese for the reminder about our many issues with Safari!

            It sounds like maybe we need to modify BioViz.org's configuration to include the "Access-Control-Allow-Origin header" on the Galaxy bridge page, or possibly all the pages? Maybe that would fix the problem?

            If not, then we could potentially detect when a user is visiting the page with Safari and display a message asking them to use a different browser.

            Show
            ann.loraine Ann Loraine added a comment - Thank you Nowlan Freese for the reminder about our many issues with Safari! It sounds like maybe we need to modify BioViz.org's configuration to include the "Access-Control-Allow-Origin header" on the Galaxy bridge page, or possibly all the pages? Maybe that would fix the problem? If not, then we could potentially detect when a user is visiting the page with Safari and display a message asking them to use a different browser.
            Hide
            pbhatia1 Pranav Bhatia (Inactive) added a comment -

            Safari requires the page to be served over HTTP to communicate with the local Java IGB app. However, Apache was redirecting most HTTP requests to HTTPS, including menu.html and footer.html, causing CORS errors and preventing the navbar and footer from loading.

            Fix:
            Updated the Apache config to exclude menu.html and footer.html from HTTP-to-HTTPS redirection. This allows them to load over HTTP in Safari without triggering CORS errors, restoring the navbar and footer display on the Galaxy bridge page.

            Link to commit - https://bitbucket.org/pranavbhatia1999/bioviz-playbooks/commits/a924579bdb6bff8e233e263445a5ea494cb84280

            Show
            pbhatia1 Pranav Bhatia (Inactive) added a comment - Safari requires the page to be served over HTTP to communicate with the local Java IGB app. However, Apache was redirecting most HTTP requests to HTTPS, including menu.html and footer.html, causing CORS errors and preventing the navbar and footer from loading. Fix: Updated the Apache config to exclude menu.html and footer.html from HTTP-to-HTTPS redirection. This allows them to load over HTTP in Safari without triggering CORS errors, restoring the navbar and footer display on the Galaxy bridge page. Link to commit - https://bitbucket.org/pranavbhatia1999/bioviz-playbooks/commits/a924579bdb6bff8e233e263445a5ea494cb84280
            pbhatia1 Pranav Bhatia (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            pbhatia1 Pranav Bhatia (Inactive) made changes -
            Assignee Pranav Bhatia [ pbhatia1 ]
            ann.loraine Ann Loraine made changes -
            Sprint Spring 3, Spring 4 [ 212, 213 ] Spring 3, Spring 4, Spring 5 [ 212, 213, 214 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            nfreese Nowlan Freese made changes -
            Assignee Ann Loraine [ aloraine ]
            Hide
            ann.loraine Ann Loraine added a comment -

            I don't see any problems with this change and I can see how it could correct the problem. Please submit PR when ready.

            Show
            ann.loraine Ann Loraine added a comment - I don't see any problems with this change and I can see how it could correct the problem. Please submit PR when ready.
            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 -
            Assignee Ann Loraine [ aloraine ] Pranav Bhatia [ pbhatia1 ]
            Show
            pbhatia1 Pranav Bhatia (Inactive) added a comment - PR Submitted - https://bitbucket.org/lorainelab/bioviz-playbooks/pull-requests/16
            pbhatia1 Pranav Bhatia (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            pbhatia1 Pranav Bhatia (Inactive) made changes -
            Assignee Pranav Bhatia [ pbhatia1 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            PR is merged.

            Show
            ann.loraine Ann Loraine added a comment - PR is merged.
            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 -

            New content is now deployed to bioviz.org. Ready for testing.

            Show
            ann.loraine Ann Loraine added a comment - New content is now deployed to bioviz.org. Ready for testing.
            pkulzer Paige Kulzer (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            pkulzer Paige Kulzer (Inactive) made changes -
            Assignee Paige Kulzer [ pkulzer ]
            Hide
            pkulzer Paige Kulzer (Inactive) added a comment -

            Tested on Mac using Safari web browser, the nav bar (+ support banner) and footer are now visible on the Galaxy bridge page. All elements on the nav bar and footer are clickable and working correctly. Closing this ticket!

            Show
            pkulzer Paige Kulzer (Inactive) added a comment - Tested on Mac using Safari web browser, the nav bar (+ support banner) and footer are now visible on the Galaxy bridge page. All elements on the nav bar and footer are clickable and working correctly. Closing this ticket!
            pkulzer Paige Kulzer (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            pkulzer Paige Kulzer (Inactive) made changes -
            Assignee Paige Kulzer [ pkulzer ] Pranav Bhatia [ pbhatia1 ]

              People

              • Assignee:
                pbhatia1 Pranav Bhatia (Inactive)
                Reporter:
                jsirigin Jaya Sravani Sirigineedi (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: