Page MenuHomePhabricator

Alter the look of SDC GUI to hide input fields for properties which are not beeing edited
Closed, ResolvedPublic

Description

This ticket is a result of discussion at https://commons.wikimedia.org/wiki/Commons_talk:Structured_data#Some_aspects_of_the_%22look%22_of_SDC_statements_make_no_sense_to_me

Most SDC statements we are adding to files, like author, cameras geo-coordinates, date, copyright status, OTRS number, etc. will have a single value. Some always, like cameras geo-coordinates, and some in most cases. That is why I do not like the "look" of the statements adopted by SDC GUI, with prominent search window inviting to add a second value and much less prominent actual value of that statement. The look used at Wikidata just makes much more sense to me: there is a property and its value and the search/input window only shows up when you are adding a second value (rare case) or correcting the value. The only statement where current GUI makes sense for if "depict" statement, and for those I am OK with leaving the input field.

As of today 7 out of 7 SDC users agreed with above statement.

Event Timeline

Jarekt created this task.Jul 2 2020, 3:08 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Jarekt added a comment.Jul 2 2020, 3:13 AM

By the way, I explained the issue with always on input field for geo-coordinate statements with single value constraint in T227116, before it was rolled out, but my comment did not altered that aspect of the design

TheDJ awarded a token.Jul 2 2020, 8:51 AM

Change 609190 had a related patch set uploaded (by Matthias Mullie; owner: Matthias Mullie):
[mediawiki/extensions/WikibaseMediaInfo@master] Don't always display input by default

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikibaseMediaInfo/ /609190

Ainali added a subscriber: Ainali.Jul 2 2020, 7:43 PM

Change 609190 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Don't always display input by default

https://gerrit.wikimedia.org/r/609190

Ramsey-WMF closed this task as Resolved.Jul 17 2020, 8:22 PM
Ramsey-WMF added a subscriber: Ramsey-WMF.

Works on production.