DavidAJohn / PhotoPortfolio

Personal photo portfolio .NET web application which implements a Blazor and Tailwind CSS user interface with a MongoDb database, and includes integration with Stripe Checkout and Prodigi Print API
0 stars 0 forks source link

Checkout page - loading progress #51

Closed DavidAJohn closed 1 year ago

DavidAJohn commented 1 year ago

The Checkout page currently has a custom loading progress indicator/spinner to indicate when a quote is being retrieved whenever the user chooses a different delivery option.

However, we're now getting all potential delivery options for the basket when the page loads initially, so the awaiting is happening when the page loads and not each time the user chooses from the delivery option dropdown.

It would be more useful to have loading progress visible when the page loads. We could just repurpose the existing spinner SVG.

Here's an example from Tim Corey: https://www.youtube.com/watch?v=UYy0YXLGlQM

DavidAJohn commented 1 year ago

This should be two separate issues. I'll remove the redundant spinner for delivery options on the Checkout page, but it's not as simple as just repurposing it for page loads.