Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save the state in the address #390

Open
AlexRMU opened this issue Jan 14, 2024 · 1 comment
Open

Save the state in the address #390

AlexRMU opened this issue Jan 14, 2024 · 1 comment
Labels
enhancement New feature or request webapp

Comments

@AlexRMU
Copy link

AlexRMU commented Jan 14, 2024

Add the ability for the site to save the state in the address bar so that it can be shared.

How is it here: https://perf.link/

  • automatically create and update a link with each change
    or
    • the link is created, displayed and copied only when the button is clicked
    • when clicking through, the link is removed from the address
    • so, this link should almost not be shown in the address
  • the link contains the content of both sides, the settings and the version of the link scheme
  • there are different maximum link lengths in different browsers, you can consider the limit to be 2000 characters, and after it show a warning or do not create
  • maximum length: this is different in different browsers, but it is generally assumed that the maximum safe length of an address is 2000 characters, and the maximum hash length (perhaps including the address) is also 2000 (#1, #2, #3)
  • use compression
  • use only ascii or the whole utf
@josdejong
Copy link
Owner

Thanks for your suggestion, I like that idea.

The size should indeed be limited because URL's can have a limited length.

@josdejong josdejong added enhancement New feature or request webapp labels Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request webapp
Projects
None yet
Development

No branches or pull requests

2 participants