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

[Dynamic Dashboard] Common logic to hide unavailable cards

Open hichamboushaba opened this issue 1 year ago • 3 comments

Some cards can be unavailable for adding, and therefore should be hidden from the dashboard and marked as unavailable in dashboard settings. These cards are:

  • Performance and Top Performers cards: they should be hidden when the store doesn't have any stats, and they should be replaced by an empty view.
  • Onboarding card: it should be hidden when the onboarding was completed.
  • Blaze card: it should be hidden when the store doesn't meet the requirements.

hichamboushaba avatar Apr 20 '24 12:04 hichamboushaba

Thanks for reporting! 👍

dangermattic avatar Apr 20 '24 12:04 dangermattic

I re-opened this ticket @0nko, I still need to implement logic for Blaze and the Onboarding card.

hichamboushaba avatar Apr 25 '24 11:04 hichamboushaba

Oops, sorry.

0nko avatar Apr 25 '24 11:04 0nko