igo2-lib icon indicating copy to clipboard operation
igo2-lib copied to clipboard

Icons - Unhandled Error retrieving icon on first site visit

Open alecarn opened this issue 1 year ago • 1 comments

The icon library @mdi/angular-material have a massive impact with is 795kb (gzipped) and 3mb in ressource versus 129kb in ressource for the Google Fonts. This take time to load and the app is not waiting for the icons to be registered and this cause unhandled error because the icons. Once the icons is registred the app refresh and show the icons so this is not a major problem.

The goal of this issue is to analyze a solution or a strategy to avoir this unexpected error. Should we look to a more optimize icons library like Google Fonts/Symbols?

Error retrieving icon :close! Unable to find icon with the name "****"

alecarn avatar Jan 12 '24 17:01 alecarn

Sentry issue: IGO2-FRONTEND-P

sentry-io[bot] avatar Jan 15 '24 13:01 sentry-io[bot]