woocommerce-android
woocommerce-android copied to clipboard
Track when loading starts and finishes for each of the dashboard cards
Part of: #11815
Description
Track when loading starts and finishes for each of the dashboard cards.
Testing information
- Select each of the Dashboard cards individually and for any interaction that involves loading the card content, check for the following logs in the Android logcat:
🔵 Tracked: dynamic_dashboard_card_data_loading_started, Properties: {"type":"$theCardName"...🔵 Tracked: dynamic_dashboard_card_data_loading_completed, Properties: {"type":"$theCardName"...
The expected type values are:
top_performers | performance | blaze | store_setup | inbox | stock | reviews | orders| coupons
Actions that should trigger the loading events:
- Killing the app and restarting it
- Swipe to refresh
- Changin the date range, order status, review status, stock status, etc.
- Adding the card to the dashboard
| 1 Message | |
|---|---|
| :book: | This PR contains changes to Tracks-related logic. Please ensure (author and reviewer) the following are completed:
|
Generated by :no_entry_sign: Danger
📲 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 | |
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | 699e1bbcb91a2af3e728c6e5c65db10f070c1aa0 | |
| Direct Download | woocommerce-wear-prototype-build-pr11839-699e1bb.apk |
📲 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 | |
| Flavor | Jalapeno | |
| Build Type | Debug | |
| Commit | 699e1bbcb91a2af3e728c6e5c65db10f070c1aa0 | |
| Direct Download | woocommerce-prototype-build-pr11839-699e1bb.apk |
Codecov Report
Attention: Patch coverage is 46.05263% with 41 lines in your changes missing coverage. Please review.
Project coverage is 39.97%. Comparing base (
a6ef883) to head (699e1bb). Report is 155 commits behind head on trunk.
Additional details and impacted files
@@ Coverage Diff @@
## trunk #11839 +/- ##
============================================
+ Coverage 39.95% 39.97% +0.01%
- Complexity 5371 5375 +4
============================================
Files 1164 1164
Lines 65940 65977 +37
Branches 9189 9190 +1
============================================
+ Hits 26349 26374 +25
- Misses 37146 37157 +11
- Partials 2445 2446 +1
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Suspect Issues
This pull request was deployed and Sentry observed the following issues:
- ‼️ SelectedSite$SelectedSiteResetException
com.woocommerce.android.tools.SelectedSite in getView Issue
Did you find this useful? React with a 👍 or 👎