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

Add configuration option to hide fingerings #250

Closed craigsapp closed 4 months ago

craigsapp commented 5 months ago

Add an option to the configuration panel that hides fingerings in a score.

This could be done with the filter shed -e s/fing/FING/X

Example:

https://polishscores.org/?id=pl-wtm--iii-41-637-1--001-001

Screenshot 2024-01-24 at 02 46 32

This can be done currently with the free-form filter option in the configuration panel:

Screenshot 2024-01-24 at 02 48 29
craigsapp commented 4 months ago

Implemented in commit https://github.com/craigsapp/website-polish-scores/commit/7e729ace95403be1df7ef6c42321abef0854e46b

Example:

Score with fingerings:

https://polishscores.org/?id=pl-kozmzk--mzk-m-31--001-002

Screenshot 2024-02-11 at 16 04 12

Hiding fingerings:

Screenshot 2024-02-11 at 16 05 25

The URL configuration code for "Hide finterings" is Hf.

https://polishscores.org?id=pl-kozmzk--mzk-m-31--001-002&con=Hf