Closed Bug 1705506 Opened 5 years ago Closed 5 years ago

Proton new user onboarding background should fallback to solid background color when fail to load bkg image

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
90 Branch
Iteration:
90.1 - Apr 19 - May 2
Tracking Status
firefox89 --- verified
firefox90 --- verified

People

(Reporter: pdahiya, Assigned: pdahiya)

References

Details

(Whiteboard: [proton-onboarding][proton-uplift])

Attachments

(1 file)

Noticed in Nightly , failed to load avif was causing background to not use radial gradient set below

https://searchfox.org/mozilla-central/source/browser/components/newtab/content-src/aboutwelcome/aboutwelcome.scss#533

Scope of this bug is to gracefully fallback to use gradient colors when bkg image doesn't load

Assignee: nobody → pdahiya
Severity: -- → S3
Iteration: --- → 90.1 - Apr 19 - May 2
Priority: -- → P1
Priority: P1 → P2
Summary: Proton new user onboarding background should fallback to radial gradient when fail to load bkg image → Proton new user onboarding background should fallback to solid background color when fail to load bkg image
Attachment #9217306 - Attachment description: WIP: Bug 1705506 - Add background color to handle failure to load background image → Bug 1705506 - Add background color to handle failure to load background image
Priority: P2 → P1
Pushed by pdahiya@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/15dd8c3891fb Add background color to handle failure to load background image r=emcminn
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

Comment on attachment 9217306 [details]
Bug 1705506 - Add background color to handle failure to load background image

Beta/Release Uplift Approval Request

  • User impact if declined: Failure to load background image will show light background making content unreadable
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: 1) Open about:welcome
  1. Right Click -> inspect -> search HTML for 'proton-bkg.webp'
  2. change "chrome://activity-stream/content/data/content/assets/proton-bkg.webp" URL in background-image to any test url to simulate image load failure
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Small patch changing background-color in CSS
  • String changes made/needed: None
Attachment #9217306 - Flags: approval-mozilla-beta?
Whiteboard: [proton-uplift]

I have verified this enhancement and I can confirm that the background of the Onboarding page fallback to a dark color gradient and all the page elements are fully visible.

Verified using the latest Firefox Nightly (90.0a1 Build ID - 20210427221830) installed on Windows 10 x64, Mac 10.15.7, and Linux Mint 20 x64.

Status: RESOLVED → VERIFIED

Comment on attachment 9217306 [details]
Bug 1705506 - Add background color to handle failure to load background image

Approved for 89 beta 6, thanks.

Attachment #9217306 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Whiteboard: [proton-uplift] → [proton-onboarding][proton-uplift]

I have verified this enhancement and I can confirm that the background of the Onboarding page fallback to a dark color gradient and all the page elements are fully visible.

Verified using the latest Firefox Beta (89.0b7 Build ID - 20210502185943) installed on Windows 10 x64, Mac 10.15.7, and Linux Mint 20 x64.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: