A bug has been reported in the Discourse documentation category system where clicking “Back to Forum” creates a loop between a parent and sub-document category, preventing users from returning to the regular forum sidebar. Heliosurge first identified the issue, noting it also affects doc sidebar topic links. Moin suggests the problem stems from a recent change related to storing the last non-admin route URL, which doesn’t work correctly for doc categories. kris.kotlarek has merged a fix for the main issue, but Moin points out that the chat feature in full-screen mode also causes similar issues, which kris.kotlarek confirms will be addressed in a follow-up PR. sam has prioritized the issue for investigation, and Heliosurge thanks the team for the quick resolution.
When a Doc Category has Sub Category that is also setup as a Doc Category. When you click on “Back to Forum” it keeps you in the Doc category sidebar. It doesn’t move up to the parent doc category and will not return to regular sidebar.
While storing the last non-admin route URL works well for the admin sidebar, it doesn’t work for the doc sidebar. Both URLs Documentation and Documentation > Using Discourse aren’t admin URLs.
Definitely not good. Think it is just better instead to use the browser back button for the admin scenario
Though they could likely modify that to be specific to admin URLs.
This also affects doc sidebar topic links creates the bounce loop as well. Do this commit feature breaks doc categories completely in terms of the sidebar; back to forum
I am also a little confused when I opened the chat in full-screen mode while I was in the admin area and then switched to drawer mode. After that, the back button doesn’t take you anywhere either.