Closed hafizrahman closed 1 day ago
📲 You can test the changes from this Pull Request in WooCommerce iOS by scanning the QR code below to install the corresponding build.
App Name | WooCommerce iOS | |
Build Number | pr14477-d0de94c | |
Version | 21.1 | |
Bundle ID | com.automattic.alpha.woocommerce | |
Commit | d0de94c4292e2338c394c8ba15d3763d526aab4f | |
App Center Build | WooCommerce - Prototype Builds #11696 |
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.
I added an extra commit to update the release note about fixing WooCommerceScreenshot
, as the original PR didn't include it.
Description
When generating screenshots on iPad device, previously My Store area might look a bit too empty because there's not enough cards on it.
This quick PR adds the Most Active Coupon card to the My Store are to fill in the space.
At the moment, the Coupon card is shown in empty state. I tried making it show mocked data, but it's non-trivial, because:
https://github.com/woocommerce/woocommerce-ios/blob/89297f90de3c9248cbc403bedac8d599e4ce371b/Networking/Networking/Model/Coupon.swift#L11-L12
If you have suggestion on how to workaround that limitation, do let me know! At the moment I suppose it's OK because the Coupon card is not even shown fully. It's just there to help fill in the space.
Steps to reproduce
WooCommerceScreenshot
and pick a tablet device (I'm using iPad Pro 12.0 2nd gen with iOS 16)To check the "Before" screenshot, repeat the steps above on the
trunk
branch.Testing information
I tested this in Simulator with iPad Pro 12.0 2nd gen with iOS 16
Screenshots
RELEASE-NOTES.txt
if necessary.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: