-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Update: This is in the IEG renewal and work will begin on it shortly. I have edited the opening post to add the scope and use case. Also making a list of steps as this is a pretty long and involved task.
Use case:
The current process of contributing images for nearby places that need pictures is rather cumbersome. The user would have to go to the list or map of nearby places, and after finding a location that they want to photograph based on that, they would need to go back to the main screen of the app and submit their image via the standard upload process. None of the wealth of information available in the Wikidata item for that location is utilized in the upload process.
Scope:
We intend to implement direct uploads, where the process would be:
- When the user selects an item on the nearby list or map, there would be an option for them to upload a picture for that item. They can choose camera or gallery as usual.
- After a picture has been taken (camera) or selected (gallery), they would be taken to the title & description screen as usual. This screen would have an option for "use suggested title and description" which would fill in the fields with the title and description of the Wikidata item (the user will still be able to edit them).
- In the Categories screen, category suggestions would be offered based on the categories associated with the Wikidata item (in addition to other category suggestions).
- After a successfully uploaded picture, the app would add the image to the Wikidata item by editing the P18 property. This action will be logged for collecting metrics, as well as to confirm that we are doing it correctly.
Steps:
- Before starting, need to fix Nearby item descriptions not working in v2.5.0 (beta) #823 (If not already fixed)
- Overhaul the item view UI in Nearby map and list Develop new UI for Nearby item view pane, to include Upload option #922 . We need to think about where the "upload image for this item" button will be, and in the process figure out if the existing one needs to be overhauled.
- Implement upload button, making sure to check for necessary permissions and to allow the user to select Camera or Gallery
- Prefill image title in ShareActivity with the Wikidata item's title and desc
- Add category suggestions based on the categories associated with the Wikidata item
- Edit P18 property in Wikidata to add the uploaded image
- Log P18 edits Log P18 edits after direct Nearby uploads implemented #923 (need to talk about how and where to log)