Closed Bug 1890136 Opened 2 years ago Closed 2 years ago

Home and newtab weather widget UI

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

VERIFIED FIXED
127 Branch
Tracking Status
firefox127 --- verified

People

(Reporter: thecount, Assigned: maxx)

References

(Blocks 1 open bug)

Details

(Whiteboard: [hnt])

Attachments

(2 files, 1 obsolete file)

The previous bug 1886833 was for the feed, caching, prefs, and management for the weather data.

This ticket is to display it, the UI, telemetry, menus, etc.

Whiteboard: [hnt]
Assignee: sdowne → mcrawford
Depends on: 1891769
No longer depends on: 1886833

This commit adds the component - including markup, logic and styles for the weather widget on the New Tab page

Attachment #9397226 - Attachment description: WIP: Bug 1890136 - Home and newtab adding weather widget UI → Bug 1890136 - Add preferences, hook up toggle button on new tab customization panel and about:preferences#home r?#home-newtab-reviewers
Attachment #9399134 - Attachment description: WIP: Bug 1890136 - Add weather widget component → Bug 1890136 - Add weather widget component r=#home-newtab-reviewers
Attachment #9398205 - Attachment is obsolete: true
Attachment #9399134 - Attachment description: Bug 1890136 - Add weather widget component r=#home-newtab-reviewers → WIP: Bug 1890136 - Add weather widget component
Attachment #9399134 - Attachment description: WIP: Bug 1890136 - Add weather widget component → Bug 1890136 - Add weather widget component r=#home-newtab-reviewers
Attachment #9399134 - Attachment is obsolete: true
Attachment #9399134 - Attachment is obsolete: false
Depends on: 1895797
Pushed by sdowne@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b8a8c556d9d Add preferences, hook up toggle button on new tab customization panel and about:preferences#home r=thecount,fluent-reviewers,home-newtab-reviewers,bolsson,settings-reviewers,nanj,Gijs
Pushed by sdowne@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/02889617de40 Add weather widget component r=home-newtab-reviewers,omc-reviewers,aminomancer,thecount
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch

I have verified this issue using Firefox Nightly 127.0a1 (try build downloaded from treeherder), Build ID: 20240510095250 by setting the "browser.newtabpage.activity-stream.showWeather" and "browser.newtabpage.activity-stream.system.showWeather" prefs to true and by having a VPN solution connected to US.
I can confirm the following:

  • The weather widget is successfully displayed on the new tab, the "Weather" section is successfully displayed in the sidebar menu and on the "about:preferences#home" page.
  • The options from the contextual menu of the weather widget are actionable and perform the expected actions (Switch to Celsius/Fahrenheit, Switch to Simple/Detailed view, Hide Weather on New Tab, Learn More).
Status: RESOLVED → VERIFIED
Blocks: 1896182
Blocks: 1896673
Blocks: 1896677
Blocks: 1896678
Blocks: 1896681
Blocks: 1897799
Depends on: 1898275
Blocks: 1898275
No longer depends on: 1898275
Depends on: 1899848
Blocks: 1900698
No longer depends on: 1896851
See Also: → 1896851
Blocks: 1997459
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: