openfoodfacts / openfoodfacts-server

Open Food Facts database, API server and web interface - 🐪🦋 Perl, CSS and JS coders welcome 😊 For helping in Python, see Robotoff or taxonomy-editor
GNU Affero General Public License v3.0
632 stars 369 forks source link

In the organisation profile, add a section about "Commitments" #9577

Open manon-corneille opened 8 months ago

manon-corneille commented 8 months ago

What

In the organisation profile, we could add a section "Commitments" where companies could list their:

Part of

himanshisrestha commented 5 months ago

I would like to work on this.

alexgarel commented 5 months ago

My proposals:

himanshisrestha commented 5 months ago

Could you please help me out with the pro shell I couldn't get on how to . setenv-pro.sh for this

This was resolved thanks to the doc updates added recently

himanshisrestha commented 5 months ago

@alexgarel I should have the pro shell enabled for this right?

himanshisrestha commented 5 months ago

Also could you share an example to access an organisation profile for reference @alexgarel

stephanegigandet commented 5 months ago

@himanshisrestha You can see the organization page with URLs like this one: https://world.openfoodfacts.org/editor/org-ferrero-france-commerciale (currently linked on product edited by an organization).

There is also this URL: https://world.openfoodfacts.org/owner/org-ferrero-france-commerciale

But currently we do not display anything, not even the contact info if we have it. The best thing would be to add a facet knowledge panel for organization I think.

You can see related code in KnowledgePanelsTags.pm, currently we show a "packaging" panel categories, but we could show an organization panel for the /editors/ facet when this editor is an organization.