Commit Graph

421 Commits

Author SHA1 Message Date
Shane Hughes
fe799a22d0 Bug 1931562 - Remove RC churn microsurvey. r=emcminn,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D244064
2025-04-01 21:24:03 +00:00
Joel Maher
34dc8fc793 Bug 1957450 - cleanup chrome.toml files to remove old conditions and standardize remaining conditions. r=aryx,devtools-reviewers,fxview-reviewers,profiler-reviewers,omc-reviewers,migration-reviewers,backup-reviewers,julienw,nchevobbe,mconley,pdahiya,nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D243709
2025-04-01 21:16:45 +00:00
Emily McMinn
31c83f3c1e Bug 1950468 - Add "tabGroupCollapsed" trigger to messaging system and update schema entries r=omc-reviewers,aminomancer,tabbrowser-reviewers,sthompson
Differential Revision: https://phabricator.services.mozilla.com/D241304
2025-04-01 15:44:11 +00:00
Cosmin Sabou
76d33e1b6c Backed out 5 changesets (bug 1955169) for causing xpcshell failures on test_RemoteSettingsExperimentLoader_updateRecipes. CLOSED TREE
Backed out changeset 2260624d1529 (bug 1955169)
Backed out changeset 6f249fd9c97e (bug 1955169)
Backed out changeset 04666fa6a9a4 (bug 1955169)
Backed out changeset 6c18b6e1178a (bug 1955169)
Backed out changeset 669a93c90421 (bug 1955169)
2025-03-31 22:51:10 +03:00
Beth Rennie
f0fb022626 Bug 1955169 - Simplify recording of enrollment status telemetry r=omc-reviewers,nimbus-reviewers,aminomancer,chumphreys,application-update-reviewers,nalexander
Previously we were recording enrollment status telemetry everywhere we
were calling into `enroll` and `_unenroll` from onRecipe and
`updateEnrollment`. Now we record the enrollment status telemetry from
inside `NimbusTelemetry.recordEnrollment` and
`NimbusTelemetry.recordUnenrollment`, so that the enrollment status
telemetry is recorded from *every* enrollment event, not just during
`RemoteSettingsExperimentLoader.updateRecipes()`.

To help with this, a new helper has been added, `UnenrollmentCause`,
which carries all the metadata required to unenroll from an experiment
(similar how `CheckRecipeResult` carries all the metadata for enrollment
and updating enrollment) and to submit the corresponding telemetry. Now
instead of calling `unenroll()` with a reason string, you must call it
with an object returned from one of the `UenrollmentCause` utilities.
All tests that were calling `unenroll()` with a string like
"test" or "cleanup" have been updated to remove the reason string. When
it is not present, the `UnenrollmentCause` will default to an "unknown"
reason, which is good enough for test cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D243212
2025-03-31 18:54:05 +00:00
Rebecca King
8a1bcf5764 Bug 1955055 - Review Checker Callout 4B not triggered if the sidebar is closed with X button - r=shopping-reviewers,omc-reviewers,sidebar-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D242963
2025-03-28 01:20:11 +00:00
Goloman Adrian
642c75059d Backed out 5 changesets (bug 1955169) for causing xpc failures @test_ExperimentManager_enroll.js.
Backed out changeset a07069ddb118 (bug 1955169)
Backed out changeset c717d831bbc4 (bug 1955169)
Backed out changeset 32059aa54193 (bug 1955169)
Backed out changeset ac2b71a2ef17 (bug 1955169)
Backed out changeset 64ae848c4a2b (bug 1955169)
2025-03-28 00:07:39 +02:00
Beth Rennie
245c8b795e Bug 1955169 - Simplify recording of enrollment status telemetry r=omc-reviewers,nimbus-reviewers,aminomancer,chumphreys
Previously we were recording enrollment status telemetry everywhere we
were calling into `enroll` and `_unenroll` from onRecipe and
`updateEnrollment`. Now we record the enrollment status telemetry from
inside `NimbusTelemetry.recordEnrollment` and
`NimbusTelemetry.recordUnenrollment`, so that the enrollment status
telemetry is recorded from *every* enrollment event, not just during
`RemoteSettingsExperimentLoader.updateRecipes()`.

