ninetailed-inc/ninetailed-examples

[bug][all-in-demo] navigation does not work after some time

Opened this issue · 2 comments

On the https://examples-marekting-contentful-next-app-all-in.vercel.app/ all-in demo, I experience some odd navigation experience. Sometimes, navigating from one page to another by following links doesn't work anymore.

Reproduce

  1. Ensure JavaScript is enabled (not reproducible without JS enabled)
  2. Enter https://examples-marekting-contentful-next-app-all-in.vercel.app/
  3. Click on top nav "Performance"
  4. Click on top nav "Compensation"
  5. Click on top nav "Employee Management"
  6. Click on top nav "Performance" again

Result: No navigation back to "Performance" happens.
Expected: Navigation back to "Performance" should happen.

This same issue is reproducible on various journeys through the page. The link targets seem correct, but maybe there is some JavaScript messing with the link clicks? Tested on Chromium Version 125

This seemed to be caused by middleware filters that were too permissive, leading to rapid requests against the same Ninetailed profile that needed to be resolved sequentially. The middleware in the example is now less permissive, so navigation should no longer hang. Please confirm.

I just tried, and confirm the initial case to reproduce seems to be working, but now this case is hanging:

landing page -> Pricing -> Performance -> Compensation -> Employee Management -> Pricing

Pricing won't load.