Closed Bug 1910911 Opened 7 months ago Closed 7 months ago

Single Tap for Search: Enable/disable focus on toolbar flag from Nimbus

Categories

(Fenix :: Experimentation and Telemetry, task, P3)

All
Android
task

Tracking

(firefox131 fixed)

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: tjorjani, Assigned: tjorjani)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group2])

Attachments

(1 file)

Step 1: Add the feature flag to the manifest. For example:

one-click-search:
  description: Enable/disable the one click search feature.
  variables:
    enabled:
      description: If true, the one click search will be enabled.
      type: Boolean
      default: false

Step 2: Update HomeFragment.kt to use the experiment flag to enable/disable focusing on the address bar. For example:

val enableOneClickSearch = FxNimbus.features.oneClickSearch.value().enabled
val focusOnAddressBar = if(enableOneClickSearch){
    true
} else {
    bundleArgs.getBoolean(FOCUS_ON_ADDRESS_BAR)
}
val searchFragmentShouldBeAdded = !isConfigChange && focusOnAddressBar
Severity: -- → N/A
Priority: -- → P3
Whiteboard: [fxdroid][group2]
No longer blocks: 1910889
Assignee: nobody → tjorjani
Blocks: 1910889
Regressions: 1910916
Blocks: 1910916
No longer regressions: 1910916
Pushed by icedicedcoffee@proton.me: https://hg.mozilla.org/integration/autoland/rev/21c69876553e Enable/disable Focus on Address Bar flag from Nimbus. r=android-reviewers,twhite
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: