Closed Bug 2021055 Opened 2 months ago Closed 2 months ago

trainhopConfig value overrides weather.display value when set by a user

Categories

(Firefox :: New Tab Page, task)

task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: maxx, Assigned: maxx)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

STR:

  1. Install Nimbus devtools
  2. Enroll in the following via newtabConfig:
{
  "type": "multi-payload",
  "payload": [
    {
      "type": "widgets",
      "payload": {
        "enabled": true,
        "weatherForecastEnabled": true 
      }
    },
    {
      "type": "weather",
      "payload": {
        "enabled": true,
        "display": "detailed",
        "reportEndpoint": "https://merino.services.mozilla.com/api/v1/suggest",
        "hourlyEndpoint": "https://merino.services.mozilla.com/api/v1/weather/hourly-forecasts"
      }
    }
  ]
}
  1. Open a new tab
  2. Expected: The weather widget should be visible/working
  3. Click the "..." context menu on the Weather Forecast widget
  4. Click the "Switch to simple view" button
  5. Expected: The widget switches to "mini" mode and moves from the widget row to the top-right corner
  6. Actual: Nothing happens.
Assignee: nobody → mcrawford
Status: NEW → ASSIGNED
Pushed by sdowne@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f856cb35fbcc https://hg.mozilla.org/integration/autoland/rev/172154e84db6 Add logic to respect user-choice prefs for weather.display pref r=home-newtab-reviewers,thecount
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/22d04b52b0eb https://hg.mozilla.org/mozilla-central/rev/1d592808e38f Add logic to respect user-choice prefs for weather.display pref r=home-newtab-reviewers,thecount
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: