openfoodfacts/openfoodfacts-server
Ver no GitHubFolksonomy Engine loads CSS and a font from CDNs
Open
#9.012 aberto em 17 de set. de 2023
:star: :bug: top bug:star: top issueCSSJavaScriptgood first issue🎯 P1🏷️ Folksonomy Project
Métricas do repositório
- Stars
- (477 stars)
- Métricas de merge de PR
- (Mesclagem média 15d 21h) (157 fundiu PRs em 30d)
Description
For ProductOpener itself, we usually try to reduce the dependency on 3rd party CDNs. folksonomy.js does the opposite by loading three files from three different CDNs.
- jQuery UI is already bundled with ProductOpener
- FontAwesome could be revisited, because ProductOpener now mostly seems to use Material Icons since the redesign
- Bundle jqGrid, or replace it (if there's feature parity) with other grid already bundled?
Code pointers
You can find some code pointers here. If some are missing, feel free to add them yourself in this file, or to ask them.
- https://github.com/openfoodfacts/openfoodfacts-server/blob/main/templates/web/common/includes/folksonomy_script.tt.html
- https://github.com/openfoodfacts/openfoodfacts-server/blob/main/html/js/folksonomy.js
Part of
- #7525