HomePhabricator

Prevent empty sense glosses in front-end

Authored by Lucas_Werkmeister_WMDE on Aug 6 2018, 3:40 PM.

Description

Prevent empty sense glosses in front-end

Do not allow the user to remove the last gloss, by disabling the
“remove” button if there is only one gloss. Styles are slightly updated
so that only enabled buttons look and feel active.

The color for the disabled button is Base30 from the Wikimedia Style
Guide, described as appropriate for “disabled elements text”.

Bug: T198035
Change-Id: I1dd2dd1a482eb564810a35d66fae7d918278383e