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

[$500] Chat - No gradient between the solid color and the image in the background #32441

Closed
3 of 6 tasks
kbecciv opened this issue Dec 4, 2023 · 7 comments
Closed
3 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@kbecciv
Copy link

kbecciv commented Dec 4, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 1.4.7.1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Go to staging.new.expensify.com
  2. Open any new chat.

Expected Result:

There is color gradient between the solid color and the image in the background.

Actual Result:

There is no gradient between the solid color and the image in the background.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

bandicam 2023-12-02 12-09-57-433 (1)

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01d44d0270ef23b10b
  • Upwork Job ID: 1731743109124833280
  • Last Price Increase: 2023-12-04
@kbecciv kbecciv added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 4, 2023
@melvin-bot melvin-bot bot changed the title Chat - No gradient between the solid color and the image in the background [$500] Chat - No gradient between the solid color and the image in the background Dec 4, 2023
Copy link

melvin-bot bot commented Dec 4, 2023

Triggered auto assignment to @zanyrenney (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Copy link

melvin-bot bot commented Dec 4, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01d44d0270ef23b10b

Copy link

melvin-bot bot commented Dec 4, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 4, 2023
Copy link

melvin-bot bot commented Dec 4, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @ArekChr (External)

@StefanNemeth
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

There is no gradient between the solid color and the image in the background

What is the root cause of that problem?

imgbot made an optimization to the background images which caused the colour gradient on them to break. This was already fixed in a previous PR by ignoring the file: #30512

However, due to changing the file names (by introducing a dark and light version of the background) in 5a5be5e the image was optimized by imgbot again before the files were updated in .imgbotconfig: 0feb155

What changes do you think we should make in order to solve the problem?

Reverting the automated optimization of ImgBot (67c42cb) should do the trick. Afterwards the background images won't be re-optimized due to the updated .imgbotconfig

@tienifr
Copy link
Contributor

tienifr commented Dec 5, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

There is no gradient between the solid color and the image in the background.

What is the root cause of that problem?

We ignored the new background images here but didn't restore the original background image before optimized by ImgBot. So the background image remains optimized by image bot which causes this gradient issue.

What changes do you think we should make in order to solve the problem?

  1. Restore the original background image before optimized by ImgBot, they can be found in this PR
  2. It's still a very dangerous situation to be in, this issue initially was caused by us renaming the background image without updating the ignoreFiles of ImgBot here. This can easily happen in the future as well so I'd like to make a suggestion to avoid this.

We can add a simple ESLint or check in GH workflow to detect ImgBot (and others if applicable)' ignoreFiles pattern that no longer matches any file and throw an error in the GH actions check. To resolve it the PR author must either:

  • Add the file back that matches the ignoreFiles pattern
  • Remove the ignoreFiles pattern if it's obsolete.

So similar issues to this would've been caught in the GH check before getting merged.

What alternative solutions did you explore? (Optional)

NA

@zanyrenney
Copy link
Contributor

I am not convinced this is a bug. it looks like either the expected behaviour or extreme UI polish:
2023-12-07_13-46-19

@melvin-bot melvin-bot bot removed the Overdue label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

5 participants