-
-
Notifications
You must be signed in to change notification settings - Fork 647
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
Allow users to clear locally stored donation history #5196
Conversation
Hi everyone, this is my first contribution and I have some doubts that I would be happy to get some clarification:
|
36061be
to
90aa6bc
Compare
Hi @cesonha, thanks for submitting the PR!
If you have claimed the ticket, you can tag HNordeenWMF or SChekfa-WMF by attaching the screenshot you have in the comment.
The way we add a translation, we will add the same
I do not think this PR would need a test case.
You can put this comment in the Phabacator ticket and tag our PM ( the one who created the ticket). |
Thanks @cooltey , just did as you've said and commented in phabricator tagging them! |
414e113
to
e3aae6e
Compare
Hi @cooltey, it seems to be approved by the design and product team :) I've rebased with the main branch and added the string descriptions as you've said we should, should I just wait for code review/testing? :) TY |
app/src/main/java/org/wikipedia/settings/SettingsPreferenceLoader.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/wikipedia/settings/SettingsPreferenceLoader.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good! Thanks for the updates.
What does this do?
This will add a new preference in the SettingsFragment that enables the user to delete the local donation history. All this done respecting the business rules defined in the Phabricator ticket. The new preference only shows if the donation history is not empty and after the user deletes it the preference hides.
Why is this needed?
Please refer to the Phabricator's link Background section
Phabricator:
https://phabricator.wikimedia.org/T380662
Screenshot