Wikimedia

Allow an option to remove pictures after selection before uploading (in Gdrive to Commons tool)

Task

  1. 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:

  1. Create a local fork of https://github.com/tonythomas01/gdrive_to_commons using your account.
  2. 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 by git pull --rebase or whatever necessary before creating a branch.
  3. Fix the issue you are solving.
  4. Commit it (git commit -m "What you fixed goes here"), see https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines
  5. Push it to your Github fork of the repo (git push -u origin HEAD)
  6. Later, create a pull request to https://github.com/tonythomas01/gdrive_to_commons from Github with your changes.
  7. 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

  • python
  • javascript
  • html

Students who completed this task

dwu1011

Task type

  • code Code
close

2019