To help with this, a new helper has been added, `UnenrollmentCause`,
which carries all the metadata required to unenroll from an experiment
(similar how `CheckRecipeResult` carries all the metadata for enrollment
and updating enrollment) and to submit the corresponding telemetry. Now
instead of calling `unenroll()` with a reason string, you must call it
with an object returned from one of the `UenrollmentCause` utilities.
All tests that were calling `unenroll()` with a string like
"test" or "cleanup" have been updated to remove the reason string. When
it is not present, the `UnenrollmentCause` will default to an "unknown"
reason, which is good enough for test cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D243212
2025-03-27 20:22:21 +00:00
Rebecca King
63cdb2330f Bug 1917983 - Move migration-specific strings to locales version of shopping.ftl and finalize any illustrations - r=shopping-reviewers,fluent-reviewers,omc-reviewers,kpatenio,bolsson,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D242814
2025-03-27 01:27:56 +00:00
Rebecca King
ec6800e10e Bug 1953742 - Adjust Review Checker callouts to show anchor attachment with vertical tabs, all sidebar tools added, and maximized screen - r=shopping-reviewers,omc-reviewers,emcminn,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D242610
2025-03-26 15:45:29 +00:00
Florian Quèze
2ea57560fd Bug 1950710 - Migrate histograms to use Glean APIs for MS_MESSAGE_REQUEST_TIME_MS, r=chutten,omc-reviewers,mviar.
Differential Revision: https://phabricator.services.mozilla.com/D242518
2025-03-26 14:41:10 +00:00
Jason Prickett
9e27050c4b Bug 1955715 - update addonsInfo asrouter targeting to include if user has installed addons r=omc-reviewers,mviar
Differential Revision: https://phabricator.services.mozilla.com/D242819
2025-03-25 18:21:07 +00:00
Nathan Barrett
3df69e20a2 Bug 1951426 - Request messages from OMC in newtab r=home-newtab-reviewers,omc-reviewers,mconley,aminomancer,maxx
Differential Revision: https://phabricator.services.mozilla.com/D240175
2025-03-25 14:34:05 +00:00
Rebecca King
f47fc87b92 Bug 1953838 - Correct string ids for dropdown options in Review Checker callout 3 - r=omc-reviewers,shopping-reviewers,aminomancer,fchasen
Differential Revision: https://phabricator.services.mozilla.com/D242822
2025-03-24 21:35:44 +00:00
Stanca Serban
92c3bbb32a Backed out 4 changesets (bug 1954848, bug 1951426, bug 1951782, bug 1953632) for causing xpcshell failures in test_NewTabMessaging.js. CLOSED TREE
Backed out changeset b2ee50813323 (bug 1954848)
Backed out changeset 211563f87799 (bug 1953632)
Backed out changeset 5003a2a06685 (bug 1951782)
Backed out changeset 4a882623c86d (bug 1951426)
2025-03-24 20:46:17 +02:00
Nathan Barrett
84c498dc3b Bug 1951426 - Request messages from OMC in newtab r=home-newtab-reviewers,omc-reviewers,mconley,aminomancer,maxx
Differential Revision: https://phabricator.services.mozilla.com/D240175
2025-03-24 17:42:04 +00:00
Beth Rennie
ab06202815 Bug 1953530 - Move most Nimbus telemetry code into a single module r=nimbus-reviewers,chumphreys,omc-reviewers,aminomancer
This patch does not change the targeting context telemetry as it is
sufficiently complicated and isolated from the rest of the telemetry.

Differential Revision: https://phabricator.services.mozilla.com/D241325
2025-03-21 17:53:20 +00:00
Emily McMinn
3b5c94bb3f Bug 1949271 - Add tab groups callouts for SessionRestore && add userPrefs.cfrFeatures to all tab groups callouts r=omc-reviewers,aminomancer,beth
Differential Revision: https://phabricator.services.mozilla.com/D239808
2025-03-21 16:10:57 +00:00
Goloman Adrian
ac2cd44a24 Backed out 4 changesets (bug 1953632, bug 1951782, bug 1951426, bug 1954848) for causing build bustages. CLOSED TREE
Backed out changeset 6825e2911771 (bug 1954848)
Backed out changeset 56f68e9e9ab5 (bug 1953632)
Backed out changeset bda4413155d7 (bug 1951782)
Backed out changeset 04623acb0ff2 (bug 1951426)
2025-03-21 20:38:15 +02:00
Nathan Barrett
3957775da8 Bug 1951426 - Request messages from OMC in newtab r=home-newtab-reviewers,omc-reviewers,mconley,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D240175
2025-03-21 15:26:34 +00:00
Stanca Serban
81fcbe2dae Backed out 2 changesets (bug 1953530) for causing mochitests failures in browser_asrouter_experimentsAPILoader.js.
Backed out changeset 40e98c849875 (bug 1953530)
Backed out changeset fc38ba906d3f (bug 1953530)
2025-03-21 03:44:47 +02:00
Beth Rennie
af8fe3e1c9 Bug 1953530 - Move most Nimbus telemetry code into a single module r=nimbus-reviewers,chumphreys,omc-reviewers,aminomancer
This patch does not change the targeting context telemetry as it is
sufficiently complicated and isolated from the rest of the telemetry.

Differential Revision: https://phabricator.services.mozilla.com/D241325
2025-03-20 16:21:40 +00:00
Stanca Serban
4380403c09 Backed out 4 changesets (bug 1951426, bug 1954848, bug 1953632, bug 1951782) for causing Node tests failures. CLOSED TREE
Backed out changeset 2a8c811ce373 (bug 1954848)
Backed out changeset 04b8c4b9620a (bug 1953632)
Backed out changeset b51759b5f846 (bug 1951782)
Backed out changeset fc971f683077 (bug 1951426)
2025-03-20 23:36:40 +02:00
Nathan Barrett
9e01a2ba3e Bug 1951426 - Request messages from OMC in newtab r=home-newtab-reviewers,omc-reviewers,mconley,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D240175
2025-03-20 14:12:21 +00:00
Jason Prickett
d51e46b708 Bug 1953129 - Cap totalSearches pref at 100 r=omc-reviewers,urlbar-reviewers,mviar,jteow
Differential Revision: https://phabricator.services.mozilla.com/D241671
2025-03-18 23:08:15 +00:00
Rebecca King
7a5cd481d5 Bug 1947884 - Add background property to dismiss button on Review Checker callouts - r=shopping-reviewers,omc-reviewers,kpatenio,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D240229
2025-03-17 19:22:39 +00:00
Shane Hughes
e7f24e223a Bug 1948423 - Skip targeting and trigger listener creation for messages with skip_in_tests. r=omc-reviewers,negin
Differential Revision: https://phabricator.services.mozilla.com/D238374
2025-03-07 04:36:57 +00:00
negin
e4a5516610 Bug 1895755 - Updates default min-height for feature callout ctas to 24px r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D238832
2025-03-06 21:14:52 +00:00
Punam Dahiya
3903db65e6 Bug 1899019 - Part 2 - Move FxMS metrics and pings definitions r=home-newtab-reviewers,omc-reviewers,mconley,negin
Differential Revision: https://phabricator.services.mozilla.com/D238892
2025-03-04 20:51:54 +00:00
hanna.alemu
66860e7c8b Bug 1922646 - Add a delay between the default Set to Default prompt and showing the INFOBAR_DEFAULT_AND_PIN_87 message r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D234206
2025-03-04 20:31:35 +00:00
Emily McMinn
c4129a5ba8 Bug 1945700 - Add a boolean background property to dismiss buttons that enables contrasting colours r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D237640
2025-02-28 23:12:17 +00:00
Punam Dahiya
b4e0e43942 Bug 1899019 - Part 1 - Add FxMS metrics.yaml and pings.yaml files r=chutten,omc-reviewers,negin
Differential Revision: https://phabricator.services.mozilla.com/D238891
2025-02-27 23:31:50 +00:00
Meg Viar
35da1f9427 Bug 1940580 - On-train limited rollout of TOS preonboarding modal for Mac, Linux, and MSIX r=nalexander,hanna_a,omc-reviewers,beth,Gijs
- Support an on-train limited rollout of the TOS preonboarding modal for platforms where first run experiments are not supported (Mac, Linux, MSIX)
- This patch lands the initial feature work and an uplift in 137 release will enable it for 1% of users. Later in 137, a second uplift will increase the population to 25%.
- Two nimbus features with fallback prefs are available for testing, the fallback prefs are `browser.preonboarding.onTrainRolloutEnabled` and `browser.preonboarding.onTrainRolloutPopulation`.

Differential Revision: https://phabricator.services.mozilla.com/D238304
2025-02-27 16:23:20 +00:00
Shane Hughes
e9c7fc6d9f Bug 1950189 - Allow callouts to be dismissed by Esc even if they're not focused. r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D239402
2025-02-27 08:31:42 +00:00
hanna.alemu
bf18e2022a Bug 1934718 - Update NimbusRolloutMessageProvider with messaging rollouts in Fx136 r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D239439
2025-02-27 01:58:29 +00:00
Emilio Cobos Álvarez
1ed7833723 Back out bug 1950189 because I pushed it accidentally.
MANUAL PUSH: Back out CLOSED TREE
2025-02-27 01:16:22 +01:00
Shane Hughes
cbe67161c2 Bug 1950189 - Allow callouts to be dismissed by Esc even if they're not focused. r=#omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D239402
2025-02-27 01:00:36 +01:00
Emily McMinn
de64394a0c Bug 1949599 - Remove animated onboarding callouts for Tab Groups r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D239181
2025-02-26 17:02:18 +00:00
Sandor Molnar
695882bbbf Backed out changeset d6f61409b245 (bug 1899019) for causing build bustages @ AsrouterMetrics.h CLOSED TREE 2025-02-26 08:02:04 +02:00
Punam Dahiya
88d6323bef Bug 1899019 - Part 1 - Add FxMS metrics.yaml and pings.yaml files r=chutten,omc-reviewers,negin
Differential Revision: https://phabricator.services.mozilla.com/D238891
2025-02-25 23:16:59 +00:00
Gregory Pappas
2300895022 Bug 1750304 - Move isChinaRepack out of AppConstants r=settings-reviewers,home-newtab-reviewers,Gijs,pdahiya,omc-reviewers,mossop,mconley
AppConstants seems like the wrong place for this method

Differential Revision: https://phabricator.services.mozilla.com/D239276
2025-02-25 20:46:37 +00:00
Rebecca King
b3a22ac978 Bug 1938253 - Implement Callout 3 for integrated version of Review Checker - r=kpatenio,shopping-reviewers,fluent-reviewers,settings-reviewers,omc-reviewers,aminomancer,bolsson,mossop
Differential Revision: https://phabricator.services.mozilla.com/D233053
2025-02-24 18:15:36 +00:00
negin
4b16185899 Bug 1919598 - Land Firefox View Discoverability treatment-b in mc- r=omc-reviewers,fluent-reviewers,emcminn,accessibility-frontend-reviewers,nstroud
Differential Revision: https://phabricator.services.mozilla.com/D229198
2025-02-24 15:21:41 +00:00
Rebecca King
622361d010 Bug 1938413 - Implement callout 4A and callout 4B for RC in the sidebar when a user disables auto-open r=kpatenio,emcminn,shopping-reviewers,fluent-reviewers,omc-reviewers,bolsson,sidebar-reviewers,jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D234974
2025-02-21 23:30:51 +00:00
negin
3d8c9dcaaf Bug 1919598 - Avoid creating a notification box during activeNotifications r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D238817
2025-02-21 23:05:26 +00:00
Rebecca King
ddf1ba4c90 Bug 1938417 - Implement callout 5 for Review Checker in the sidebar when a user turns off Review Checker - r=kpatenio,emcminn,shopping-reviewers,fluent-reviewers,omc-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D234997
2025-02-21 22:07:22 +00:00
Emily McMinn
31aeebfe5f Bug 1949261 - Tab Groups message refinements and strings r=omc-reviewers,dao,fluent-reviewers,bolsson,pdahiya,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D238837
2025-02-21 16:53:18 +00:00
Goloman Adrian
3624802d33 Backed out changeset 8b98d8d87760 (bug 1948423) for causing bc failures @browser_foxdoodle_set_default.js. CLOSED TREE 2025-02-20 06:56:38 +02:00
Shane Hughes
378d8ec5e5 Bug 1948423 - Skip targeting and trigger listener creation for messages with skip_in_tests. r=omc-reviewers,negin
Differential Revision: https://phabricator.services.mozilla.com/D238374
2025-02-20 03:03:45 +00:00
Meg Viar
4066ecbd13 Bug 1948717 - Add flag that enables running actions in MULTI_ACTION SMA in sequential order r=jprickett,omc-reviewers,nalexander
To support the upcoming TOS preonboarding experiment, we want to ensure the following actions occur sequentially:
  - setting prefs, including `datareporting.healthreport.uploadEnabled` (`SET_PREF`)
  - submitting the onboarding opt-out ping, if applicable (`SUBMIT_ONBOARDING_OPT_OUT_PING`)
  - notifying that the data reporting notification has been interacted with (`DATAREPORTING_NOTIFY_DATA_POLICY_INTERACTED`).

When these actions occur out of order, it is possible for telemetry to be enabled and then disabled. This is likely what accounts for the onboarding-opt-out followed by deletion-request pings witnessed by QA in Bug 1948717.

We believe that the issue is that the `MULTI_ACTION` SMA does not guarantee any ordering of its child actions: see [[ https://searchfox.org/mozilla-central/rev/0d1f8ff61fe506646fe3898ef727817b4436ab32/toolkit/components/messaging-system/lib/SpecialMessageActions.sys.mjs#687-696 | here ]]. That's by design, since early actions including pinning and set-to-default, which are slow and can be run concurrently. But here, we expect sequential ordering (and also [[ https://searchfox.org/mozilla-central/rev/0d1f8ff61fe506646fe3898ef727817b4436ab32/browser/components/aboutwelcome/content-src/components/MultiStageAboutWelcome.jsx#578-585 | in the code ]]).

The obvious way to address this is to have the MULTI_ACTION order its child actions. However, this needs to be a flag, since we have existing consumers and we want to minimize disruption.

This patch adds support for an `orderedExecution` flag on message `action` configurations for those with type `MULTI_ACTION`. This applies to nested `MULTI_ACTIONS` using `collectSelect` as well, assuming each `MULTI_ACTION` has the `orderedExecution` flag.

Differential Revision: https://phabricator.services.mozilla.com/D238816
2025-02-20 00:28:02 +00:00