The “Show less frequently” option is not removed from the Feedback menu if the Address Bar panel is not closed after clicking it more times than the set cap value
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
People
(Reporter: cfat, Assigned: adw)
References
Details
(Whiteboard: [sng])
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
[Affected versions]:
- Firefox Nightly 125.0a1 - Build ID: 20240220094730
- Firefox Beta 124.0b1 - Build ID: 20240219092531
[Affected Platforms]:
- Windows 10 x64
- macOS 12.6.1
- Linux Ubuntu 20.04 x64
[Prerequisites]:
- Have the following prefs set with the values to enable the feature:
browser.search.region
= US (connect to a VPN server if outside the US)
nimbus.debug
= true - Switch to the Stage server using the Remote Settings Devtools addon.
[Steps to reproduce]:
- Open the browser with the profile from the prerequisites.
- Copy and paste the following link in order to force enroll in the Yelp suggestions experiment:
about:studies?optin_slug=qa-2280-yelp-suggestions-qa&optin_branch=treatment-suggest&optin_collection=nimbus-preview
- Restart the browser.
- Type the “arcade” string in the Address Bar.
- Click the “Feedback” button from the Yelp suggestion.
- Click the “Show less frequently” option.
- Repeat steps 5 and 6 for at least 2 more times.
- Click the Feedback button.
- Observe the menu options.
[Expected result]:
- The “Show less frequently” option is no longer available.
[Actual result]:
- The “Show less frequently” option remains displayed.
[Notes]:
- The
browser.urlbar.yelp.showLessFrequentlyCount
pref registers only one click when the Address Bar results panel is open. To register the next click, the user has to close the Address Bar results panel and then trigger the Yelp suggestion again. - This issue affects Yelp results displayed on both Top Pick and Firefox Suggest locations.
- Here is a screen recording of the issue.
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 1•9 months ago
|
||
The problem is that show_less_frequently
is misspelled. That doesn't cause the
first "Show less frequently" click to fail, but it does cause later clicks to
fail as long as the urlbar session remains ongoing (i.e., the view remains
open). That's because TelemetryEvent
has a hardcoded check for
show_less_frequently
when it determines whether the session is still ongoing.
This check fails due to the misspelling, so TelemetryEvent
thinks the session
has ended, which messes up later events and commands.
This makes a few related improvements:
- Support the
showLessFrequentlyCap
in the remote settings config for Yelp - Add a "Show less frequently" task to the Yelp test. This uses the existing
doShowLessFrequentlyTests()
helper, which requires the related getters
and methods to be public.
Comment 3•9 months ago
|
||
Backed out on request
Backout: https://hg.mozilla.org/integration/autoland/rev/2fa632f82ed1de0ba2ae7057da10e029baa1eccd
Assignee | ||
Updated•9 months ago
|
Updated•9 months ago
|
Comment 5•9 months ago
|
||
bugherder |
Reporter | ||
Comment 6•9 months ago
|
||
I have verified this issue on the latest Firefox Nightly 125.0a1 (Build ID: 20240222100216) on Windows 10 x64, Ubuntu 20.04 x64, and macOS 13.1.
- The “Show less frequently” option from the Yelp suggestion Feedback menu is not displayed anymore once the frequency cap is hit.
Comment 7•9 months ago
|
||
The patch landed in nightly and beta is affected.
:adw, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox124
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 8•9 months ago
|
||
Comment on attachment 9381876 [details]
Bug 1881073 - Update Yelp suggestions "Show less frequently" behavior.
Beta/Release Uplift Approval Request
- User impact if declined: This is necessary for the Yelp suggestions experiment that will target 124.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Should be clear from previous comments
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Only affects Yelp suggestions, which are disabled by default. Has tests.
- String changes made/needed:
- Is Android affected?: No
Assignee | ||
Updated•9 months ago
|
Comment 9•9 months ago
|
||
Comment on attachment 9381876 [details]
Bug 1881073 - Update Yelp suggestions "Show less frequently" behavior.
Approved for 124.0b5
Comment 10•9 months ago
|
||
uplift |
Updated•9 months ago
|
Updated•9 months ago
|
Reporter | ||
Comment 11•9 months ago
|
||
I have verified this issue on the latest Firefox Beta 124.0b5 (Build ID: 20240228091714) on Windows 10 x64, Ubuntu 20.04 x64, and macOS 12.6.1.
- The “Show less frequently” option from the Yelp suggestion Feedback menu is not displayed anymore once the frequency cap is hit.
Assignee | ||
Updated•9 months ago
|
Updated•9 months ago
|
Description
•