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

Weird coloration on the edit ingredients page in light mode #4924

Closed
teolemon opened this issue Dec 24, 2023 · 7 comments · Fixed by #5017
Closed

Weird coloration on the edit ingredients page in light mode #4924

teolemon opened this issue Dec 24, 2023 · 7 comments · Fixed by #5017
Assignees
Labels
🐛 bug Something isn't working good first issue Good for newcomers light mode

Comments

@teolemon
Copy link
Member

Weird coloration on the edit ingredients page in light mode

Screenshot_20231224-103456.png

@monsieurtanuki
Copy link
Contributor

It happens only on the OCR pages when there was no related uploaded photo.
@teolemon Is there a specific color or UI you would prefer? Like, a light grey background around the unknown photo logo?

@teolemon
Copy link
Member Author

  • I'm not sure why the placeholder image is cropped in that way.
  • I'm not sure tweaking the header color brings any clarity
  • Do we need to do anything specific? The button are probably enough?
  • I was a proponent of the Camera with + icon instead of the placeholder.

@monsieurtanuki
Copy link
Contributor

  • I'm not sure why the placeholder image is cropped in that way.

It is somehow cropped, and that can be fixed.

  • I'm not sure tweaking the header color brings any clarity

I meant the top half size of the screen.

  • Do we need to do anything specific? The button are probably enough?
  • I was a proponent of the Camera with + icon instead of the placeholder.

Actually there are two buttons: "choose an existing image" and "take another picture".
I would be confusing to use a single icon with two possible actions.

@teolemon If we get rid of the currently-cropped-placeholder it would look like this - would that be ok?

before after
Screenshot_1703514820 Screenshot_1703515474

@teolemon
Copy link
Member Author

  • the text should not be edge to edge
  • The buttons should both be the same height
  • the text about OCR doesn't make any sense on its own: we should maybe have more linear experience: step one take the image, step two extract the text.
  • your mockup doesn't solve the initial issue: the grey color of the header, that is not helping anyone understand anything
  • Add/Ajouter is not clear in its current form. It should probably be "add a photo"

@monsieurtanuki
Copy link
Contributor

  • the text should not be edge to edge

Indeed.

  • The buttons should both be the same height

cf. #4228

  • the text about OCR doesn't make any sense on its own: we should maybe have more linear experience: step one take the image, step two extract the text.

Indeed. Remember that step 1 can be either use an existing image or take a new picture.

  • your mockup doesn't solve the initial issue: the grey color of the header, that is not helping anyone understand anything

Indeed it doesn't. I read quickly and assumed that it was the relatively empty space with a centered cropped logo that was bothering you.

  • Add/Ajouter is not clear in its current form. It should probably be "add a photo"

You're right. In ProductImageLocalButton we use either appLocalizations.add ("Add") or appLocalizations.capture ("Capture New").
We should indeed create other explicit labels for more clarity.

@monsieurtanuki
Copy link
Contributor

The "weird coloration" will be solved by #4931.

@monsieurtanuki
Copy link
Contributor

Current status, with app bar "weird coloration" solved by #4931:

with image without image
Screenshot_1706376345 Screenshot_1706376352

Also done:

Still to do:

  • the text should not be edge to edge
  • the placeholder image shouldn't be cropped
  • "Add" is not clear in its current form. It should probably be "add a photo"
    => simplification needed in ProductImageLocalButton, where one way or the other we need some "add a photo" label

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working good first issue Good for newcomers light mode
Development

Successfully merging a pull request may close this issue.

3 participants