craigsapp / website-polish-scores

Front-end for digital transcriptions of the Polish Music Heritage in Open Access project
https://polishscores.org
3 stars 1 forks source link

Store Modernization configuration in URL #265

Closed craigsapp closed 9 months ago

craigsapp commented 9 months ago

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
craigsapp commented 9 months ago

Commit https://github.com/craigsapp/website-polish-scores/commit/93589dbbc6c279407558b253cf06d5edfda2af83 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