woocommerce-android icon indicating copy to clipboard operation
woocommerce-android copied to clipboard

Track when loading starts and finishes for each of the dashboard cards

Open JorgeMucientes opened this issue 1 year ago • 4 comments

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

JorgeMucientes avatar Jun 27 '24 17:06 JorgeMucientes

1 Message
:book:

This PR contains changes to Tracks-related logic. Please ensure (author and reviewer) the following are completed:

  • The tracks events must be validated in the Tracks system.
  • Verify the internal Tracks spreadsheet has also been updated.
  • Please consider registering any new events.
  • The PR must be assigned the category: tracks label.

Generated by :no_entry_sign: Danger

dangermattic avatar Jun 27 '24 17:06 dangermattic

📲 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
Commit699e1bbcb91a2af3e728c6e5c65db10f070c1aa0
Direct Downloadwoocommerce-wear-prototype-build-pr11839-699e1bb.apk

wpmobilebot avatar Jun 27 '24 17:06 wpmobilebot

📲 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
Commit699e1bbcb91a2af3e728c6e5c65db10f070c1aa0
Direct Downloadwoocommerce-prototype-build-pr11839-699e1bb.apk

wpmobilebot avatar Jun 27 '24 18:06 wpmobilebot

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.

Files Patch % Lines
...roid/ui/dashboard/inbox/DashboardInboxViewModel.kt 0.00% 10 Missing :warning:
...roid/ui/dashboard/blaze/DashboardBlazeViewModel.kt 0.00% 7 Missing :warning:
...shboard/onboarding/DashboardOnboardingViewModel.kt 0.00% 7 Missing :warning:
.../dashboard/stock/DashboardProductStockViewModel.kt 0.00% 7 Missing :warning:
...d/topperformers/DashboardTopPerformersViewModel.kt 0.00% 7 Missing :warning:
.../ui/dashboard/coupons/DashboardCouponsViewModel.kt 83.33% 1 Missing and 1 partial :warning:
...roid/ui/dashboard/stats/DashboardStatsViewModel.kt 85.71% 1 Missing :warning:
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.

codecov-commenter avatar Jun 27 '24 18:06 codecov-commenter

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ SelectedSite$SelectedSiteResetException com.woocommerce.android.tools.SelectedSite in get View Issue

Did you find this useful? React with a 👍 or 👎

sentry[bot] avatar Jul 04 '24 16:07 sentry[bot]