openfoodfacts / smooth-app

🤳🥫 The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo
Apache License 2.0
853 stars 282 forks source link

Use attribute setting_name (e.g. "Low salt") instead of name ("Salt") in preferences menu #890

Closed stephanegigandet closed 2 years ago

stephanegigandet commented 2 years ago

What

Part of

Screenshots

on the app

image

on the website

image

stephanegigandet commented 2 years ago

Another option is to change the label from "Mandatory" to "Very important", which would be less confusing.

monsieurtanuki commented 2 years ago

@stephanegigandet I understand your point. Your "another option" is easier to implement - does it look good?

Before: Simulator Screen Shot - iPhone 8 Plus - 2022-01-07 at 18 01 16

After: Simulator Screen Shot - iPhone 8 Plus - 2022-01-07 at 18 03 49

monsieurtanuki commented 2 years ago

OK it fits on the screen. There's still confusion with the importance levels, compared to the website:

What if we used settingName and kept mandatory mandatory? Simulator Screen Shot - iPhone 8 Plus - 2022-01-07 at 18 22 37

teolemon commented 2 years ago

Mandatory should remain mandatory, for allergens

monsieurtanuki commented 2 years ago

Then it will be the latest option, with longer attribute labels. Doesn't look very good though, many labels are on 2 and even 3 lines. The importance button with label is too big.

A suggestion: Simulator Screen Shot - iPhone 8 Plus - 2022-01-07 at 20 12 24

stephanegigandet commented 2 years ago

Then it will be the latest option, with longer attribute labels. Doesn't look very good though, many labels are on 2 and even 3 lines.

I like it with smaller text indeed (and long attribute labels), the current text is way too big (on my phone at least).

cli1005 commented 2 years ago

I suppose that this issue only takes care of the text, since the button is too complicated to manage without UI/UX design ( according to issue #1301)... We've made a final decision? We replace all names by settingNames? or we might display both if name and settingName does not have the same value as following?

Simulator Screen Shot - iPhone 13 - 2022-03-23 at 17 29 40

teolemon commented 2 years ago

Here's a temporary solution. It takes more vertical space, but it's text safe, allows for explanatory tooltips, and using long wordings (e.g. "Low salt") instead of name ("Salt")

Infotips - wide
M123-dev commented 2 years ago

Not really satisfyed with this solution altough it's just temporary

cli1005 commented 2 years ago

According to a discussion made with @teolemon, we will apply the solution proposed by @monsieurtanuki (https://github.com/openfoodfacts/smooth-app/issues/890#issuecomment-1007589240) as a temporary solution while waiting for the final UI/UX design: