-
Notifications
You must be signed in to change notification settings - Fork 136
[Jetpack Performance] App Passwords error handling #14552
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
[Jetpack Performance] App Passwords error handling #14552
Conversation
06cffda to
8ea3d7f
Compare
…or handler to use it
1b1f337 to
464912e
Compare
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
464912e to
c977e88
Compare
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## issue/WOOMOB-1126-app-passwords-network #14552 +/- ##
=============================================================================
+ Coverage 38.04% 38.05% +0.01%
- Complexity 9473 9487 +14
=============================================================================
Files 2045 2047 +2
Lines 114338 114371 +33
Branches 15153 15162 +9
=============================================================================
+ Hits 43501 43526 +25
- Misses 66853 66860 +7
- Partials 3984 3985 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
32c308d to
c977e88
Compare
|
Version |
JorgeMucientes
left a comment
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.
Outstanding work @hichamboushaba, really clear testing instructions and (life saving snippets code config) to be able to test all the different error handling for this project. Everything worked as expected and the code looks clear and easy to follow despite the complexity of dealing with the many different error scenarios 👏🏼 .
Closes WOOMOB-1180
Description
This PR adds handling of errors in App Passwords flows according to what was decided in pe5sF9-4ye-p2#comment-4787.
For flagging websites as unsupported, I opted for using SharedPreferences, which makes the logic simpler, as fetching the site from the API won't override it.
Steps to reproduce
Test TC3, TC4 and TC5 from the testing plan pe5sF9-4Am-p2
Testing information
The tests that have been performed
The above.
RELEASE-NOTES.txtif necessary. Use the "[Internal]" label for non-user-facing changes.