Closed Bug 1814732 Opened 2 years ago Closed 2 years ago

Move weather suggestions to their own provider

Categories

(Firefox :: Address Bar, task, P1)

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: adw, Assigned: adw)

References

Details

Attachments

(1 file)

In preparation for keyword-based weather suggestions, it would be helpful to move them to their own provider.

This moves weather suggestions from the quick suggest provider to their own
provider. This will make it easier to implement weather suggestions that are
triggered by keyword instead of being shown on zero-prefix.

It does the following:

  • Copies UrlbarProviderQuickSuggest.sys.mjs to UrlbarProviderWeather.sys.mjs
  • Removes everything weather-related from UrlbarProviderQuickSuggest.sys.mjs
  • Removes everything not weather-related from UrlbarProviderWeather.sys.mjs
  • Makes some simplifications to the new provider since it doesn't need to
    support quick suggest suggestions
  • Removes result.payload.isWeather since now we can use result.providerName
  • This does not change any telemetry
Blocks: 1814795
Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0b6edbb179a Move weather suggestions to their own provider. r=daisuke
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Regressions: 1815490
Flags: qe-verify-
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: