As an editor, i would like to be able to add musical notation statements.
{F69888435}{F70649391}
**EDIT**
- Once the property //musical notation// (apparently now renamed //Lilypond Notation//) is selected, the input field appears and becomes active - and we also show //rank,// //add qualifier// and //add reference //
- in this case, error check only happens when the user clicks publishafter publishing (UX debt for the future)
- when there is something in the input field, the publish button becomes blue - as in desktop
- if the user entered a correct lilypond notation, and clicks publish, the publish is successful
- If the notation is not correct, display the error state on the input field and show the list of errors in the [[ https://doc.wikimedia.org/codex/latest/components/demos/message.html#message | error message component ]] set to allow user dismiss, and with a max height of 250 to ensure the messageWhatever the user entered, that is a floating component, doesn't cover the input field : {F69996651}
- the lilypond error box overflow needs to be made scrollable - if this does not work we will need to truncate.ere is always a publish.
**DISPLAY **
**DISPLAY****if the user entered a correct lilypond notation **
- On the display side, we show the musical notation, as on desktop
- If there is horizontal overflow, do [[ https://doc.wikimedia.org/codex/latest/style-guide/content-overflow.html#truncation-with-fade | truncation with fade ]] as suggested by codex, to suggest to the user that he can horizontally scroll (not implemented on desktop)
**If the notation is not correct**
- the sentence "Unable to compile Lylipond input file" displays in Gray500 with a error icon after
- on tap on the error icon, a popover appears, the error icon shows, the popover title is "issues", useCloseButton is active, primary and secondary actions & useDefaultAction off.
- the error box of lilypond shows as content, scrollable if it exceeds 330 height.