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

Navbar reloads every time a new page is opened #235

Open
NehaSan16 opened this issue May 7, 2024 · 2 comments
Open

Navbar reloads every time a new page is opened #235

NehaSan16 opened this issue May 7, 2024 · 2 comments
Assignees

Comments

@NehaSan16
Copy link

Screen.Recording.2024-05-07.at.10.42.14.PM.mov

@BreadGenie I know you're not focussed on Wiki right now, but this is a buggy issue. Why do we reload and scroll the navbar every time a page opens? It leads to a poor reading experience. Can we please look into this?

CC: @rmehta

@BreadGenie
Copy link
Member

Why do we reload and scroll the navbar every time a page opens? It leads to a poor reading experience. Can we please look into this?

I agree with it being poor UX. This happens because Wiki is a static site. So everytime you navigate to a different page it'll load all the HTML again and again. We are doing it for a good reason which is SEO. This particular issue could be solved by either a Vue SSR rewrite or by adding client side routing using a router library (but I reckon it could impact SEO (take it with a pinch of salt though)). Both needs a good chunk of time to implement.

I'll take a look at this again once I make some time.

@NehaSan16
Copy link
Author

Thanks for acknowledging. Let us implement the fix.

Most of the traffic we get on the docs is directly from google search... so it might not impact SEO.

Most other docs are significantly easy to navigate. eg. https://docs.stripe.com/payments

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

2 participants