openfoodfacts / power-user-script

User script for your browser, to empower Open Food Facts contribution
GNU Affero General Public License v3.0
12 stars 5 forks source link

feat: Hide edit fields in product edit #83

Closed DanieliusAsm closed 6 months ago

DanieliusAsm commented 7 months ago

What

Screenshot

image

DanieliusAsm commented 6 months ago

The code only shows the UI. Need to finish the part where it actualy hides them and also saves/retrieves all the settings in local storage.

I hope to do and finish that tomorrow.

DanieliusAsm commented 6 months ago

Cant hide some of the fields: specifically the ones that have tags since <tags> doesnt have an id set. Or atleast dont know how to.

Cant hide: brands, categories, labels certifications, manufacturing places, traceability code and so on. Basically a bunch of them that I would want to hide since I am not using some of those.

DanieliusAsm commented 6 months ago

@CharlesNepote should be good to try.

DanieliusAsm commented 6 months ago

I managed to hide brands, categories etc. Just needed to research and learn some tricks.

alexgarel commented 6 months ago

Cool @DanieliusAsm !