-
-
Notifications
You must be signed in to change notification settings - Fork 476
Open
Labels
⭐ 🐛 top bugTop bug.Top bug.⭐ top issueTop issue.Top issue.CSSJavaScriptgood first issueWelcome to Open Food Facts. This issue should be approachable if you're new. Get in touch for help.Welcome to Open Food Facts. This issue should be approachable if you're new. Get in touch for help.🎯 P1🏷️ Folksonomy ProjectThe Folksonomy project allows to add custom data to product, and model non food products.The Folksonomy project allows to add custom data to product, and model non food products.
Description
openfoodfacts-server/html/js/folksonomy.js
Lines 63 to 65 in a0e358e
@import url("https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/redmond/jquery-ui.css"); | |
@import url("https://rawgit.com/free-jqgrid/jqGrid/master/css/ui.jqgrid.css"); | |
@import url("https://netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"); |
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
alexgarel, CharlesNepote and raphael0202
Metadata
Metadata
Assignees
Labels
⭐ 🐛 top bugTop bug.Top bug.⭐ top issueTop issue.Top issue.CSSJavaScriptgood first issueWelcome to Open Food Facts. This issue should be approachable if you're new. Get in touch for help.Welcome to Open Food Facts. This issue should be approachable if you're new. Get in touch for help.🎯 P1🏷️ Folksonomy ProjectThe Folksonomy project allows to add custom data to product, and model non food products.The Folksonomy project allows to add custom data to product, and model non food products.
Type
Projects
Status
No status
Status
To discuss and validate
Status
Backlog
Status
To triage
Status
No status
Status
No status