Skip to content

Add custom query params to save state between page visitsΒ #2

@twocaretcat

Description

@twocaretcat

Create a more native experience for users by saving state between page reloads. We can do this by:

  • adding custom query parameters for script state like sort column, sort direction, and selected gender
  • pushing these values to the history stack when they change
  • loading these values from the page URL when the script first runs to restore state

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✨ featureTYPE: An enhancement or a new featureπŸ“„ starred segmentsPAGE: The page of the website that is affected🚦 needs triageSTATUS: A new issue that needs triage🚩 mediumPRIORITY: An issue that is somewhat urgent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions