-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Currently each page is a Redoc object. We have a top bar to move between pages.
Each redoc objects manages history by itself. I've attempted to add to the history stack so that a user can seamlessly move between pages and preserve all side bar actions. For example I should be able to move from Pod>create_pod and to tokens>create_token. After that I should be able to press the back button and move to the previous page, and then press the forward button and move back. Currently a few history items stay in stack, but at some point it gets rearranged and for some reason rather than moving to specific endpoints, history instead moves to the home page for a service or moves between endpoints without refreshing the page properly.
Previously and currently history has been wonky. It would be great to fix it. Currently in live-docs.js there's a lot of commented code with some history methods, but whoever tackles this is free to implement whatever solution works for them.
I've not yet been able to figure out how to hook into the history stack that redoc is using. It would be great to view that stack and manage it rather than have multiple history stacks at once.