Add-on developers can add icons as an optional field in the manifest. These icons are displayed on the phone but are not currently shown anywhere on Marketplace. If the add-on has an icon, we should display that on consumer pages and /content dashboard. If there is no icon provided, we should show the default placeholder icon which the platform uses.
What's the default placeholder? Add-ons are usually a puzzle piece. Desktop Firefox uses a blue piece; AMO a green piece; FxOS settings menu a grey piece (and the add-on manager itself still shows a rocket if no icon). Should Marketplace use an orange colour? Or does some other colour fit better?
I've got that puzzle piece, we could cycle colours like the sites icon for visual diversity?
With https://github.com/mozilla/zamboni/commit/3b0dc860d24f356ddcf6700a969042b68e4d60f0 we are now fully validating icons in webextensions. The rules are: - Icons have to be PNG - Icons have to be square - A 128x128 icon needs to be provided - All referenced icons have to exist in the package Now I'll work on extracting, resizing, storing and returning icons in the API.