issues
search
chase-moskal
/
xiome
open-source cloud-powered web components
https://xiome.io/
MIT License
10
stars
13
forks
source link
indicate loading when upgrade/downgrade is happening
#178
Closed
chase-moskal
closed
2 years ago
chase-moskal
commented
2 years ago
currently, cancelling or renewing a tier will show a loading indicator (see the subscriptions submodel for that logic)
what we want to do, is add a loading indicator for upgrade/downgrades
the important thing is, we do NOT want to show loading indicator the whole time a checkout popup is in progress
probably the simplest way, is for the
purchase
function in that submodel to accept a
showLoadingIndicator
boolean
and the component can provide that boolean based on each switch-case for the purchase scenario
purchase
function in that submodel to accept ashowLoadingIndicator
boolean