Closed Bug 1488923 Opened 6 years ago Closed 6 years ago

When notifying listeners that a study is ending, include the reason why the study is ending

Categories

(Firefox :: Normandy Client, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 64
Tracking Status
firefox63 --- fixed
firefox64 --- fixed

People

(Reporter: mythmon, Assigned: mythmon)

References

Details

Attachments

(1 file)

In Bug 1481918, we added an event to notify study add-ons about their impending uninstallation. It does not, however tell the listeners *why* the study is ending. This makes it impossible to tell the difference between a user clicking unenroll in about:studies and the study ending naturally. We should pass the reason already provided for stopping a study down to the listener.
Assignee: nobody → mcooper
Status: NEW → ASSIGNED
Comment on attachment 9010058 [details]
Bug 1488923 - When notifying listeners that a study is ending, include the reason why the study is ending

Andrew Swan [:aswan] has approved the revision.
Attachment #9010058 - Flags: review+
Pushed by mcooper@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8281e74d9d7e
When notifying listeners that a study is ending, include the reason why the study is ending r=aswan
https://hg.mozilla.org/mozilla-central/rev/8281e74d9d7e
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Comment on attachment 9010058 [details]
Bug 1488923 - When notifying listeners that a study is ending, include the reason why the study is ending

Approval Request Comment
[Feature/Bug causing the regression]: Not a regression, but related to bug 1481918

[User impact if declined]: No user impact. Shield studies will be unable to distinguish between different reasons for a study ending.

[Is this code covered by automated tests?]: Yes

[Has the fix been verified in Nightly?]: No, the consumers of this API are waiting for this change.

[Needs manual test from QE? If yes, steps to reproduce]: No

[List of other uplifts needed for the feature/fix]: None

[Is the change risky?]: No

[Why is the change risky/not risky?]: The codes only consumers are Shield studies that have yet to be written, and they are waiting for this change.

[String changes made/needed]: None.
Attachment #9010058 - Flags: approval-mozilla-beta?
Comment on attachment 9010058 [details]
Bug 1488923 - When notifying listeners that a study is ending, include the reason why the study is ending

Minimal patch helping us getting better results from shield studies, uplift approved for 63 beta 8, thanks.
Attachment #9010058 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: