Add the Highlight to Search preferences and a new Nimbus variable under the search feature
Categories
(Firefox :: Search, task, P1)
Tracking
()
| 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
searchfeature
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.
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
| Assignee | ||
Updated•3 months ago
|
Updated•3 months ago
|
Comment 3•2 months ago
|
||
| bugherder | ||
Updated•2 months ago
|
Description
•