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

After login, Displaying folders and images for user to select #52

Closed RishikaBhatia17 closed 4 years ago

RishikaBhatia17 commented 4 years ago

In the tool, after selecting the "choose photos from google drive" button, images are displayed in a random order and this pull request fixes this issue. Folders are first displayed after selecting "choose photos from google drive" button as shown below.

image

Then we can navigate through folders and view files and sub folders as shown below

image

To view only images after navigating to a folder, select file type as images from advanced search options as shown below

image

image

Then select the images to upload to Wikimedia commons. We can select multiple images randomly by selecting the images while pressing the CTRL button as shown below. This Fixes tonythomas01/gdrive-to-commons-repo#34

image

After this we can upload the images to Wikimedia commons.

Fixes tonythomas01/gdrive-to-commons-repo#33

tonythomas01 commented 4 years ago

I am sorry, but when I login with my Google account, I see a lot of folders (mostly inner folders deep down) and kind of am missing the real folders I see when I open Google Drive. Is it the same with you ?

RishikaBhatia17 commented 4 years ago

@tonythomas01 I have made changes such that folders are seen in the same the real folders are seen when google drive is opened. Now the Select file UI has become same like the UI of our google drive. I request you to review the changes and merge the pull requests. Thank You!

tonythomas01 commented 4 years ago

Works. Thank you!