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

refactor: integrating off-dart 1.30.1 #3471

Merged
merged 2 commits into from
Dec 27, 2022

Conversation

monsieurtanuki
Copy link
Contributor

Impacted files:

  • background_task_details.dart: minor refactoring
  • background_task_image.dart: minor refactoring
  • background_task_refresh_later.dart: minor refactoring
  • country_selector.dart: minor refactoring
  • new_product_page.dart: minor refactoring
  • ocr_packaging_helper.dart: minor refactoring
  • offline_data_page.dart: now using an explicit api version
  • ordered_nutrients_cache.dart: minor refactoring
  • paged_search_product_query.dart: now using an explicit api version
  • paged_to_be_completed_product_query.dart: now using an explicit api version
  • Podfile.lock: wtf
  • product_image_data.dart: minor refactoring
  • product_list.dart: minor refactoring
  • product_list_import_export.dart: now using an explicit api version
  • product_list_page.dart: now using an explicit api version
  • product_query.dart: explicit api version
  • product_query_page.dart: minor refactoring
  • product_refresher.dart: now using an explicit api version
  • products_preload_helper.dart: now using an explicit api version
  • app/pubspec.lock: wtf
  • smooth_app/pubspec.lock: wtf
  • pubspec.yaml: upgraded off-dart version to 1.30.1
  • up_to_date_changes.dart: minor refactoring

What

Impacted files:
* `background_task_details.dart`: minor refactoring
* `background_task_image.dart`: minor refactoring
* `background_task_refresh_later.dart`: minor refactoring
* `country_selector.dart`: minor refactoring
* `new_product_page.dart`: minor refactoring
* `ocr_packaging_helper.dart`: minor refactoring
* `offline_data_page.dart`: now using an explicit api version
* `ordered_nutrients_cache.dart`: minor refactoring
* `paged_search_product_query.dart`: now using an explicit api version
* `paged_to_be_completed_product_query.dart`: now using an explicit api version
* `Podfile.lock`: wtf
* `product_image_data.dart`: minor refactoring
* `product_list.dart`: minor refactoring
* `product_list_import_export.dart`: now using an explicit api version
* `product_list_page.dart`: now using an explicit api version
* `product_query.dart`: explicit api version
* `product_query_page.dart`: minor refactoring
* `product_refresher.dart`: now using an explicit api version
* `products_preload_helper.dart`: now using an explicit api version
* `app/pubspec.lock`: wtf
* `smooth_app/pubspec.lock`: wtf
* `pubspec.yaml`: upgraded off-dart version to 1.30.1
* `up_to_date_changes.dart`: minor refactoring
@monsieurtanuki monsieurtanuki requested a review from a team as a code owner December 26, 2022 19:27
@github-actions github-actions bot added dependencies 🤗 Onboarding We need to onboard users on how the app works, but also on content like Nutri-Score, Eco-Score… Product addition The easier it is to add a product and get Nutri-Score, Eco-Score, the happier the users. 🥫 Product page User lists labels Dec 26, 2022
@codecov-commenter
Copy link

codecov-commenter commented Dec 26, 2022

Codecov Report

Merging #3471 (bb3af13) into develop (9c9b93b) will increase coverage by 0.05%.
The diff coverage is 23.80%.

@@             Coverage Diff             @@
##           develop    #3471      +/-   ##
===========================================
+ Coverage    11.18%   11.23%   +0.05%     
===========================================
  Files          261      261              
  Lines        12668    12670       +2     
===========================================
+ Hits          1417     1424       +7     
+ Misses       11251    11246       -5     
Impacted Files Coverage Δ
...th_app/lib/background/background_task_details.dart 0.00% <0.00%> (ø)
...ooth_app/lib/background/background_task_image.dart 0.00% <0.00%> (ø)
.../lib/background/background_task_refresh_later.dart 0.00% <0.00%> (ø)
...smooth_app/lib/data_models/product_image_data.dart 0.00% <0.00%> (ø)
...kages/smooth_app/lib/data_models/product_list.dart 1.26% <0.00%> (ø)
...smooth_app/lib/data_models/up_to_date_changes.dart 0.00% <ø> (ø)
...pers/data_importer/product_list_import_export.dart 0.00% <ø> (ø)
...ckages/smooth_app/lib/pages/offline_data_page.dart 0.91% <ø> (ø)
...oth_app/lib/pages/onboarding/country_selector.dart 0.00% <0.00%> (ø)
...pp/lib/pages/product/common/product_list_page.dart 0.00% <ø> (ø)
... and 13 more

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

Impacted file:
* `user_preferences_account.dart`: now logging error and displaying nothing if cannot count, and optimized the code
Copy link
Member

@M123-dev M123-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @monsieurtanuki just one little comment to consider

@@ -1,3 +1,5 @@
// ignore_for_file: deprecated_member_use
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are we ignoring here, please, at least add a todo to handle this later

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @M123-dev for your quick review!

I'll replace ignore_for_file with line-level ignore.
Most important: as I start working on #3430 I'll probably (hopefully) fix that.

@monsieurtanuki monsieurtanuki merged commit 390f859 into openfoodfacts:develop Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies 🤗 Onboarding We need to onboard users on how the app works, but also on content like Nutri-Score, Eco-Score… Product addition The easier it is to add a product and get Nutri-Score, Eco-Score, the happier the users. 🥫 Product page User lists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The count of products I contributed to is 0 (which is incorrect)
3 participants