Bug 1357900

Summary: [RFE] Add ability for pages to turn off Turbolinks
Product: Red Hat Satellite Reporter: cchase
Component: WebUIAssignee: satellite6-bugs <satellite6-bugs>
WebUI sub component: Foreman QA Contact: Katello QA List <katello-qa-list>
Status: CLOSED WONTFIX Docs Contact:
Severity: medium    
Priority: medium CC: bbuckingham, bkearney, jmatthew
Version: 6.2.0Keywords: FutureFeature, Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-14 21:26:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1212602    

Description cchase 2016-07-19 14:19:03 UTC
Description of problem:

In QCI, the browser button was non-functional.  Unfortunately, this is due to the interaction between Ember.js and Turbolinks.  Turbolinks is causing the html to be blanked out.

After trying to disable Turbolinks using the data-no-turbolink tags and exploring other JavaScript options, we were only able to fix it by disabling the loading of the Turbolinks JavaScript altogether.  We used a new layout template and referenced a modified copy of the application.js omitting the Turbolinks require statements.  Unfortunately, this means we would be out of sync with foreman if there are changes to those files.

It would be preferable as a plugin to be able to set an opt-out option on a page to load up the application.js without the Turbolinks if it causes issues with the JavaScript on that page.


Version-Release number of selected component (if applicable):


How reproducible:
No longer reproducible.  This was only reproducible in the old version before our workaround.  It is no longer reproducible.

Steps to Reproduce:
1. Load an Ember application (Go to the QCI New Deployment page, choose a product, click Next)
2. Click the browser's back button

Actual results:
Page should load.

Expected results:
Page loads, then the contents are blanked out.

Additional info:

Comment 1 Bryan Kearney 2017-12-14 21:26:26 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.