Wikimedia
Allow an option to remove pictures after selection before uploading (in Gdrive to Commons tool)
Task
- Once a user select the pictures from their google drive to upload, we do not give them an option to remove it. We use the tabulator (http://tabulator.info/examples/4.5) to populate the table shown below. How about allowing an option to delete a row after adding ? (see the image on Phabricator)
Setup Guide for GCI students
You have to setup the python-django tool Gdrive to Commons
locally to start with contributing. You can read how to setup the tool on your machine here.
We host our code on Github, so the change should come in as a pull request to https://github.com/tonythomas01/gdrive_to_commons. Steps to contribute are similar to Pull request workflow. Or, you can rely on the following:
- Create a local fork of https://github.com/tonythomas01/gdrive_to_commons using your account.
- Create a branch with the phabricator task name from
origin/master
. For eg,git checkout -b T241446 origin/master
. Make sure to update your local branch bygit pull --rebase
or whatever necessary before creating a branch. - Fix the issue you are solving.
- Commit it (
git commit -m "What you fixed goes here"
), see https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines - Push it to your Github fork of the repo (
git push -u origin HEAD
) - Later, create a pull request to https://github.com/tonythomas01/gdrive_to_commons from Github with your changes.
- Would be pretty cool if you also paste your pull request link on the Phabricator task, so people know that things are moving.
Task tags
Students who completed this task
dwu1011