Skip to content

History on page needs to be fixed. #7

@NotChristianGarcia

Description

@NotChristianGarcia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions