-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow marking an item as prominent #14
Comments
I wonder if this should be implemented in the same question (with an extra button for prominent) Oer perhaps both? |
As a user of the tool, I would expect them to be the same task, since the kind of judgment applied to reach the decision is very similar (i.e., I am already at times having to decide whether an image "clearly" depicts an item, because sometimes it is arguably present but in a very obscure manner). |
Maybe options of
Might work? |
Oh, that makes sense, yeah, since we don't really add a "prominent=no" qualifier when the item is not prominent in the image. My only concern is whether it is not clear that "prominent" is a superset of "yes". Perhaps if they have the same color (e.g. different shades of green) it would be more evident. Or alternatively, my original suggestion of two green buttons labeled "Yes (prominent)" and "Yes (not prominent)" could also work. |
Yeah, perhaps this is best! |
Hmm, I'm not sure how I'd go about adding a qualifier to a statement using this codebase. I'd be happy to give it a go if you gave me some pointers. |
First question, have you managed to get a local copy of the codebase running? And don't get overwhelmed by how much test I wrote here, any questions, just ask! The code that currently adds the depicts statement is structured as a laravel job Specifically, here you can see (after a bunch of other logic) a statement gets created, with the depicts value, on the Inside the We would need to use With this service, you need to create a So in summary
In order to create new GUIDS (which is needed for this method) you may find it useful to include the WikibaseDataModelService php library https://github.com/wmde/WikibaseDataModelServices/blob/master/src/Statement/GuidGenerator.php via composer |
There could be a checkbox for "mark as prominent", or alternatively two green buttons: one for "Yes (prominent)" and one for "Yes (not prominent)". The second one could perhaps use a lighter shade of green.
The second approach would perhaps be more convenient to use because it would only require a single click per image.
The text was updated successfully, but these errors were encountered: