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: 3207 - edit page for website product field #3376

Merged
merged 1 commit into from
Nov 29, 2022

Conversation

monsieurtanuki
Copy link
Contributor

New file:

  • add_other_details_page.dart: Input of a product's less significant details, like website.

Impacted files:

  • app_en.arb: added 2 labels in order to describe the click to new page AddOtherDetailsPage
  • app_fr.arb: added 2 labels in order to describe the click to new page AddOtherDetailsPage
  • edit_product_page.dart: added a call to new page AddOtherDetailsPage for website input
  • new_product_page.dart: minor bug fix
  • up_to_date_changes.dart: added the website field to the copy; unrelated code simplification
  • up_to_date_product_provider.dart: unrelated code simplification

What

  • Now we can edit the website product field, in a new page dedicated to "additional details"

Screenshot

new item at the bottom new page
Capture d’écran 2022-11-28 à 14 51 27 Capture d’écran 2022-11-28 à 14 51 42

Fixes bug(s)

New file:
* `add_other_details_page.dart`: Input of a product's less significant details, like website.

Impacted files:
* `app_en.arb`: added 2 labels in order to describe the click to new page `AddOtherDetailsPage`
* `app_fr.arb`: added 2 labels in order to describe the click to new page `AddOtherDetailsPage`
* `edit_product_page.dart`: added a call to new page `AddOtherDetailsPage` for website input
* `new_product_page.dart`: minor bug fix
* `up_to_date_changes.dart`: added the `website` field to the copy; unrelated code simplification
* `up_to_date_product_provider.dart`: unrelated code simplification
@monsieurtanuki monsieurtanuki requested a review from a team as a code owner November 28, 2022 13:53
@github-actions github-actions bot added 🌐 l10n Product addition The easier it is to add a product and get Nutri-Score, Eco-Score, the happier the users. 🥫 Product page labels Nov 28, 2022
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

@M123-dev M123-dev added this to the v4 milestone Nov 29, 2022
@monsieurtanuki monsieurtanuki merged commit b7743e8 into openfoodfacts:develop Nov 29, 2022
@monsieurtanuki
Copy link
Contributor Author

Thank you @M123-dev for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌐 l10n Product addition The easier it is to add a product and get Nutri-Score, Eco-Score, the happier the users. 🥫 Product page
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The website field (available on the openfoodfacts.org) is missing
2 participants