Describe the bug
The Shopping Cart in the Header doesn't show how many items are in the cart until the cart is opened.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Shopping Cart badge icon should show the number of items without the user first having to open the cart.
Screenshots
Additional context
It looks like the requests to get the cart info are not fired until the cart is opened:
Possible solutions
Query for the cart contents on initial page load.
Please let us know what packages this bug is in regards to:
venia-conceptpwa-buildpackperegrinepwa-devdocsupward-jsupward-specI've tested this, it appears to already to be fixed in the pwa-studio repo.
On page load, the cart is always requested now which makes this a none-issue :)
Confirmed that this is no longer an issue on both the latest release: https://veniapwa.com/, and on develop: https://magento-venia-develop.now.sh/.
It does take a second, but the cart indicator does appear without having to open the cart first.
Thanks @shakyShane !
Most helpful comment
I've tested this, it appears to already to be fixed in the pwa-studio repo.
On page load, the cart is always requested now which makes this a none-issue :)