Closed Bug 1810250 Opened 1 year ago Closed 1 year ago

Add weather icons for weather suggestions

Categories

(Firefox :: Address Bar, task, P1)

Firefox 110
task

Tracking

()

VERIFIED FIXED
111 Branch
Tracking Status
firefox110 + fixed
firefox111 --- verified
firefox112 --- verified
firefox113 --- verified

People

(Reporter: mcheang, Assigned: mcheang)

References

Details

(Whiteboard: [snt])

Attachments

(1 file, 1 obsolete file)

No description provided.
See Also: → 1808974

This patch receives a weather icon id from our merino server. We then use that
icon id and map it to a specific weather icon svg file within
urlbar-dyanmic-result.css.

This patch receives a weather icon id from our merino server. We then use that
icon id and map it to a specific weather icon svg file within
urlbar-dyanmic-result.css.

Attachment #9312468 - Attachment is obsolete: true

Comment on attachment 9312285 [details]
Bug 1810250 - Add weather icons for weather suggestions in the urlbar.r=adw

Beta/Release Uplift Approval Request

  • User impact if declined: We want to get the icons out to beta users for weather suggestions in the urlbar for foxfooding in beta. If this patch is declined, the user will see a star placeholder for the weather icon and not the actual weather icon, such as rainy, sunny, snowy, etc.

This code is not covered by automated test because it only contains changes for ui styling by adding svg files. There is already existing code for weather suggestions in place else where.

  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This patch is not risky because it only invovles UI updates by adding the weather icon svg files. There's no potential for this patch to block the functioning of the urlbar.
  • String changes made/needed: N/A
  • Is Android affected?: No
Attachment #9312285 - Flags: approval-mozilla-beta?

[Tracking Requested - why for this release]:

Pushed by mcheang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dfce1bce524c
Add weather icons for weather suggestions in the urlbar.r=adw,desktop-theme-reviewers,dao DONTBUILD

Comment on attachment 9312285 [details]
Bug 1810250 - Add weather icons for weather suggestions in the urlbar.r=adw

Not approving for beta as it was backed out on mozilla-central.

Attachment #9312285 - Flags: approval-mozilla-beta? → approval-mozilla-beta-

Thanks for backing it out. I've identified the failure and I am fixing it currently.

Flags: needinfo?(mcheang)

Okay I've updated my patch with the fix.

Pushed by mcheang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/25e2cd2ef53f
Add weather icons for weather suggestions in the urlbar.r=adw,desktop-theme-reviewers,dao

Comment on attachment 9312285 [details]
Bug 1810250 - Add weather icons for weather suggestions in the urlbar.r=adw

I fixed the test failure for test_weather.js and pushed to TRY: https://treeherder.mozilla.org/jobs?repo=try&revision=e3d27beb84d439a1ae21740c1ad99b58dc692b8f&selectedTaskRun=aSFmhvY_RGqunDdlLS_p_Q.0

After investigating, the other tests seem unrelated to this patch.
Re-requesting beta uplift.

Flags: needinfo?(pascalc)
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: 110 Branch → 111 Branch

Comment on attachment 9312285 [details]
Bug 1810250 - Add weather icons for weather suggestions in the urlbar.r=adw

Approved for 110 beta 3, thanks

Flags: needinfo?(pascalc)
Attachment #9312285 - Flags: approval-mozilla-beta- → approval-mozilla-beta+
Depends on: 1808974
See Also: 1808974
Blocks: 1815018

I have verified this issue on Firefox Release 111.0.1 (Build ID: 20230321111920) on Firefox Beta 112.0b9 (Build ID: 20230330182947) and the latest Nightly 113.0a1 (Build ID: 20230402214746) on Windows 10 x64, macOS 12.4 and Linux Ubuntu 20.04 x64.

  • An icon is displayed each time a weather result is triggered.
  • The icon is specific to the described forecast in the weather result.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: