Closed Bug 2068328 Opened 3 months ago Closed 2 months ago

Add the Highlight to Search preferences and a new Nimbus variable under the search feature

Categories

(Firefox :: Search, task, P1)

task

Tracking

()

RESOLVED FIXED
157 Branch
Tracking Status
firefox157 --- fixed

People

(Reporter: scunnane, Assigned: scunnane)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sng][highlight-to-search])

Attachments

(1 external file)

Introduce the preferences the Highlight to Search feature will be built on, plus a new variable under the existing Nimbus search feature that controls its rollout. Nothing reads these yet; the decoupling work that consumes them is filed separately.

Prefs in browser/app/profile/firefox.js:

  • browser.highlightToSearch.featureGate - false. Whether the feature exists at all. Flipped by Nimbus on the default branch.
  • browser.highlightToSearch.enabled - true. The user's own setting, backing the Settings checkbox and the menu's "Hide menu" item.
  • browser.highlightToSearch.search.enabled - true.
  • browser.highlightToSearch.copy.enabled - true.

The gate and the user setting are deliberately separate prefs, following the way browser.urlbar.weather.featureGate and browser.urlbar.suggest.weather work together. Collapsing them would let a user-branch write from the Settings checkbox override the experiment's default-branch value, so anyone who had ever touched the checkbox would drop out of the experiment.

Nimbus update in toolkit/components/nimbus/FeatureManifest.yaml:

  • Will hang off the existing search feature

The existing chatbot Nimbus feature cannot be reused: it has hasExposure: false, and its prefs variable is namespaced to browser.ml.chat.* so it cannot reach these prefs.

Severity: -- → N/A
Whiteboard: [sng] → [sng][highlight-to-search]
Summary: Add the Highlight to Search preferences and Nimbus feature definition → Add the Highlight to Search preferences and a new Nimbus variable under the search feature
Attachment #9635666 - Attachment description: Bug 2068328 - Add preferences and Nimbus feature definition for the Highlight to Search project. r?#search-reviewers! → Bug 2068328 - Add the Highlight to Search preferences and a new Nimbus variable under the search feature. r?#search-reviewers!
Blocks: 2069144
Blocks: 2069147
Blocks: 2069150
Pushed by scunnane@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/17f5af33864b https://hg.mozilla.org/integration/autoland/rev/507c7f5c821d Add the Highlight to Search preferences and a new Nimbus variable under the search feature. r=search-reviewers,Standard8
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
QA Whiteboard: [qa-triage-done-c158/b157]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: