Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: #158 - introduction to folksonomy #332

Merged
merged 4 commits into from Dec 20, 2021

Commits on Dec 19, 2021

  1. feat: openfoodfacts#158 - introduction to folksonomy

    New files:
    * `api_folksonomy_test.dart`: Tests around folksonomy
    * `folksonomy.dart`: Client calls of the Folksonomy API (Open Food Facts)
    * `KeyStats.dart`: Folksonomy: statistics around a tag key.
    * `ProductList.dart`: Folksonomy: current value for a product and a tag key.
    * `ProductStats.dart`: Folksonomy: statistics about the tag keys on a product.
    * `ProductTag.dart`: Folksonomy product tag: for this barcode, that value is set for that key.
    
    Impacted files:
    * `HttpHelper.dart`: added "delete" and "put" requests
    * `JsonHelper.dart`: added a helper method around timestamps
    * `OpenFoodAPIConfiguration.dart`: added reference URIs for folksonomy
    * `openfoodfacts.dart`: exported folksonomy files
    * `UriHelper.dart`: added a helper method for folksonomy URIs
    monsieurtanuki committed Dec 19, 2021
    Copy the full SHA
    b5e4f2c View commit details
    Browse the repository at this point in the history
  2. feat: openfoodfacts#158 - fix after dart analyze remarks

    Impacted files:
    * `api_folksonomy_test.dart`: removed unnecessary imports
    * `HttpHelper.dart`: rolled back "delete" and "put" requests
    monsieurtanuki committed Dec 19, 2021
    Copy the full SHA
    973681c View commit details
    Browse the repository at this point in the history
  3. feat: openfoodfacts#158 - fix after unrelated failed tests

    Impacted files:
    * `api_saveProduct_test.dart`: unrelated test fine-tuning
    monsieurtanuki committed Dec 19, 2021
    Copy the full SHA
    1f2817e View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2021

  1. feat: openfoodfacts#158 - refactored after code review

    Impacted files:
    * `api_folksonomy_test.dart`: refactored and added tests
    * `folksonomy.dart`: fixed side-effects; refactored the comments
    monsieurtanuki committed Dec 20, 2021
    Copy the full SHA
    635014a View commit details
    Browse the repository at this point in the history