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

Add an option to keep the nutrition table expanded #2364

Closed
teolemon opened this issue Jun 23, 2022 · 1 comment · Fixed by #2634
Closed

Add an option to keep the nutrition table expanded #2364

teolemon opened this issue Jun 23, 2022 · 1 comment · Fixed by #2634

Comments

@teolemon
Copy link
Member

teolemon commented Jun 23, 2022

What

  • Add an option in the App settings to keep the nutrition table knowledge panel expanded, regardless of the instruction sent by the Knowledge Panel API
  • We can probably add the same option for ingredients
@teolemon teolemon added this to the V1.1 milestone Jun 23, 2022
@cli1005 cli1005 self-assigned this Jun 24, 2022
@cli1005
Copy link
Contributor

cli1005 commented Jun 27, 2022

Two options with default value = true have been added in the App Setting, Please tell me if it is not OK for you:

Image

Simulator.Screen.Recording.-.iPhone.13.-.2022-06-25.at.23.33.45.mp4

cli1005 added a commit to cli1005/smooth-app that referenced this issue Jun 27, 2022
cli1005 added a commit to cli1005/smooth-app that referenced this issue Jun 27, 2022
cli1005 added a commit to cli1005/smooth-app that referenced this issue Jun 27, 2022
cli1005 added a commit to cli1005/smooth-app that referenced this issue Jun 28, 2022
cli1005 added a commit to cli1005/smooth-app that referenced this issue Jun 29, 2022
cli1005 added a commit to cli1005/smooth-app that referenced this issue Jul 1, 2022
monsieurtanuki added a commit to monsieurtanuki/smooth-app that referenced this issue Jul 20, 2022
…nutrition expand mode

Impacted files:
* `app_en.arb`: added labels for preferences toggles (ingredients and nutrition)
* `knowledge_panel_card.dart`: now uses the new expand flags to expand the contents (or not)
* `user_preferences_settings.dart`: added 2 preferences toggles (expand ingredients / nutrition)
monsieurtanuki added a commit that referenced this issue Jul 22, 2022
…and mode (#2634)

Impacted files:
* `app_en.arb`: added labels for preferences toggles (ingredients and nutrition)
* `knowledge_panel_card.dart`: now uses the new expand flags to expand the contents (or not)
* `user_preferences_settings.dart`: added 2 preferences toggles (expand ingredients / nutrition)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment