Date game: Highlight existing/selected dates in a different colour

Issue #194 new
96187 created an issue

At the moment, all possible dates in the Wikipedia extract are highlighted in yellow. I think it would be nicer if dates matching the existing/selected birth date were highlighted in one colour (e.g. light green) and dates matching the existing/selected death date were highlighted in another (e.g. light blue).

Then, if you load an item which already has a birth date set which matches the date in the article, it would highlight it in light green instead of yellow, and it would be clear from the extract alone that there is already a matching birth date in Wikidata. Likewise for the death dates.

Or, if you load an item which hasn't got a birth date, when you click on a date, it would cause the date you clicked to be highlighted. That would act as feedback for the user (I sometimes click twice by accident and set the birth and death date to the same thing because it wasn't that obvious that my first click had worked).

If this is implemented, I think it would make sense to use the same colours for the corresponding buttons too.

Comments (0)

  1. Log in to comment