woocommerce / woocommerce-android

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

Label purchased screen #12871

Closed atorresveiga closed 2 weeks ago

atorresveiga commented 2 weeks ago

Part of: #12288

Description

This PR adds the final screen after purchasing a shipping label. The changes here only contain the final screen UI and the navigation to that final screen. The links on the screen, buttons and logic in general will be added 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 on create shipping labels
  5. Expand the shipment details bottom sheet
  6. Tap on purchase label
  7. Check that the app navigates to the final screen
  8. Check that UI in the final screen works as expected (navigation and logic will be added in a different PR)

The tests that have been performed

  1. Test that the UI interaction works as expected

Images/gif

https://github.com/user-attachments/assets/14a0fdea-02dd-407f-b423-f6286496ba96

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:

dangermattic commented 2 weeks ago
1 Warning
:warning: This PR is larger than 300 lines of changes. Please consider splitting it into smaller PRs for easier and faster reviews.

Generated by :no_entry_sign: Danger

wpmobilebot commented 2 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
Commit340f1545c2a1d9242f9dfa2dec991d757c7edd9a
Direct Downloadwoocommerce-wear-prototype-build-pr12871-340f154.apk
wpmobilebot commented 2 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
Commit340f1545c2a1d9242f9dfa2dec991d757c7edd9a
Direct Downloadwoocommerce-prototype-build-pr12871-340f154.apk
codecov-commenter commented 2 weeks ago

Codecov Report

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

Project coverage is 40.18%. Comparing base (eb38658) to head (340f154). Report is 366 commits behind head on trunk.

Files with missing lines Patch % Lines
...els/purchased/WooShippingLabelPurchasedFragment.kt 0.00% 17 Missing :warning:
...oid/ui/orders/wooshippinglabels/ShipmentDetails.kt 0.00% 14 Missing :warning:
...oid/ui/orders/wooshippinglabels/PurchaseSection.kt 0.00% 8 Missing :warning:
...rders/wooshippinglabels/WooShippingProductsCard.kt 0.00% 4 Missing :warning:
...abels/purchased/WooShippingLabelPurchasedScreen.kt 0.00% 4 Missing :warning:
...hippinglabels/WooShippingLabelCreationViewModel.kt 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## trunk #12871 +/- ## ============================================ - Coverage 40.20% 40.18% -0.03% + Complexity 5791 5790 -1 ============================================ Files 1253 1255 +2 Lines 71359 71398 +39 Branches 9963 9969 +6 ============================================ - Hits 28693 28690 -3 - Misses 40030 40071 +41 - Partials 2636 2637 +1 ```

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


🚨 Try these New Features: