Closed Bug 1854243 Opened 9 months ago Closed 9 months ago

Review checker URL bar icon disappears upon opting out

Categories

(Firefox :: Shopping, defect, P1)

Firefox 119
Desktop
All
defect

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox119 --- verified
firefox120 --- verified

People

(Reporter: asafko, Assigned: jhirsch)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-shopping])

Attachments

(1 file, 1 obsolete file)

Pre-requisites: opt-into a Firefox experience, open up a PDP with the review checker sidebar.

Steps to reproduce

  1. Opt out of the review checker via sidebar settings or by flipping a pref in about:config

Expected result

  1. Review checker sidebar is closed and user is opted out, but its URL bar icon persists.
  2. Upon clicking on the URL bar icon, the user is prompted to opt in again.

Actual result

  1. URL bar icon is no longer available to the opted-out user.
Assignee: nobody → jhirsch
No longer depends on: 1849554
Keywords: access

Turns out we incorrectly disabled the urlbar button on opt out in bug 1849159. Duping this to that bug, which will now be reverted

Status: NEW → RESOLVED
Closed: 9 months ago
Duplicate of bug: 1849159
Resolution: --- → DUPLICATE

Hmm, I think I need this bug for the commit message. So I'll just mark bug 1849159 as causing this bug as a regression.

Status: RESOLVED → REOPENED
No longer duplicate of bug: 1849159
Resolution: DUPLICATE → ---

It turns out we should have closed bug 1849159 as invalid, because we do
not want to hide the shopping button if users opt out of the feature.
We want them to be able to try the feature again in the future.

This patch reverts the commit from bug 1849159.

Severity: -- → S2
Priority: -- → P1
Attachment #9354200 - Attachment is obsolete: true
Pushed by jhirsch@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4095a9eb63f7
Display shopping button even after opting out of the experiment. r=shopping-reviewers,niklas
Status: REOPENED → RESOLVED
Closed: 9 months ago9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch

The patch landed in nightly and beta is affected.
:jhirsch, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox119 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(jhirsch)

Comment on attachment 9355156 [details]
Bug 1854243 - Display shopping button even after opting out of the experiment. r?#shopping-reviewers

Beta/Release Uplift Approval Request

  • User impact if declined: Users enrolled in the Nimbus experiment that opt out of the feature (either in the onboarding card or via the disable UI in the shopping sidebar) will not be able to try the feature again. Product wants to keep the sidebar button visible in the URLBar even after opting out, in case users want to try again.
  • 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: * Set browser.shopping.experience2023.enabled to true
  • Set browser.shopping.experience2023.optedIn to 1
  • Open a supported product page
  • Go to the sidebar settings UI and click "Turn off review checker" button
  • The urlbar button for shopping should still be visible after the sidebar is closed
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): The shopping experiment will be limited to a very small Nimbus experiment in 119; this code will not run for users not in the experiment.
  • String changes made/needed: No
  • Is Android affected?: No
Flags: needinfo?(jhirsch)
Attachment #9355156 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Verified as fixed in our latest Nightly build 120.0a1 (2023-09-28). The Review checker icon remains as disabled in the address bar after we Turn it off from the Settings card. Enabling it will correctly show the onboarding card.

Comment on attachment 9355156 [details]
Bug 1854243 - Display shopping button even after opting out of the experiment. r?#shopping-reviewers

Approved for 119.0b3

Attachment #9355156 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]
Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
Regressions: 1856619
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: