Closed Bug 1829039 Opened 1 year ago Closed 1 year ago

Updated embedded migration wizard styles to match figma

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
115 Branch
Iteration:
115.1 - May 8 - May 19
Tracking Status
firefox114 + verified
firefox115 --- verified

People

(Reporter: pdahiya, Assigned: nsauermann)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file, 1 obsolete file)

Scope of this bug is to implement UI fixes - embedded migration wizard UI in shorter window width responsive layout, font sizes as per figma

https://www.figma.com/file/c83OEio9DhCQKuabx2tIEl/NUO-Experiments-2023?node-id=976-31535

and UI specific feedback from base patch https://phabricator.services.mozilla.com/D175945#5802326

https://phabricator.services.mozilla.com/D175945#inline-973585

Blocks: 1828993
Depends on: 1820640
Assignee: nobody → nsauermann
Severity: -- → S3
Iteration: --- → 114.2 - Apr 24 - May 5
Priority: -- → P1
Assignee: nsauermann → nobody
Assignee: nobody → nsauermann
Status: NEW → ASSIGNED

I believe we can get the sizes we want, proportional to the default font size settings in about:welcome, by setting font-size: 0.83em on the migration-wizard element within the about:welcome CSS.

Bug 1829733 should also bring the checkbox spacing closer to the spec.

Depends on: 1829733
Attachment #9330050 - Attachment description: WIP: Bug 1829039 - Updates embedded migration wizard styles to match figma → Bug 1829039 - Updates embedded migration wizard styles to match figma
Attachment #9330050 - Attachment description: Bug 1829039 - Updates embedded migration wizard styles to match figma → WIP: Bug 1829039 - Updates embedded migration wizard styles to match figma
Attachment #9330050 - Attachment description: WIP: Bug 1829039 - Updates embedded migration wizard styles to match figma → Bug 1829039 - Updates embedded migration wizard styles to match figma
Pushed by nsauermann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cdaa6a0312f0 Updates embedded migration wizard styles to match figma r=aminomancer,mconley
Attachment #9330050 - Attachment description: Bug 1829039 - Updates embedded migration wizard styles to match figma → WIP: Bug 1829039 - Updates embedded migration wizard styles to match figma
Attachment #9330050 - Attachment description: WIP: Bug 1829039 - Updates embedded migration wizard styles to match figma → Bug 1829039 - Updates embedded migration wizard styles to match figma
Pushed by nsauermann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/72f882230f63 Updates embedded migration wizard styles to match figma r=aminomancer,mconley

Backed out for causing mochitests failures in browser_aboutwelcome_multistage_mr.js.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_aboutwelcome_multistage_mr.js | Panel should be tightly anchored to the bottom of the button shadow node. - 275.2833251953125 == 0 - got 275.2833251953125, expected 0 (operator ==)

Now also seems to be only on OS X.

Flags: needinfo?(nsauermann)

Sorry about that again! I'm unable to replicate the issue locally and it didn't catch the failure on my try run. Will be landing a (hopefully) fix for this failure shortly.

Flags: needinfo?(nsauermann)
Pushed by nsauermann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/743c4f059b79 Updates embedded migration wizard styles to match figma r=aminomancer,mconley

The patch should not be backed out actually, this seems to be an earlier regression that just wasn't caught previously (bug 1831174)

Backed out for causing bc failures in browser_aboutwelcome_multistage_mr.js

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_aboutwelcome_multistage_mr.js | Panel should be tightly anchored to the bottom of the button shadow node. - 284.5333557128906 == 0 - got 284.5333557128906, expected 0 (operator ==)
Flags: needinfo?(nsauermann)

The failure is not caused by this patch, see bug 1831174.

Flags: needinfo?(nsauermann)

I will wait for the backfills and reland it if necessary in a bit.

Ah, I should have looked more closely at it. We'll get to the bottom of it, thanks.

Interesting that between Win 7 and macOS, the difference is consistently around 280. I wonder where that's coming from, could that be the height of the migration-wizard itself? Maybe removing the setpref that disables transitions is worth a try. Instead of disabling transitions, just wait for the transition to finish. Otherwise we could try just waiting for an arbitrary length of time.

(In reply to Shane Hughes [:aminomancer] from comment #17)

Ah, I should have looked more closely at it. We'll get to the bottom of it, thanks.

Interesting that between Win 7 and macOS, the difference is consistently around 280. I wonder where that's coming from, could that be the height of the migration-wizard itself? Maybe removing the setpref that disables transitions is worth a try. Instead of disabling transitions, just wait for the transition to finish. Otherwise we could try just waiting for an arbitrary length of time.

Sounds good, I'll give that a shot! (And my mistake didn't catch the perma failure either)

Flags: needinfo?(nsauermann)
Regressions: 1831174
Iteration: 114.2 - Apr 24 - May 5 → 115.1 - May 8 - May 19
Duplicate of this bug: 1831974

Perma failure for win7 should be addressed in the most recent patch update, sorry for the back and forth with this one!

Pushed by nsauermann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/67d785ab3cb3 Updates embedded migration wizard styles to match figma r=aminomancer

Backed out for causing node-newtab failure on aboutwelcome.scss

Backout link

Push with failures

Failure log

Flags: needinfo?(nsauermann)

Sorry about that, linting failure should be fixed now.

Flags: needinfo?(nsauermann)
Pushed by nsauermann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f1e19e0fa144 Updates embedded migration wizard styles to match figma r=aminomancer

Backed out changeset f1e19e0fa144 (Bug 1829039) as requested by aminomancer.

Backout link: https://hg.mozilla.org/integration/autoland/rev/d91b5b3708383805f3997838c0093d4d221d034a

Flags: needinfo?(nsauermann)
Pushed by nsauermann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/86f74f61adc0 Updates embedded migration wizard styles to match figma r=aminomancer

So sorry about that, I did not push up the correct linting failure changes! This should hopefully be the last push.

Flags: needinfo?(nsauermann)

Just want to callout that the macOS intermittent was not resolved in this patch that was filed in 1831974 and seems unrelated to this patch's changes.

Pushed by nsauermann@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7de75b83935f Updates embedded migration wizard styles to match figma r=aminomancer,mconley
No longer duplicate of this bug: 1831974

[Tracking Requested - why for this release]:
This patch is required for embedded import wizard for new user onboarding flow in Fx114

Flags: qe-verify+
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch

Comment on attachment 9330050 [details]
Bug 1829039 - Updates embedded migration wizard styles to match figma

Beta/Release Uplift Approval Request

  • User impact if declined: This adds necessary CSS styling for the embedded migration wizard, which is blocking its release for Fx114
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: Bug 1829043
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This patch introduces simple CSS changes and updates to the applicable browser test for the embedded migration wizard which is currently behind a pref
  • String changes made/needed: No
  • Is Android affected?: No
Attachment #9330050 - Flags: approval-mozilla-beta?
QA Whiteboard: [qa-triaged]

Comment on attachment 9330050 [details]
Bug 1829039 - Updates embedded migration wizard styles to match figma

Approved for 114 beta 3, thanks.

Attachment #9330050 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

I have verified this enhancement using the "browser.migrate.content-modal.about-welcome-behavior" pref set to "embedded" and I can confirm the following:

  • The Variant 1 of the Import flow from the Figma specification is displayed if the "browser.migrate.content-modal.enabled" pref is set to "true"
  • The Variant 2 of the Import flow from the Figma specification is displayed if the "browser.migrate.content-modal.import-all.enabled" pref is set to "true"

Verified using the latest Firefox Nightly (115.0a1 Build ID - 20230512094914) and latest Firefox Beta (114.0b3 Build ID - 20230511191645) installed on Windows 10 x64, macOS 12.6.1, and Ubuntu 22.04 x64.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Attachment #9330504 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: