I am new to the styleguide (and discourse). The styleguide appears to have a number of bugs, such as once you go to the button styleguide you cannot leave unless you refresh the page. I had to delete my header for privacy reasons else I would have shown the refresh loading the appropriate page.
Other things:
once on the button styleguide page, search no longer works
examples are missing (like the btn-flat)
missing btns like .btn-quaternary, .btn-tertiary, and btn-secondary
This one is intentional behaviour across the whole of Discourse, so that our PWA matches the behaviour of normal websites. If you click a link to a different page, you will be scrolled to the top of the new page.
Do you have a particularly large header on your site? If so, I can see why it would be frustrating
My own styleguide works fine, though on first load, the styleguide here on meta did freeze up. After a refresh it all worked properly. Might be an issue with some heavy script timing out. Depending on the browser, I sometimes see random Discourse pages time out before loading completely.
(& I see david has addressed the missing button examples.)
My expectation for the sidebar has been for the page not to return to the top, similar to mdn:
Header isnāt crazy large by any means, I just found it bothersome when trying to learn the inās and outās of the styleguide and was clicking my way down the sidebar that I had to scroll back down to the correct sidebar location after every page load.
Interesting, when you navigate to your btn styleguide are you able to switch to a different styleguide page by clicking the sidebar WITHOUT refreshing the page? I am completely locked in on local dev and in production.