[x] venia-concept
[ ] pwa-buildpack
[ ] peregrine
[ ] pwa-devdocs
[ ] upward-js
[ ] upward-spec
[ ] Bug
[x] Feature suggestion
[ ] Documentation issue
[ ] Other (Please Specify)
| Question | Answer |
| --------------------------- | :-----------: |
| Magento version | |
| Operating System + version | |
| node.js version (node -v) | |
| npm version (npm -v) | |
As a shopper of the Venia storefront, I want basic feedback when an image or page can't be displayed when offline
Current experience:


When offline and displaying a non cached image or web page, insert a fallback that tells the user the image/page isn't cached.
Use Workbox to insert a fallback image. Reference the [Workbox docs](https://developers.google.com/web/tools/workbox/guides/advanced-recipes#
For the fallback page, the NotFound Root Component in pull request #486 will need to be restyled.
This pull request needs to be merged before we can work on this issue: https://github.com/magento-research/pwa-studio/pull/486
This issue also requires assets. Pinging @soumya-ashok.
@pcvonz There are some irregularities with ServiceWorker caching right now, but now that we've merged your awesome work in #486, I don't know what the repro is for this issue. Is it still valid?
Suggestion for @jimbo at grooming to consider content vs. asset fallback similar to what is being done for Categories on Homepage.
Waiting for fallback image mockup from @soumya-ashok to proceed
Background color #f6f6f6 will cover the intended area of the image.
Icon in #707070 will be centered in the area. The icon will scale based on the area available. I will slack you the SVG @JStein92 since Github doesn't support that format here.
Specs for icon sizing based on image context. Not all cases are specifically covered, but should provide a reasonable guide.

@ericerway @zetlen Can we spin off the Offline/Not Found page styling to a separate issue? I feel like although it's in the scope of 'offline functionality' it doesn't belong in the same issue as fallback images Also it would be a good first issue/help wanted.
did offline image get merged in previously referenced PR #486? @jimbo @zetlen
Closing this legacy issue and will track as requirement in more recent issue: https://github.com/magento/pwa-studio/issues/1958
Most helpful comment
Background color #f6f6f6 will cover the intended area of the image.
Icon in #707070 will be centered in the area. The icon will scale based on the area available. I will slack you the SVG @JStein92 since Github doesn't support that format here.
Specs for icon sizing based on image context. Not all cases are specifically covered, but should provide a reasonable guide.
