Closed Bug 1852354 Opened 8 months ago Closed 8 months ago

For addon and Pocket suggestions, the “Show less frequently” option is not removed from the Feedback menu if the Address Bar panel is not closed after reaching the frequency cap

Categories

(Firefox :: Address Bar, defect, P1)

defect

Tracking

()

VERIFIED FIXED
119 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox117 --- unaffected
firefox118 --- verified
firefox119 --- verified

People

(Reporter: adw, Assigned: adw)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

If you keep clicking "Show less frequently" on an addon suggestion until the cap is reached without closing the urlbar panel, the command should disappear from the menu but it doesn't. This bug isn't possible to trigger right now due to the fact there is no cap (bug 1852353).

This is the same as bug 1832826 except for addon suggestions, and the fix is the same.

Happens with Pocket suggestions too. I don't think we need a separate bug so morphing this one to include them.

Assignee: nobody → adw
Blocks: 1837096
Status: NEW → ASSIGNED
Summary: For addon suggestions, the “Show less frequently” option is not removed from the Feedback menu if the Address Bar panel is not closed after reaching the frequency cap → For addon and Pocket suggestions, the “Show less frequently” option is not removed from the Feedback menu if the Address Bar panel is not closed after reaching the frequency cap

It isn't possible to manually test this right now until we set a cap in the
remote settings config (bug 1852353), but the automated tests cover it.

Depends on D187830

Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a04c14371715
Invalidate the result menu command cache on "Show less frequently" for addon and Pocket suggestions. r=daisuke

STR for QA

  1. Enable Firefox Suggest: browser.urlbar.quicksuggest.enabled = true
  2. Type a keyword to trigger an addon suggestion, like tts
  3. In the suggestion, click the Feedback menu > Show less frequently
  4. Without closing the urlbar panel, repeat the previous step two more times, for a total of 3 times
  5. Open the Feedback menu and verify "Show less frequently" doesn't appear anymore

Please enable Pocket suggestions and repeat the STR.

  • To enable Pocket: browser.urlbar.pocket.featureGate = true
  • Example Pocket keyword: breakfast
Flags: qe-verify+
Flags: in-testsuite+
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch

Comment on attachment 9352332 [details]
Bug 1852354 - Invalidate the result menu command cache on "Show less frequently" for addon and Pocket suggestions.

Beta/Release Uplift Approval Request

  • User impact if declined: This is a fix to a minor problem for the initial release of addon suggestions in the address bar. It would be nice to fix as part of the initial release.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Please see previous comment
  • List of other uplifts needed: Bug 1852300
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This is a small patch that affects non-core functionality of addon and Pocket suggestions in the address bar. Only addon suggestions are enabled by default (starting in 118), and they are only enabled for U.S. users. The patch has tests.
  • String changes made/needed:
  • Is Android affected?: No
Attachment #9352332 - Flags: approval-mozilla-beta?
QA Whiteboard: [qa-triaged]

Comment on attachment 9352332 [details]
Bug 1852354 - Invalidate the result menu command cache on "Show less frequently" for addon and Pocket suggestions.

Approved for 118.0b9 (last beta) thanks.

Attachment #9352332 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified as fixed with 118.0b9 (treeherder), 119.0a1 (2023-09-13) on Windows 10, Ubuntu 22, Mac 13.

See Also: → 1881073
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: