tonythomas01 / gdrive-to-commons

Tool to upload pictures from Google Drive to Wikimedia Commons ⚠️ Moved to Wikimedia Gerrit, so this repo is read only.
https://gdrive-to-commons.toolforge.org/
Apache License 2.0
9 stars 10 forks source link

Build a functional stats counter for uploads #17

Closed tonythomas01 closed 4 years ago

tonythomas01 commented 5 years ago

We are storing information about the number of files uploaded by the app. it would be a nice thingy to show a counter or something like that on the home page ?

  1. Track the counts at the backend in a table.
  2. Show them up on the homepage.
abbasidaniyal commented 4 years ago

I am working on it!

tonythomas01 commented 4 years ago

Great PR, but I think we should not just store the numbers. Sorry for not linking this before, but the task got modified https://phabricator.wikimedia.org/T241464 and as you can see, the idea is to store the whole upload information and later to get the stats, do a SUM of number_of_files on the number of objects in there.

abbasidaniyal commented 4 years ago

Alright. I'll start working on it! Should push an update soon

tonythomas01 commented 4 years ago

I see we have i now. Closing.