-
Notifications
You must be signed in to change notification settings - Fork 135
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
Check for shipping label support #12617
Conversation
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## trunk #12617 +/- ##
=========================================
Coverage 40.84% 40.84%
+ Complexity 5755 5751 -4
=========================================
Files 1237 1237
Lines 69742 69751 +9
Branches 9680 9685 +5
=========================================
+ Hits 28484 28490 +6
- Misses 38634 38635 +1
- Partials 2624 2626 +2 ☔ View full report in Codecov by Sentry. |
Part of: #12444
Description
This PR introduces the
ShippingLabelSupport
enum to give us more control over the shipping label flow. With the changes introduced here, we can check if an order supports purchasing shipping labels and whether we should use the new or legacy flow.Testing information
TC1
TC2
The tests that have been performed
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: