As an editor I want to make correct edits in order to not mess up the data in Wikidata.
Problem:
When changing the value without changing the reference I do not get a notice that I potentially made a mistake. We should give you a hint.
Screenshots/mockups:
BDD
GIVEN I edit a statement value (that has been there since loading the page)
AND it is enabled on my wiki by a global config switch
AND the statement already has one or more references
AND I didn’t alter any of the reference snacks of any of the references in any way
WHEN I click save
THEN I see a warning icon (like mid-level constraints) next to the reference heading
GIVEN The icon is visible
WHEN I click edit
THEN the icon disappears
GIVEN The icon is visible
WHEN I refresh
THEN the icon disappears
Acceptance criteria:
- Changing the value of a statement without changing any part of any reference triggers a warning.
- This should be behind a config switch
- The hover text (title) of the link element is “This statement has some potential issues”
UX Warn:
- although the task says "icon" and the mockups show indeed an Icon @Jan_Dittrich wants to make sure that everyone is aware that the mockups are not final yet and it could be other type of icon or other thing. 80 % chances say it will be an icon.