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

[YiR] Donate slide (Part 1 - data) #5046

Merged
merged 5 commits into from
Nov 4, 2024
Merged

[YiR] Donate slide (Part 1 - data) #5046

merged 5 commits into from
Nov 4, 2024

Conversation

tonisevener
Copy link
Collaborator

@tonisevener tonisevener commented Nov 1, 2024

Phabricator: https://phabricator.wikimedia.org/T378838

Notes

This PR checks for our new donateCount config key and populates a donate slide in the YiR report. This is pre-work to determine if we should add the personalized or collective donate slide. It is patterned after the read count slide logic.

Test Steps

This is not really testable until the UI layer is in, but if you want, you could submit a donation before enabling the YiR developer settings toggle. Background, foreground to trigger report creation. Then when tapping the profile button, add a breakpoint here to confirm that the donate personalized slide display property == true.

@tonisevener tonisevener requested review from a team and l-olson1214 and removed request for a team November 1, 2024 21:46
@l-olson1214 l-olson1214 merged commit e916500 into main Nov 4, 2024
4 checks passed
@l-olson1214 l-olson1214 deleted the donate-slide-data branch November 4, 2024 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants