Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a 'Remove Location' button to the UploadWizard #5247 #5672

Merged
merged 2 commits into from
Mar 30, 2024

Conversation

ShashwatKedia
Copy link
Contributor

Description (required)

The UploadWizard did not provide the user with any option to remove the location from the image. This PR aims to solve this issue and provide a button to remove the location from the image to maintain the user's privacy

Fixes #5247

What changes did you make and why?
Added a new 'Remove Location' button to the LocationPickerActivity. Also, disables NoLocationDialog, if the user has removed the location for the current image, as requested here

Tests performed (required)

Tested prodDebug on OnePlus Nord CE 2 Lite with API level 31.

Screencast

video6071180222743455571.mp4

Special thanks to @paco-arana and @shankarpriyank for their amazing PRs :)

@ShashwatKedia
Copy link
Contributor Author

@nicolas-raoul I didn't add my commits on top of #5348 as it had merge conflicts in almost every file, hope that is not an issue :)

Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested by uploading https://commons.m.wikimedia.org/wiki/File%3ATaille-crayon_pour_crayon_pastel.jpg it correctly removed the location from EXIF:

Screenshot_20240330-232755.png

@nicolas-raoul nicolas-raoul merged commit 0a6257b into commons-app:main Mar 30, 2024
1 check passed
@ShashwatKedia
Copy link
Contributor Author

@nicolas-raoul could we close #5348 and #5262 as the issue is solved now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upload Wizard: Let user remove picture location
2 participants