woocommerce / woocommerce-android

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

Dashboard: Performance card does not show up after store gets its first order unless relaunching the app #12806

Open itsmeichigo opened 1 month ago

itsmeichigo commented 1 month ago

Describe the bug When a store gets a new order, we expect the Performance card on the dashboard to show up. Currently, the app needs to be relaunched for the card to show up.

To Reproduce Steps to reproduce the behavior:

  1. Create a JN site.
  2. Log in to the site on the app.
  3. Create a new product and a new order with that product.
  4. Navigate to the My Store tab, notice that the Performance card does not show up even after pulling-to-refresh.
  5. Relaunch the app, notice that the Performance card is now available on the Dashboard.

Screenshots https://github.com/user-attachments/assets/0881f3ac-8b15-461b-882c-e01ba3cd8eeb

Expected behavior The Performance card should be available immediately after the first order is available on the store.

dangermattic commented 1 month ago

🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.