Page MenuHomePhabricator

Allow statement guid to be empty (optional) and show it as "None" in the UI
Closed, ResolvedPublic

Description

If the mismatch has no data for the wikidata value, then it should show as "None" in the UI

  • Double check with with UX (@Sarai-WMDE) on whether we want the "None" to be in italics or some shade of gray or something, to differentiate it from the plain string "None"

Event Timeline

As indicated by @Sarai-WMDE

I originally didn't think that using a different style was necessary, but it might support recognition: we should use the color #72777d (font-color-disabled). I'd hope this would bring enough differentiation (so my assumption is that italics are not needed)

Plan of action:

  • in ValidateCSV, make the statement_guid not required and validate that if statetament_guid is not present then wikidata_value should also be empty.
  • display none when there is no statement_guid and wikidata_value