woocommerce / woocommerce-android

WooCommerce Android app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
277 stars 135 forks source link

Creating shipping label: Purchase section #12819

Closed atorresveiga closed 3 weeks ago

atorresveiga commented 4 weeks ago

Part of: #12281

Description

This PR includes the shipment label purchase section. Its changes are focused on UI, and the data used in the screens is mocked. I will connect this UI with real data in a different PR.

Testing information

  1. Create an Order with the processing status on a store that can create shipping labels
  2. Tap on Orders
  3. Tap on the order created on step 1
  4. Tap con create shipping labels
  5. Check that Shipment details card is displayed at the bottom of the screen
  6. Tap on/Drag up Shipment details
  7. Check that the bottom sheets expand and the shipment label purchase section is visible

The tests that have been performed

  1. Test that the UI section is visible

Images/gif

Before After

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:

wpmobilebot commented 4 weeks ago
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
App Name WooCommerce-Wear Android
Platform⌚️ Wear OS
FlavorJalapeno
Build TypeDebug
Commitff779fcca0f86d0e594a821d9c7fff5f60792889
Direct Downloadwoocommerce-wear-prototype-build-pr12819-ff779fc.apk
wpmobilebot commented 4 weeks ago

📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.

App Name WooCommerce Android
Platform📱 Mobile
FlavorJalapeno
Build TypeDebug
Commitff779fcca0f86d0e594a821d9c7fff5f60792889
Direct Downloadwoocommerce-prototype-build-pr12819-ff779fc.apk
codecov-commenter commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 65 lines in your changes missing coverage. Please review.

Project coverage is 40.49%. Comparing base (eab1afe) to head (ff779fc). Report is 6 commits behind head on trunk.

Files with missing lines Patch % Lines
...oid/ui/orders/wooshippinglabels/ShipmentDetails.kt 0.00% 65 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## trunk #12819 +/- ## ============================================ - Coverage 40.52% 40.49% -0.04% Complexity 5773 5773 ============================================ Files 1241 1241 Lines 70469 70522 +53 Branches 9823 9833 +10 ============================================ Hits 28558 28558 - Misses 39279 39332 +53 Partials 2632 2632 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.