# **Improvement on the custom picture selector - Make it easier for contributors to choose pictures for upload on the Commons Android app**
**Project Repository:** [https://github.com/commons-app/apps-android-commons](https://github.com/commons-app/apps-android-commons)
**GSoC Idea Link:** [https://github.com/commons-app/apps-android-commons/issues/4764](https://github.com/commons-app/apps-android-commons/issues/4764)
### **Profile:**
**Name:** Ayan Sarkar
**Email:** [ayansarkar1810@gmail.com](mailto:ayansarkar1810@gmail.com)
**Linkedin Profile:** [ayan-sarkar-44728a1a7](https://www.linkedin.com/in/ayan-sarkar-44728a1a7/)
**GitHub Profile:** [Ayan-10](https://github.com/Ayan-10)
**Other Communication Method:** Google Hangouts, Zulip
**Blogs on GeeksforGeeks:** [Articles](https://auth.geeksforgeeks.org/user/ayansarkar1810/articles)
**Location during GSoC:** West Bengal, India (UTC +5:30)
**Education:** B.TECH In Information Technology at Haldia Institute of Technology
**Typical working hours (include your timezone) during GSoC:** Between IST 5 pm to IST 2 am (UTC +5:30)
== Relevant Skills ==
- Experience in Android Development in Kotlin / Java
- GitHub Workflow and Git Version Control
- Retrofit and OkHttp
- Android UI design
- Experience in working with MVVM, MVP, MVC architecture
- Experience in working with Android Architecture Components
- Basic Understanding of RxJava, Dagger2
- Unit testing in Android (Robolectric and Mockito)
- Understanding of REST APIs
- Basic knowledge of Wikimedia APIs
## **Synopsis**
The [Wikimedia Commons Android app](https://github.com/commons-app/apps-android-commons) allows users to upload pictures from their Android phone/tablet to [Wikimedia Commons](https://commons.wikimedia.org/wiki/Main_Page). Commons is not only the image repository for Wikipedia but an independent project that seeks to document the world with photos, videos, and recordings.
GitHub link of the idea: [https://github.com/commons-app/apps-android-commons/issues/4764](https://github.com/commons-app/apps-android-commons/issues/4764)
Commons Android App Repo: [https://github.com/commons-app/apps-android-commons/](https://github.com/commons-app/apps-android-commons/)
The goal of this GSoC project is to make it easier for contributors to choose pictures for upload. The feature will include UI to mark some pictures as "not for upload" (for instance family pictures), hide/unhide marked pictures, minor changes to the selection indicator, gestures, and indicator when previewing a picture full-screen, efficient and fast scrolling.
### **Possible Mentor(s)**
**Mentor:** @Nicolas_Raoul (Nicolas Raoul)
**Mentor:** @AdityaSrivastav2009 (Aditya Srivastav)
## **Deliverables**
==== To be implemented ====
* **Mark images as not for upload**
Lots of images can be present on a device that is not for uploading in the Commons app like family pictures, personal images, images with copyrights. Users will try to avoid those images while uploading some images to Commons app. It will be beneficial to user if user can manually mark those as not for upload. For that purpose, two buttons will be implemented at the bottom of the custom image picker.
# **Upload button:** to start the Upload Wizard with the selected pictures (replacing the already implemented 鉁旓笍 button currently available at the top-right).
# **Mark as not for upload button:** After selecting some images user can tap this button to mark these pictures as not for upload. Not for upload images will show with a 馃毇 overlay icon and greyed out. This state will be remembered even after restarting the app. Tapping "Mark as not for upload" when all selected pictures are already marked as "Mark as not for upload" has the opposite effect, which means those images will be shown as normal images.
* **Option for hide/unhide pictures**
Users may not want to see those images which are marked as "Not for upload" or have been uploaded already while uploading images to Commons. A switch will be implemented to hide/unhide pictures that are either marked as "Not for upload" or have been uploaded already. Hiding them allows the contributor to more easily spot pictures they might want to upload. After turning on/off the switch the images will adjust their position, and the transition will be in-place.
* **Marked images numbering** Currently, when selecting 3 pictures, they are numbered "1", "2", "3". Instead, please make all numbers always show the number of selected pictures, for instance, if 3 pictures are selected, they will all have the number "3", and be uploaded in the same order as their thumbnails are shown. Limit on number of images uploaded at once Issue: [[ https://github.com/commons-app/apps-android-commons/issues/3101 | 3101 ]]
* **Add a bubble scroll bar** Bubble scrollbar will be added so that users can easily locate the picture they are scrolling for. The bubble will show the date on which the pictures were taken.
* **Enhanced full-screen mode** For a good user experience full-screen mode will be enhanced such that the user can do all operations while staying in the full-screen mode. It will make the app more convenient for the user. A small overlay will be shown indicating whether the picture is selected or not, showing the number of selected pictures.
- **Gestures**:
- Left/right swipe to go from one picture to another.
- Swipe up to select the picture (the equivalent of tapping it in non-fullscreen mode) and show the next picture (the picture that follows in the folder view, skipping pictures that have either already been uploaded or ignored).
- Swipe down to immediately mark that picture as "Not for upload" (the equivalent of selecting it then tapping "Mark as not for upload" in non-fullscreen mode), and show the next picture.
==== How can it be implemented? ====
* **Mark images as not for upload**
Room Database will be used for handling database operations. A new entity class ex. `NotForUploadStatus` will be created for storing "not for upload" marked images which will create a table in the database to store all information about "not for upload" marked images. A new `Dao` ex. `NotForUploadDao` will be created to handle database operations.
Two buttons will be implemented one is for marking images as `not for upload` another one is for uploading those images. After selecting some images if user clicks the `Mark as not for upload` button, `CustomSelectorViewModel` will be updated with the new selected images and the database table will be updated with selected images. While showing images on the `ImageFragment` by observing from `viewmodel` each image will be checked with the database if it's present in the not for upload database or not. If the image is present in the database the image will be shown with a 馃毇 overlay icon and greyed out.
**//Adding a flowchart to describe the tentative workflow//**.{F35034556}
* **Option for hide/unhide pictures**
A switch will be implemented to hide/unhide "not for upload" and "already uploaded" images. If user turns on the switch to hide all "not for upload" and "already uploaded" images, those images will be removed from the `ImageAdapter` and only uploadable images will be shown and removed images will be stored in a list with their previous indices. If user turns the switch off those removed images will be added with the adapter in their actual positions. Thus these hide/unhide images transformation will be in-place.
**//Adding a flowchart to describe the tentative workflow//**{F35034693}
* **Marked images numbering**
Unlike the current state of the app where selected images are numbered as their marking index, the images will be numbered as the total number of images selected. Every time a new image will be marked, all previous marked images numbering will be changed with the total number of images selected. So all times will be updated every time after marking/unmarking an image. Adding a limitation on the number of images uploaded at once.
* **Add a bubble scroll bar**
A date object will be added in the `Image` class as a field that will depict when the image was taken. The bubble will show that date in it. The scroll will happen on the basis of dates. I will use some open-source libraries to implement bubble scroll such as
- https://github.com/FutureMind/recycler-fast-scroll
- https://github.com/timusus/RecyclerView-FastScroll
* **Enhanced full-screen mode** To handle the swipe gestures(left, right, up, down) a gesture listener class will be implemented which will extend `SimpleOnGestureListener`, and inside the `onFling()` method all swipe gestures will be detected. To act on those detections a new event listener class will be implemented which will implement `OnTouchListener` inside that method `onSwipeLeft()`, `onSwipeRight()`, `onSwipeUp()`, and `onSwipeDown()` will be added which will act on those detections, also the event listener class will be initialized with the gesture detector class. At last the `ZoomableDraweeView` will be edited such that `onSwipeLeft()`, `onSwipeRight()`, `onSwipeUp()`, and `onSwipeDown()` will be overridden in the `ZoomableActivity` like this
```
photo.setOnTouchListener{
fun onSwipeTop() {}
fun onSwipeRight() {}
fun onSwipeLeft() {}
fun onSwipeBottom() {}
}
```
On `onSwipeLeft()` and `onSwipeRight()` it will fetch the next and previous images respectively from `ImageFragment` and `onSwipeUp()` the image will be listed in selected images. After returning to `ImageFragment` the UI will be changed with full-screen mode edits. Also to indicate the full-screen image is selected the number of marked images will be shown in the top left corner. `onSwipeDown()` the single image will be inserted in the database as a "not for upload' image. After returning to `ImageFragment` the UI will be changed with full-screen mode edits
##Mockups
**Mockup 1 - UI with two buttons and some not for upload images**
{F35034606}
**Mockup 2(A) - UI for Switch is turned off, already uploaded, and not for upload images are visible**
{F35034937}
**Mockup 2(B) - UI for Switch is turned on, already uploaded, and not for upload images are removed. Only uploadable images are visible, also new UI for numbering of marked images**
{F35034935}
**Mockup 3 - UI for bubble scrollbar with date**
{F35034942}
**Mockup 4 - small overlay on the top left corner of full-screen mode to show the image is selected, it will be removed if the image is not selected**
{F35035201}
## **Timeline**
|||||
|--- |--- |--- |--- |
|**Timeframe**|**Start Date**|**End Date**|**Task**|
|**Community Bonding Period**|**May 20, 2022**|**June 12, 2022**|**Getting involved with organization and mentors, Getting a depth knowledge of Wikimedia APIs, and Brushing up on testing skills. Getting more Familiarized with the project structure, Read Documentation, and Code of Conduct once again.**|
|**Week 1**|**June 13, 2022**|**June 19, 2022**|**Set up database**|
|(SubTask)|13-June-2022|16-June-2022|Disscuss and create Entity and Dao classes|
|(SubTask)|17-June-2022|19-June-2022|Write tests of the classes|
|**Week 2**|**June 20, 2022**|**June 29, 2022**|**Mark as not for upload UI**|
|(SubTask)|20-June-2022|24-June-2022|Discuss and create UI for mark as not for upload|
|(SubTask)|25-June-2022|29-June-2022|Phase 1 Evaluation|
|**Week 3**|**June 30, 2022**|**July 6, 2022**|**Finish mark as not for upload**|
|(SubTask)|30-June-2022|3-July-2022|Connect mark as not for upload UI with database|
|(SubTask)|4-July-2022|6-July-2022|Write tests for total implementation and Bug fix|
|**Week 4**|**July 7, 2022**|**July 13, 2022**|**Adding option for hide/unhide pictures**|
|(SubTask)|7-July-2022|10-July-2022|Implement option for hide/unhide pictures|
|(SubTask)|11-July-2022|13-July-2022|Write unit tests for this feature and Bug fix|
|**Week 5**|**July 14, 2022**|**July 20, 2022**|**Marked images numbering**|
|(SubTask)|14-July-2022|17-July-2022|Changing the whole structure of selecting images|
|(SubTask)|18-July-2022|20-July-2022|Changing the numbering for selected images|
|**Week 6**|**July 21, 2022**|**July 27, 2022**|**Rest of the work on numbering and Discussion of scroll bar**|
|(SubTask)|21-July-2022|22-July-2022|Limit on number of images uploaded at once|
|(SubTask)|23-July-2022|25-July-2022|Write tests for marked images numbering|
|(SubTask)|26-July-2022|27-July-2022|Disscussion of implementation of bubble srollbar|
|**Week 7**|**July 28, 2022**|**August 3, 2022**|**Implementation of Bubble scrollbar**|
|(SubTask)|28-July-2022|1-August-2022|Implemention of bubble scrollbar|
|(SubTask)|2-August-2022|3-August-2022|Write tests for bubble scrollbar|
|**Week 8**|**August 4, 2022**|**August 11, 2022**|**Detection of gestures on screen**|
|(SubTask)|4-August-2022|11-August-2022|Implementation of classes to detect swipe gestures|
|**Week 9**|**August 12, 2022**|**August 19, 2022**|**Implementation of events for each gesture**|
|(SubTask)|12-August-2022|15-August-2022|Implementation of swipe gestures|
|(SubTask)|16-August-2022|19-August-2022|Connect gesture event with UI|
|**Week 10**|**August 20, 2022**|**August 27, 2022**|**Finish full-screen mode**|
|(SubTask)|20-August-2022|21-August-2022|Addition of small overly icon|
|(SubTask)|22-August-2022|27-August-2022|Write tests for full-screen mode and bug fix|
|**Week 11**|**August 28, 2022**|**September 4, 2022**|**Finish all over tasks and bug fixes**|
|(SubTask)|28-August-2022|31-August-2022|Overall left tests|
|(SubTask)|1-September-2022|4-September-2022|Remaining Bug fix and suggestions|
|**Week 12 Final**|**September 5, 2022**|**August 12, 2022**|**Final Evaluation**|
## **Contributions For Commons App**
### **Bug fixs:**
[[ https://github.com/commons-app/apps-android-commons/pulls?q=is%3Apr+author%3AAyan-10+ | Here ]] you can see all PRs that I made.
* **Total: 37**
* **Merged: 36**
* **Open: 1**
|||||
|--- |--- |--- |--- |
|**PR Number**|**About Bug Fix**|**Issue Number**|**Status**|
|[4418](https://github.com/commons-app/apps-android-commons/pull/4418)|Added a feature for editing coordinates (Implemented location picker).|[8](https://github.com/commons-app/apps-android-commons/issues/8)|Merged|
|[4475](https://github.com/commons-app/apps-android-commons/pull/4475)|Added option to show and modify location while uploading.|[8(comment)](https://github.com/commons-app/apps-android-commons/issues/8#issuecomment-844147304)|Merged|
|[4771](https://github.com/commons-app/apps-android-commons/pull/4771)|Nearby tab accessible without GPS.|[3732(comment)](https://github.com/commons-app/apps-android-commons/issues/3732#issuecomment-1019542635)|Merged|
|[4725](https://github.com/commons-app/apps-android-commons/pull/4725)|Option for editing depictions.|[4616](https://github.com/commons-app/apps-android-commons/issues/4616)|Merged|
|[4605](https://github.com/commons-app/apps-android-commons/pull/4605)|Displaying Category image and Description.|[3604](https://github.com/commons-app/apps-android-commons/issues/3604) and [4527](https://github.com/commons-app/apps-android-commons/issues/4527)|Merged|
|[4515](https://github.com/commons-app/apps-android-commons/pull/4515)|Added option for bookmarking Wikidata items.|[3700](https://github.com/commons-app/apps-android-commons/issues/3700)|Merged|
|[4672](https://github.com/commons-app/apps-android-commons/pull/4672)|Option for editing caption and description.|[4615](https://github.com/commons-app/apps-android-commons/issues/4928)|Merged|
|[4928](https://github.com/commons-app/apps-android-commons/pull/4928)|Editing categories of an existing picture: Reuse categories selection UI from the Upload Wizard|[4620](https://github.com/commons-app/apps-android-commons/issues/4620)|Merged|
|[4605](https://github.com/commons-app/apps-android-commons/pull/4605)| Update Nearby list according to chip state.|[4511](https://github.com/commons-app/apps-android-commons/issues/4511)|Merged|
|[4366](https://github.com/commons-app/apps-android-commons/pull/4366)| Made locale non-dependent on phone OS settings, but choosable on app settings.|[1821](https://github.com/commons-app/apps-android-commons/issues/1821)|Merged|
|[4406](https://github.com/commons-app/apps-android-commons/pull/4406)| Added an option to Remove a new language description while uploading.|[2810](https://github.com/commons-app/apps-android-commons/issues/2810)|Merged|
|[4755](https://github.com/commons-app/apps-android-commons/pull/4755)|Option for adding location for those pictures which have no location.|[1848](https://github.com/commons-app/apps-android-commons/issues/1848)|Merged|
|[4746](https://github.com/commons-app/apps-android-commons/pull/4746)|Add bookmarked items to suggested depictions .|[4745](https://github.com/commons-app/apps-android-commons/issues/4745)|Open|
|[4489](https://github.com/commons-app/apps-android-commons/pull/4489)|Added option for sharing achievements and a back button in ProfileActivity.|[4312](https://github.com/commons-app/apps-android-commons/issues/4312)|Merged|
|[4880](https://github.com/commons-app/apps-android-commons/pull/4880)| Show recently used languages in language selection.|[4544](https://github.com/commons-app/apps-android-commons/issues/4544)|Merged|
|[4799](https://github.com/commons-app/apps-android-commons/pull/4799)|When Wikidata has no description showing instance_of's label as a description.|[4539](https://github.com/commons-app/apps-android-commons/issues/4539)|Merged|
|[4803](https://github.com/commons-app/apps-android-commons/pull/4803)|Description and thumbnail is showing for the categories that are associated with Wikidata.|[4762](https://github.com/commons-app/apps-android-commons/issues/4762)|Merged|
|[4929](https://github.com/commons-app/apps-android-commons/pull/4929)|Fixed crash when trying to edit description (in Media details)|[4922](https://github.com/commons-app/apps-android-commons/issues/4922)|Merged|
|[4754](https://github.com/commons-app/apps-android-commons/pull/4754)|If users already selected their preference about a nearby place while uploading, don't ask again.|[4497](https://github.com/commons-app/apps-android-commons/issues/4497)|Merged|
|[4735](https://github.com/commons-app/apps-android-commons/pull/4735)|Suggest User to turn on camera location.|[4728](https://github.com/commons-app/apps-android-commons/issues/4728)|Merged|
|[4727](https://github.com/commons-app/apps-android-commons/pull/4727)|After uploading by sharing an image from gallery the app should returns to contributions tab.|[4718](https://github.com/commons-app/apps-android-commons/issues/4718)|Merged|
|[4719](https://github.com/commons-app/apps-android-commons/pull/4719)|"Starting uploads" notification is cleaned up when "Finishing uploads" notification pops up.|[4631](https://github.com/commons-app/apps-android-commons/issues/4631)|Merged|
|[4551](https://github.com/commons-app/apps-android-commons/pull/4551)|Wikidata Items media tab is showing media in beta version.|[4532](https://github.com/commons-app/apps-android-commons/issues/4532) and [3135](https://github.com/commons-app/apps-android-commons/issues/3135)|Merged|
|[4481](https://github.com/commons-app/apps-android-commons/pull/4481)|Made media details caption & description copyable.|[4480](https://github.com/commons-app/apps-android-commons/issues/4480)|Merged|
|[4479](https://github.com/commons-app/apps-android-commons/pull/4479)|Tutorial removed from log out state.|[4477](https://github.com/commons-app/apps-android-commons/issues/4477)|Merged|
|[4356](https://github.com/commons-app/apps-android-commons/pull/4356)|READ_EXTERNAL_STORAGE permission is not necessary while picking file from gallery.|[3744](https://github.com/commons-app/apps-android-commons/issues/3744)|Merged|
|[4933](https://github.com/commons-app/apps-android-commons/pull/4933)|READ_EXTERNAL_STORAGE permission is not necessary while picking file from gallery.|[4913](https://github.com/commons-app/apps-android-commons/issues/4913)|Open|
|[4412](https://github.com/commons-app/apps-android-commons/pull/4412)|New review layout UI for landscape view.|[4343](https://github.com/commons-app/apps-android-commons/issues/4343)|Merged|
|[4705](https://github.com/commons-app/apps-android-commons/pull/4705)|Next button is not clickable while background task is going on.|[4703](https://github.com/commons-app/apps-android-commons/issues/4703)|Merged|
|[4763](https://github.com/commons-app/apps-android-commons/pull/4763)|Clicking the back button in Contribution Tab after uploading an image, exit the app.|[4760](https://github.com/commons-app/apps-android-commons/issues/4760)|Merged|
|[4830](https://github.com/commons-app/apps-android-commons/pull/4830)|Unit Tests for LocationPickerActivity.|Unit Test|Merged|
|[4846](https://github.com/commons-app/apps-android-commons/pull/4846)|Unit Tests for LocationPickerViewModel.|Unit Test|Merged|
|[4416](https://github.com/commons-app/apps-android-commons/pull/4416)|TextView blank issue fixed.|[4415](https://github.com/commons-app/apps-android-commons/issues/4415)|Merged|
|[4382](https://github.com/commons-app/apps-android-commons/pull/4382)|Removed next button in quiz.|[4309 (comment)](https://github.com/commons-app/apps-android-commons/issues/4309#issuecomment-810241656)|Merged|
|[4315](https://github.com/commons-app/apps-android-commons/pull/4315)|In Achievements for each of the help popups, it would be great to have a link that a wiki page that explains things much more deeply. So I added a link to each info button that shows an alert dialogue and there I add a READ ME button from where the user can open the following custom webpage.|[3433](https://github.com/commons-app/apps-android-commons/issues/3433)|Merged|
|[4333](https://github.com/commons-app/apps-android-commons/pull/4333)|Fixed this issue with androidx.appcompat.widget.SearchView and rxBinding3 to show the searchview in lower API devices.|[4327](https://github.com/commons-app/apps-android-commons/issues/4327)|Merged|
|[4341](https://github.com/commons-app/apps-android-commons/pull/4341)|Toggling the info on the fields in the achievement tab is difficult because the icons are so small. So I make the whole label clickable. Now users can anywhere in the label to see the dialog. I don't remove the icon because It will help the user to understand that the label is clickable..|[4318](https://github.com/commons-app/apps-android-commons/issues/4318)|Merged|
|[4323](https://github.com/commons-app/apps-android-commons/pull/4323)|The help icon was getting invisible for small screen devices. After fixing, now the icon is visible for every device cause it's adjusting its lines instead of overlapping.|[3434](https://github.com/commons-app/apps-android-commons/issues/3434)|Merged|
### **Code Reviews:**
||||
|--- |--- |--- |
|**PR Number**|**About Review**|**Issue Number**|
|[4518](https://github.com/commons-app/apps-android-commons/pull/4518)|Recognised a bug in the PR which is not resolving the actual issue. |[4513](https://github.com/commons-app/apps-android-commons/issues/4513)|
|[4306](https://github.com/commons-app/apps-android-commons/pull/4306)|Added before and after merge differences, found some minor code style mistake and java modifier issues |[4299](https://github.com/commons-app/apps-android-commons/issues/4299)|
### **Issues:**
[[ https://github.com/commons-app/apps-android-commons/issues?q=is%3Aissue+author%3AAyan-10 | Here ]] you can see all issues that I created.
||||
|--- |--- |--- |--- |
|**Issue Number**|**About Issue**|**Status**|
|[4759](https://github.com/commons-app/apps-android-commons/pull/4759)|SSLHandshakeException while logging in on devices with API level 19.|Open|
|[4716](https://github.com/commons-app/apps-android-commons/pull/4716)|Tapping notification (Tap to view your upload) is not working at all.|Open|
|[4507](https://github.com/commons-app/apps-android-commons/pull/4507 )|App crashed while deleting recent searches.|Open|
|[4607](https://github.com/commons-app/apps-android-commons/pull/4607 )|Copied description, caption, and language structure is removed after canceling upload of one media |Open|
|[4749](https://github.com/commons-app/apps-android-commons/pull/4749 )|Crash while clicking on the hamburger icon on the bottom sheet|Closed|
|[4415](https://github.com/commons-app/apps-android-commons/pull/4415 )|Statistics TextViews are not showing in Achievements Fragment|Closed|
|[4402](https://github.com/commons-app/apps-android-commons/pull/4402 )|Pause/Resume Button is not available in lower API devices|Open|
|[4532](https://github.com/commons-app/apps-android-commons/pull/4532 )|No images are showing in Items media tab|Closed|
|[4400](https://github.com/commons-app/apps-android-commons/pull/4400 )|{{Creator: Andy Mabbet}} in place of actual author name|Open|
|[4499](https://github.com/commons-app/apps-android-commons/pull/4499 )|Unit tests are breaking because of recent changes in some Activities|Closed|
|[4733](https://github.com/commons-app/apps-android-commons/pull/4733)|Categories should be fetched every time they are updated|Open|
|[4718](https://github.com/commons-app/apps-android-commons/pull/4718)|After uploading by sharing an image from the gallery the app again returns to Upload Activity|Closed|
|[4760](https://github.com/commons-app/apps-android-commons/pull/4760)|Clicking the back button in Contribution Tab after uploading an image, return again to Contribution Tab|Closed|
|[4611](https://github.com/commons-app/apps-android-commons/pull/4611 )|Make custom image selector available from Nearby|Open|
|[4589](https://github.com/commons-app/apps-android-commons/pull/4589)|Empty screen while no images found in custom picture selector|Closed|
|[4590](https://github.com/commons-app/apps-android-commons/pull/4590)|FAB of custom selector is still open after uploading|Closed|
|[4320](https://github.com/commons-app/apps-android-commons/pull/4320)|If GPS is not turned on and user click YES in the Turn on location dialog. It should turn on GPS directly instead of going to Settings like Google Maps.|Open|
|[4312](https://github.com/commons-app/apps-android-commons/pull/4312)|ProfileActivity should have a back button and the title bar should have some content|Closed|
|[4327](https://github.com/commons-app/apps-android-commons/pull/4327)|On Nearby Fragment Place type SearchView is not visible properly in lower API devices|Closed|
|[4335](https://github.com/commons-app/apps-android-commons/pull/4335)|If the location is not available and user clicks to Exists and Needs Photo chip, it does not respond. In that state, if user clicks those chips it should show a Toast saying " Location not available ".|Open|
|[4343](https://github.com/commons-app/apps-android-commons/pull/4343)|Elements of ReviewActivity is not visible to users in the landscape. We should make a landscape layout for it.|Closed|
|[4762](https://github.com/commons-app/apps-android-commons/pull/4762)|Only name of the category is showing for the categories which are linked with depicts|Closed|
### **Helping Fellow Contributors**
|||
|--- |--- |--- |
|**Issue Number**|**Issue**|
|[4824](https://github.com/commons-app/apps-android-commons/pull/4824)|Need help in writing unit test|
|[4794](https://github.com/commons-app/apps-android-commons/pull/4794)|"No location found" popup location editor: Also remember zoom level|
|[4808](https://github.com/commons-app/apps-android-commons/pull/4808)|Open the last opened screen of bottom navbar when launching the app|
## **About Me**
I am a second-year Information Technology undergraduate student at **Haldia Institute of Technology.**
I am passionate about Android development and I have been doing it for almost more than 2 years. I am an enthusiast of open source and love to learn and share. I have developed several apps. One of my apps is in Playstore also with **15k+ downloads**. [[ https://play.google.com/store/apps/details?id=io.realworld.android.vaccineslotalert | Playstore Link ]]
Since I get to know about open source I have been contributing to various open-source projects regularly. Thanks to GSOC and Wikimedia that I found this project and I found it very interesting. I have been contributing to the Commons Android app since **April 2020**. I have been a very consistent contributor to Commons app since I get know about the Commons app. I think this project will be a great platform for me to learn a lot.
## **Past Experience**
### **Personal Projects**
* [Vaccine Slot Alert App: Covid vaccine notifier for India](https://play.google.com/store/apps/details?id=io.realworld.android.vaccineslotalert) - This app solves a real problem of India. Getting an appointment for the **Covid-19 vaccination** is really difficult in India during the pandemic. So this app will notify users when the vaccine gets available. The app will show notification only if the vaccine increased with all information about the vaccination center.
* **15k+ downloads in Playstore**
* The app fetches vaccine data from govt. APIs in a period of 15 min using **Work Manager** and I made an in-app **algorithm** which compares the new vaccine data with the previous one stored in the database and shows a notification if some vaccine increased.
* Used Retrofit and Gson for API calls, Used Junit for tests.
* [Conduit App: Medium Website Clone](https://github.com/Ayan-10/Conduit) - Make a clone of the renowned blog app Medium. To build this project used a backed API called realworld.io. In the app, you can log in/sign up and write a blog, and read others' blogs.
* Used Retrofit and Gson for API calls
* Used Junit for tests
* Used LiveData and ViewModel
* Used Navigation Architecture
* [Sun Shine: Weather App](https://github.com/Ayan-10/Sun-Shine) - This app helps you see the weather forecast of your favorite cities.
* API calls using volley library.
* Notification
* Used content provider.
* [Emojify App](https://github.com/Ayan-10/Emojify) - This app can detect your face and then classify it. According to your mood, the app can cover an emoji on your face.
* used mobile vision library for face recognization
### **Work Experience**
* **GIRLSCRIPT SUMMER OF CODE 2021**
* **Study Partner App:** [Fixed Sign in the failed state. The user did not get any response if sign-in failed for API 10 exception. Responsible for handling that state using StyleableToast.](https://github.com/krayong/Study_Partner/pull/81) ( Merged )
* [Solved many programming problems related to Graph and other DS Algo.](https://github.com/Algo-Phantoms/Algo-Tree/pulls/Ayan-10) ( Merged )
* **WINNER OF HACKTOBERFEST 2020**
* Got merged 4 Pull requests. Contributed to various projects mentioned in other contributions ( Merged )
* **OTHER OPEN-SOURCE CONTRIBUTIONS**
* **Fossasia Neurolab:** [In an activity Cardviews are hardcoded, I generated the Cardviews with Recyclerview and maintain a header image that the header image can be scrollable with Cardviews.](https://github.com/fossasia/neurolab-android/pull/676) ( Not reviewed yet )
* **Amahi Android:** [Give localization support for the Hindi language.](https://github.com/amahi/android/pull/699) ( Merged )
* **Amahi Android:** [Give localization support for the Bengali language.](https://github.com/amahi/android/pull/675) ( Merged )
* **GEEKSFORGEEKS INTERN ( TECHNICAL CONTENT WRITER )**
* Responsible for writing technical blogs on various technical topics.
### **Activities**
* **[Microsoft Learn Student Ambassador (MLSA''21):](https://studentambassadors.microsoft.com/en-US/profile/98148)** learn basics of Azure fundamentals, Learn and host a WordPress website in Azure Developing a Web App using Azure with Java
* **MEMBER OF GOOGLE DEVELOPER CLUB ( KOLKATA )**
### **Availability**
* **Are you eligible for Google Summer of Code?**
Yes, I am eligible for Google Summer of Code.
* **Do you plan to submit any other proposal apart from this one?**
No, I am only submitting this proposal.
* **Do you have any other plans during the period of GSoC?**
No, I don鈥檛 have any other plans during the period of GSoC. Google Summer of Code is the topmost priority for me.
* **How many hours per week can you dedicate to this?**
I will dedicate as much as needed. Minimum 30-40 hours each week I will definitely give but I am willing to dedicate more if needed.
* **Have you been accepted to GSoC before?**
No, I applied to this project under the Wikimedia Foundation last year but was not selected.
### **Why should I be selected for the project**
Since I get to know about the project I was very frequent with it throughout the year. **From April 2020** I am contributing to Commons very frequently, solved a lot of bugs, and worked on a lot of issues, had a good amount of meaningful code addition to the codebase. I applied to last year's GSoC but was not selected however I completed **50% of my tasks from my previous year's proposal**. I also reported many issues, helped maintainers in review and helped fellow contributors with bug fixes and contributions, involved in many discussions. As I have worked on various types of issues the codebase is very familiar to me now.
**Moreover, I learned a lot from this organization and project while contributing. This project gave me the confidence to work on any issue no matter how difficult it is, it gave me the confidence to build an app from scratch which solves a real-world problem. I want to learn more from this organization and help others, want to get more involved with the organization. Even after GSoC, I will stay with the organization. This year GSoC will help me to get to know a bigger aspect of not only overall learning but also the beautiful work culture of the organization. **
Also, I am very interested in this year's task idea. I already worked with **MVVM** and **Room Database** on many medium to small projects. I already did some research on the bubble scrollbar. I am familiar with **Wikimedia APIs**. I think things will help me while implementing the task ideas. Thus, I believe I have the perfect set of skills required for these tasks.
### **Involvement**
* **Why do you want to contribute to this project?**
After I found the organization I absolutely loved the way this community works. Community members are so helpful and generous to everyone. I am going to learn and gain experience so much from this project and can come up with new ideas. Other than that I found this project very interesting. So I want to mention that I have already gone through the codebase and project structure in which I want to contribute related to what I want to contribute to this project as you can see in the implementation section in the proposal.
* **What does open-source mean to you?**
Open Source is a platform for learning. People say "learning while doing" is the best way to learn and Open Source is the way to do so. It helps to challenge yourself and helps to get that potential out of you. It gives a lot of exposure to a student. It also helps to build a great community and helps to promote diversity. It's a way to learn and give it back to the community by contributing and helping others.
* **What does GSoC mean to you?**
For me, GSoC is a platform to learn and gain experience and also give something to the community, and also GSoC is not just about selection. It's more than that. It's about staying with the organization even after GSoC ends and giving my 100% to complete tasks that I committed to do and also I can get to learn new things so much here.