-
-
Notifications
You must be signed in to change notification settings - Fork 762
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
Apple Pay - Donate form API calls #4619
Merged
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
76916e0
Add feature flag
tonisevener 85a3a07
Add json resources
tonisevener 0f37f7f
Add WKServiceEnvironment, add methods for creating donate API URLs
tonisevener 7fbb310
Move WKData protocols into Protocol subfolder, tweak service protocol…
tonisevener e23e324
Move feature-specific models into subfolders
tonisevener 63e3073
Add WKURLSession wrapper for assistance in unit testing
tonisevener 3b33078
Add extensions needed for basic service
tonisevener 421971c
Add WKBasicService and WKBasicServiceRequest
tonisevener 20295db
Add WKMockURLSession and unit tests for WKBasicService
tonisevener deec94c
Add basicService and serviceEnvironment properties to WKDataEnvironment
tonisevener bbb5b71
Add models for donateConfig, paymentMethods, and submitPayment API calls
tonisevener c315364
Add WKDonateDataController for making donation-related API calls
tonisevener 7ebe664
Add WKMockDonateBasicService and unit tests for WKDonateDataController
tonisevener b49f212
Set the correct WKDataEnvironment service environment upon launch
tonisevener b6b436b
Fetch donate configs when announcements are fetched
tonisevener cdf54df
Add missed posting protocol conformance
tonisevener fdf2151
Merge branch 'main' into apple-pay-1
tonisevener 312faba
Remove double header setting
tonisevener a1c1e3f
Fix compile failure - add fetchDonateConfig helper method to WMFAnnou…
tonisevener a82a1f8
Better brand name handling
tonisevener f4fe16e
Remove extra extension file
tonisevener b3aea1b
Temporary changes for testing
tonisevener d4bdfde
Merge branch 'main' into apple-pay-1
staykids cc2e9cd
PR Feedback - http response extension for status code success flag
tonisevener 880b5b9
PR Feedback - base api path components
tonisevener d5b60e9
PR feedback - unnecessary comments
tonisevener 7da6760
PR Feedback - rename feature flag
tonisevener 96a531a
PR Feedback - improve donate config key names
tonisevener 105b610
Merge branch 'main' into apple-pay-1
tonisevener c023c78
PR Feedback - rename feature flag again
tonisevener 729ff24
PR Feedback - missing completion handler
tonisevener 664e9f2
PR Feedback - add assertion failure for failure to encode dictionary …
tonisevener c7453a2
Merge branch 'main' into apple-pay-1
tonisevener File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Add feature flag
- Loading branch information
commit 76916e0343a7d792c6c6a42b7f2aba1650da47e5
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Minor, but what do you think about something like
applePayDonationEnabled
instead? On first readapplePayEnabled
connoted the availability of Apple Pay itself to me, rather than our intent of Apple Pay as a donation option.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.
Done (twice actually, sorry). I went with the more general
donorExperienceImrovementsEnabled
- I'm hoping to be able to wrap up all of our improvements in the next few weeks around that for easy rollback, not just the native form.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.
👍🏽 new name works great, much more precise about what it is