Comments (4)
Thought this might happen. It's because turbolinks is blowing away the xray bar which is added via middleware. Not sure the best way to fix this just yet.
from xray-rails.
I'm going to attempt a new project with turbolinks soon, so I'll likely be checking into this.
from xray-rails.
Ended up removing Turbolinks because I didn't want to figure out how to bandaid each jquery plugin I was using. But this should just be a matter of subscribing to Turbolinks' custom page load events.
from xray-rails.
Yeah there are some gotchas and a lot of plugins do (in a lot of cases even senseless) stuff which would need separation between full and "soft" page initialization. It is a bit tedious but I think it is worth it :)
from xray-rails.
Related Issues (20)
- Allow it to work with strict Content Security Policy; add nonce to javascript_include_tag HOT 1
- Xray-rails is not working with Docker HOT 2
- Travis configuration does not test Sprockets 4 or current Ruby versions
- Test suite fails with Sprockets::Railtie::ManifestNeededError HOT 1
- Xray fails to inject itself when using jQuery in Webpacker HOT 1
- Release xray.js on npm
- Drop support for Ruby <=2.4 (and Rails 4?)
- Remove auto-adding after jquery.js script — Sprockets 4 (nor webpack-based javascript_pack_tag 'application') doesn't add a separate script tag for jquery HOT 2
- Rewrite to remove dependency on jQuery
- Support for view_component HOT 1
- xray-rails 0.3.2 and sprockets 4
- ActionView::Template::Error - undefined method `pathname' HOT 4
- Rewrite to use `annotate_rendered_view_with_filenames`
- How to make xray-rails work with rails 7 and ruby 3+ HOT 1
- Early return from partial causes undefined method `include?' for nil:NilClass HOT 1
- "Screenshot" and "See Xray in action" links in the README are not working HOT 1
- calling non-existent method 'pathname' HOT 3
- Open in rubymine HOT 2
- The shortcut doesnot work on chrome/firefox for me anymore. HOT 1
- Defer loading of Xray JS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xray-rails.