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: insight - method to get an insight annotation from an int value #797

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

monsieurtanuki
Copy link
Contributor

What

  • In Smoothie we had to implement that method.
  • Now we implement that method directly in off-dart.

Impacted file

  • insight.dart: implemented the fromInt method for InsightAnnotation

Impacted file:
* `insight.dart`: implemented the `fromInt` method for `InsightAnnotation`
@codecov-commenter
Copy link

Codecov Report

Merging #797 (fdf1bcc) into master (a26ec2a) will decrease coverage by 0.13%.
Report is 1 commits behind head on master.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #797      +/-   ##
==========================================
- Coverage   74.87%   74.74%   -0.13%     
==========================================
  Files         199      199              
  Lines        7319     7322       +3     
==========================================
- Hits         5480     5473       -7     
- Misses       1839     1849      +10     
Files Changed Coverage Δ
lib/src/model/insight.dart 48.57% <0.00%> (-4.56%) ⬇️

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@monsieurtanuki monsieurtanuki merged commit fdc6381 into openfoodfacts:master Sep 7, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants