Skip to content

When user takes a photo, send push notification - "Is this a picture of A/B/C? Is it in administrative area D/E/F? (then link Wikidata/Commons)" #259

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

Closed
magnusmanske opened this issue Sep 5, 2016 · 29 comments · Fixed by #3323
Assignees

Comments

@magnusmanske
Copy link

How about when the user take an image to upload, the location is checked against Wikidata items without image nearby (say, 200m), and then presents a list of all these under the heading "Is this a picture of..."?
Likewise, items near the location can give you a "administrative area", or at least a very short list thereof; follow that Wikidata list to "higher" units, and present the lowest one with a Commons category, as a "location category".

@nicolas-raoul
Copy link
Member

Hello,
Great honour to receive feedback from you!
That's a great idea :-)

We happen to download a database of nearby points already in the app. But since 1) We are currently loading the whole nearby data but will switch to adhoc area-centered requests as soon as we can 2) Wikidata items missing requested pictures vastly outnumber wikipedia requested picture tags; we could also query Wikidata directly with something like this.

@nemobis
Copy link
Contributor

nemobis commented Sep 5, 2016

How about when the user take an image to upload, the location is checked against Wikidata items without image nearby (say, 200m)

I also proposed this at https://phabricator.wikimedia.org/T143884

@misaochan
Copy link
Member

Love the idea!

Is the Wikipedia app already interested in taking this on? (since I noticed that they were tagged in the Phab task).

@nicolas-raoul nicolas-raoul changed the title "Reverse nearby" Notify about nearby Wikidata items without an image Sep 7, 2016
@nicolas-raoul
Copy link
Member

nicolas-raoul commented Sep 7, 2016

See also: #79 Notify about nearby picture requests

@misaochan
Copy link
Member

Relevant suggestion by Mark Traceur on nemo's Phab task:

A word of caution...if you're pulling photos from a person's recent camera roll, you may be using pictures that were uploaded to other sites (e.g. Google Maps), which may then cause a false positive flag for copyright violation. I would suggest including a question like "have you shared this somewhere else?", which allows people to at least give Commons a heads-up that the picture is already online.

@nicolas-raoul
Copy link
Member

nicolas-raoul commented Dec 8, 2016 via email

@misaochan
Copy link
Member

That is true. Or perhaps just state in the notification that people should be aware that if the pic has been shared to other websites, it may be copyrighted?

@nicolas-raoul
Copy link
Member

nicolas-raoul commented Dec 9, 2016 via email

@misaochan
Copy link
Member

I would like to include this in the IEG renewal proposal if possible. Some points of discussion:

  1. Should this be displayed whenever the user takes a photo, or when they are in the radius of a place that needs photos, or both?

  2. What should the default opt setting be? If we make it opt-in it may too obscure to find, but if it is on by default, users might get annoyed and just uninstall instead of looking for the setting to turn it off (I might have done this with one or two other apps, haha...). My suggestion would be off by default, but when user checks the Nearby list for the first time, it could ask "Would you like to be notified when you are close to a location that needs pictures? Yes/ no and never ask again". Perhaps similarly for the first time they take a picture with our app running in the background?

@nicolas-raoul
Copy link
Member

nicolas-raoul commented May 30, 2017 via email

@misaochan
Copy link
Member

Sounds viable! I just thought of another possible option - on by default, but the notification has a "turn off notifications" button.

@nemobis
Copy link
Contributor

nemobis commented Jun 20, 2017

@misaochan
Copy link
Member

misaochan commented Jul 6, 2017

Been looking further into this. It seems that we actually want two different types of Nearby notifications, right?

  1. Push notification (opt-in only). This will pop up if the user takes a photo while they are near a Nearby location regardless of whether or not they are in the app.

  2. In-app notification - in top panel of the proposed new UI. This just takes the nearest Nearby location and displays it to the user on the main screen. Only visible if the user has the app open.

@misaochan
Copy link
Member

misaochan commented Jul 6, 2017

