Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soft navigation detection #28

Open
michaelchadwick opened this issue Apr 1, 2024 · 3 comments
Open

Soft navigation detection #28

michaelchadwick opened this issue Apr 1, 2024 · 3 comments

Comments

@michaelchadwick
Copy link

My site primarily uses soft navigation links, and those don't seem to trigger a request as far as Debugbar is concerned. Is there a way to still use this tool?

Screenshot 2024-04-01 at 10 49 43 AM

@julienbourdeau
Copy link
Owner

If I understand correctly, you have an SPA in the frontend and changing pages doesn't trigger any call to the backend. The debugbar will only see request made to the backend. For anything happening in React, Vue and such, you would need a dedicated too.

Let me know if I misunderstood something.

@michaelchadwick
Copy link
Author

I'm using Rails 7 and <%= link_to %> links mostly, but maybe I have some kind of config or setting turned on that makes everything a soft navigation?

@osbre
Copy link

osbre commented Jun 24, 2024

All Ajax/spa requests will still get logged. Can confirm that it works with Inertia.js and Vue.

Could you open a browser dev tools network tab and see if there is a new request when you navigate? It may also be that you have caching preventing the request from firing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants