Code Monkey home page Code Monkey logo

Comments (4)

friedger avatar friedger commented on September 13, 2024

UX-wise the third option is the desired one.

from openfoodfacts-androidapp.

itchix avatar itchix commented on September 13, 2024

We have to think about the "magic", and how to do it ;)

from openfoodfacts-androidapp.

teolemon avatar teolemon commented on September 13, 2024

First draft. Magic might not work in the beginning, and we might have to go with separate app, but here's a braindump for a universal app.

Duplicate the Product Detail view

  • change some of the fields to match Open Beauty (or perhaps is it possible to just override the original with a "child view"
  • change the output methods to the matching Open * (for the Add Image button or Edit product button in the product page, for the Look at this product on Open ** share button)

Product lookup

  • Interrogate Open Beauty Facts and Open Food Facts at the same time, and see which one responds.
  • If both respond, ask the user which product to see
  • If only only one responds, show the product using the appropriate view
  • If the product doesn't exist: see next section

Product addition

  • Works with manual edition, offline edit, prompt after scan or search by barcode if products doesn't exist
  • Slider to choose which base to drop the product into

from openfoodfacts-androidapp.

teolemon avatar teolemon commented on September 13, 2024

As you've seen, I've made a crude clone at https://play.google.com/store/apps/details?id=org.openbeautyfacts.scanner

from openfoodfacts-androidapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.