craigsapp/website-polish-scores

Store Modernization configuration in URL

Closed this issue · 1 comments

When viewing a modern score, add Mo to the config parameter in the URL:

https://polishscores.org/?id=pl-stab--5a--001-007&config=Fi{extract%20-k1}

Probably put at start of configuration string:

https://polishscores.org/?id=pl-stab--5a--001-007&config=MoFi{extract%20-k1}

Screenshot 2024-02-09 at 21 11 24

Commit 93589db implements issue.

Clicking on the "M" button will add Mo to the config parameter in the URL:

https://polishscores.org?id=pl-stab--5a--001-007&config=Mo

Screenshot 2024-02-09 at 21 30 09

Clicking on the "M" button to switch to original view, and Mo will be removed from the URL:

https://polishscores.org/?id=pl-stab--5a--001-007

Screenshot 2024-02-09 at 21 32 45