Replies: 1 comment
-
@teolemon I'm not in favor of a pub.dev
On the other hand, providing clean examples of code based on off-dart could indeed be interesting, for us and for other developers, in order to "unlock opportunities" as you say. Basically, my suggestion is similar to yours but instead of saying "this is the correct way to display the nutriscore and you can reuse it", we would say "if you want to display the nutriscore you can do that and it's easy". Still, I don't think we have time for this but that's another story. |
Beta Was this translation helpful? Give feedback.
-
We had this plan a long while ago to extract both the backend logic (we did that with openfoodfacts-dart) and the nutrition/food specific user interface (nutrition display, nutrition input, ingredients extraction, …).
Somehow, we lost track of this "openfoodfacts-mobile-ui", and I think that it would be a good time to separate things, as we get ready to embark on the visual revamp.
Candidates for extraction could be: knowledge panel widgets, such as nutrition table… editing widgets, road to scores, robotoff, and possibly more as relevant.
We would ensure that 3rd party developpers can reskin everything at will, and we would apply our own theme on top of it.
@monsieurtanuki @g123k @M123-dev what do you think ?
@MohamedFBoussaid , others: would such a thing be interesting to you ?
Beta Was this translation helpful? Give feedback.
All reactions