Also, for those who opt in for the push notification, do we want that to happen (1) only when the user takes a photo near a Nearby place, or (2) whenever they are very close to a Nearby location (even if they haven't taken a photo)? If we go with (2), the radius should probably be much smaller, perhaps 50m?

@nicolas-raoul nicolas-raoul changed the title Notify about nearby Wikidata items without an image Is this a picture of A/B/C? Is it in administrative area D/E/F? (then link Wikidata/Commons) Jul 7, 2017
@nemobis
Copy link
Contributor

nemobis commented Aug 10, 2017

Push notification (opt-in only).

Ideally the notifications would not be opt-in; Google doesn't ask permission to trick you into contributing your resources into their proprietary database, they just pester you asking to contribute to the map. But an opt-out notification is more useful in a widely used app (like Wikipedia https://phabricator.wikimedia.org/T143884 or OsmAnd http://osmand.net/blog?id=osmand-2-7-released ) so I can understand why you want to be careful.

@misaochan
Copy link
Member

@nemobis Sorry I missed your comment! Yeah, Google certainly doesn't ask, haha. But to be honest I've personally found Google's automatic notifications to be somewhat annoying, and I'm not sure we want to follow their "strategy" in this aspect...

@misaochan misaochan changed the title Is this a picture of A/B/C? Is it in administrative area D/E/F? (then link Wikidata/Commons) When user takes a photo, send push notification - "Is this a picture of A/B/C? Is it in administrative area D/E/F? (then link Wikidata/Commons)" Sep 4, 2017
@janpio
Copy link
Contributor

janpio commented Sep 6, 2017

I reread the initial issue: Are you all sure that a notification (no matter how implemented) was the intended functionality here? I more understood that this should be a suggested location (similar to suggested categories) to be connected to the picture on upload in the Commons app.

Showing a notification the moment a picture taken (with nearby locations the picture might match) would be a different feature (and one where I am actually not sure if this is really possible).

@misaochan
Copy link
Member

@janpio Good point. Perhaps @magnusmanske could clarify? :)

@misaochan
Copy link
Member

misaochan commented May 7, 2018

I think going with @janpio 's interpretation for the time being would be the best way to proceed. It's much easier to implement, non-intrusive, and we can get user feedback on how helpful the feature is before considering push notifications.

My suggestion is that when the user selects an image to upload, we run an async Wikidata query in ShareActivity that searches for a place that needs pictures in a certain radius (this radius should be much smaller than the Nearby query, perhaps 100m or so). When found, we pick the closest one and display in the UI "Is this a photo of Place X"? If user says Yes, prefill title and description fields for them, and associate their upload with that Wikidata item (as if they had done a direct upload from Nearby). Appropriate category suggestions and p18 edits will follow.

There needs to also be a way for them to change their mind (perhaps a button that says "Not Place X") before submitting the upload, in case they misclicked (so we don't make a wrong p18 edit).

What do you guys think?

@nicolas-raoul
Copy link
Member

@misaochan Sounds good, but do you mean the question should pop up "when the user selects an image to upload"? That sounds disruptive, as they already have an image in mind. How about when the user opens the app, maybe? :-)

@misaochan
Copy link
Member

misaochan commented May 7, 2018

Hmm, I meant that after the user selects the image that they want to upload, they would be brought to the Title/Desc screen as normal. The Nearby query would then run in the background for a radius of 100m, and if it finds anything, it would ask the user if this is an image of X.

The query should be relatively quick since the radius is so small, so it would likely pop up while the user is still thinking of their title/desc if my guess is correct.

@nicolas-raoul
Copy link
Member

nicolas-raoul commented May 7, 2018 via email

@nemobis
Copy link
Contributor

nemobis commented Jan 29, 2020 via email

@neslihanturan
Copy link
Collaborator

It works for all uploads (from gallery or camera), as soon as these conditions are satisfied: #3323 (comment)

@maskaravivek
Copy link
Member

Or does it happen as soon as one takes the picture?

It doesn't trigger when a user clicks a picture from outside the app.

Works based on the logic described by @misaochan

#259 (comment)

@nemobis
Copy link
Contributor

nemobis commented Jan 29, 2020 via email

@maskaravivek
Copy link
Member

Yup. Also, AFAIK the phab task is for the Wikipedia app.

Moreover, in the future we can have a similar feature in the Commons app too ie as per T143884.

@misaochan
Copy link
Member

This is only after the user actively opens the Commons app
and selects the image, right?

Yeah, we are starting with this for now. :) Might consider actual push notifications in the future, depending on user feedback.

@nemobis
Copy link
Contributor

nemobis commented Jan 29, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants