Commit Graph

1473 Commits

Author SHA1 Message Date
Dan Mosedale
225ebe9580 Bug 1805470 - FxMS should save impressions to all groups in a message, r=barret
Differential Revision: https://phabricator.services.mozilla.com/D164626
2022-12-19 21:14:37 +00:00
Dan Mosedale
8694ce326a Bug 1805471 - add ASRouter impression debug logging, r=emcminn
Adds impression debug logging to ASRouter .

Differential Revision: https://phabricator.services.mozilla.com/D164728
2022-12-15 21:11:31 +00:00
Shane Hughes
426d10750c Bug 1804954 - isFxASignedIn targeting attribute. r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D164383
2022-12-15 17:54:02 +00:00
Nick Alexander
98d1c4c0c2 Bug 1804988 - Determine toast notification tag from experiment:branch slug in backgroundTaskMessage experiments. r=barret
This commit uses a "pull" approach, where the experiment details are
fished at presentation-time and the content `tag` updated.

A few notes:

- With this approach, the update function is pushed down to the leaf
  node (the toast notification presentation layer).  It would be nice to
  do this at the experiment layer, but that layer doesn't resolve the
  presentation layer at this time, so it would perhaps violate the
  abstraction to lift the work higher.

- No effort has been made to mark `tag` as invalid in the messaging
  experiment schemas.  At this time, there's no provision for fields
  accepted at the presentation layer (`ToastNotification.schema.json`)
  but not at the experiment layer aggregating
  presentations (`BackgroundTaskMessagingExperiment.schema.json`,
  `MessagingExperiment.schema.json`).  It's likely possible to arrange
  this but not worth the effort at this time.

- The actual tag displayed is not captured in the message as it flows
  through ASRouter.  This is not likely to pose a problem.

- The actual tag displayed might be `optin-...`, potentially
  complicating data analysis.  Since it's essentially impossible for
  regular users to opt-in to _background task_ messages, that's not a
  pressing concern.

Differential Revision: https://phabricator.services.mozilla.com/D164508
2022-12-14 18:52:34 +00:00
Meg Viar
9ecead1d66 Bug 1804892 - Do not show the Firefox View tour Spotlight if CFRs are disabled r=hanna_a
Differential Revision: https://phabricator.services.mozilla.com/D164612
2022-12-14 18:37:48 +00:00
yoenzhang
1d7b0adfd1 Bug 1801973 Remove Colorways Specific messages and targeting attributes r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D163342
2022-12-14 15:57:30 +00:00
Mark Banner
06c5ee8204 Bug 1804661 - Convert browser/components/BrowserGlue.jsm to an ES module. r=Gijs,settings-reviewers,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D164204
2022-12-12 14:59:18 +00:00
scott
9d50f3d711 Bug 1804533 - Save to Pocket and Pocket newtab pass rollout metadata to Pocket links r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D164125
2022-12-08 17:39:36 +00:00
Mark Banner
5dad366a3e Bug 1803911 - Automatically replace Cu.reportError with console.error (newtab), and manually fix tests. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D163770
2022-12-08 16:21:28 +00:00
Meg Viar
63afba9b12 Bug 1804490 - Update PDF.js callout messages' targeting to only show on PDF documents r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D164129
2022-12-08 12:37:03 +00:00
Sandor Molnar
617f45bffd Backed out changeset 011f1d919092 (bug 1801973) for causing bc failures in browser/components/newtab/test/browser/browser_aboutwelcome_upgrade_multistage_mr.js CLOSED TREE 2022-12-07 20:38:08 +02:00
hanna alemu
d5376ea8d0 Bug 1802134 - [Experiment] The users can be enrolled in the “Onboarding Welcome Video Experiment” even if they prefer reduced motion r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D163746
2022-12-07 17:59:04 +00:00
yoenzhang
106769acab Bug 1801973 Remove Colorways Specific messages and targeting attributes r=mviar
Depends on D163241

Differential Revision: https://phabricator.services.mozilla.com/D163342
2022-12-07 17:21:30 +00:00
Mark Banner
0cd6f3836f Bug 1804037 - Convert PartnerLinkAttribution.jsm to an ES module. r=adw,search-reviewers,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D163814
2022-12-06 11:34:18 +00:00
Meg Viar
6f631b5ce5 Bug 1803654 - Update PDF.js annotation Feature Callout messages to include both treatment branches r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D163639
2022-12-02 20:27:20 +00:00
Cosmin Sabou
cd11fb3af8 Backed out changeset 988063d03a9e (bug 1803654) for causing Talos crashes on pdfpaint. 2022-12-03 02:18:56 +02:00
Meg Viar
4a255de9fe Bug 1803654 - Update PDF.js annotation Feature Callout messages to include both treatment branches r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D163639
2022-12-02 20:27:20 +00:00
hanna alemu
5c19b2d176 Bug 1803367 - [Cleanup] Remove test messages and Strings used for the TCP rollout r=aminomancer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D163520
2022-12-02 19:16:15 +00:00
Cristian Tuns
b34c0a9879 Backed out changeset 71a0bfc10512 (bug 1803367) for causing xpcshell failures in test_PanelTestProvider.js CLOSED TREE 2022-12-01 23:40:36 -05:00
hanna alemu
9cb780b2e9 Bug 1803367 - [Cleanup] Remove test messages and Strings used for the TCP rollout r=aminomancer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D163520
2022-12-02 00:25:16 +00:00
Shane Hughes
abf1e16f6c Bug 1801301 - Fix idle message trigger firing after wake. r=barret
Add a 1s grace period after waking from sleep in which notifications
from the idle service will be ignored. Break out the idle trigger tests
because we've reached the max statements per function limit.

Differential Revision: https://phabricator.services.mozilla.com/D163303
2022-12-01 23:29:55 +00:00
Iulian Moraru
e4cb785520 Backed out 3 changesets (bug 1801092) for causing newtab failures.
Backed out changeset 9153de956154
Backed out changeset 9df9c279c28d (bug 1801092)
Backed out changeset 7323c7444941 (bug 1801092)
2022-11-30 00:28:42 +02:00
Otto Länd
dbb211d8a1 No bug: apply code formatting via Lando
# ignore-this-changeset
2022-11-29 21:46:36 +00:00
Meg Viar
5d6cd66915 Bug 1802918 - Update Firefox View Feature Callout tests to work after Colorways expire r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D163241
2022-11-29 15:43:49 +00:00
Meg Viar
efda7b4253 Bug 1802194 - Update title and body text of Firefox View onboarding CFR message r=hanna_a,flod
Differential Revision: https://phabricator.services.mozilla.com/D162887
2022-11-28 14:20:18 +00:00
Barret Rennie
d1a2566d45 Bug 1541508 - Use Services.env in browser/ r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D160136
2022-11-25 19:09:06 +00:00
Shane Hughes
f15f8a12bf Bug 1802333 - Idle trigger debug logging. r=barret
To debug the idle trigger's interaction with OS sleep state, it's
helpful to know whether sleep/wake notifications were sent. This allows
most of the idle trigger activity to be logged to the console, if the
pref `messaging-system.log` is set to `debug`. The new logging will also
be used to debug the behavior reported in bug 1801301.

Differential Revision: https://phabricator.services.mozilla.com/D163010
2022-11-25 10:42:25 +00:00
Csoregi Natalia
ad9adef7d6 Backed out changeset e1393a35e060 (bug 1802333) for newtab failure. CLOSED TREE 2022-11-25 06:45:19 +02:00
Shane Hughes
01dfa38321 Bug 1802333 - Idle trigger debug logging. r=barret
To debug the idle trigger's interaction with OS sleep state, it's
helpful to know whether sleep/wake notifications were sent. This allows
most of the idle trigger activity to be logged to the console, if the
pref `messaging-system.log` is set to `debug`. The new logging will also
be used to debug the behavior reported in bug 1801301.

Differential Revision: https://phabricator.services.mozilla.com/D163010
2022-11-25 03:52:03 +00:00
Chris H-C
a741773afc Bug 1802207 - Wait to send component_init-reason "newtab" ping until newtab has been categorized r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D162906
2022-11-24 17:59:21 +00:00
Cristian Tuns
77cb29f0f8 Backed out changeset 4a504fa8d156 (bug 1802207) for causing bc failures CLOSED TREE 2022-11-24 10:46:53 -05:00
Chris H-C
7ff970f21b Bug 1802207 - Wait to send component_init-reason "newtab" ping until newtab has been categorized r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D162906
2022-11-24 15:22:49 +00:00
Cristian Tuns
d8e86b5e68 Backed out changeset 9c4f4de3d68c (bug 1802207) for causing lint failures on TelemetryFeed.test.js CLOSED TREE 2022-11-24 10:14:59 -05:00
Chris H-C
b88e45d4e4 Bug 1802207 - Wait to send component_init-reason "newtab" ping until newtab has been categorized r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D162906
2022-11-24 14:52:30 +00:00
scott
35e4f02b0f Bug 1798956 - Pocket newtab ensure we clear spocs in cases where sponsored topsites applies to Pocket data. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D162028
2022-11-21 20:24:29 +00:00
Dão Gottwald
cfc7cc8b18 Bug 1801037 - Remove "New colorways are on the way" message from Firefox View. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D162264
2022-11-18 06:25:41 +00:00
Shane Hughes
8ceb90e910 Bug 1800087 - Fix ASRouter references to RS collections. r=barret
ASRouter's remote message providers were written to include a property
to specify the desired collection on the Remote Settings Kinto server.
But this property was mistakenly labeled `bucket` in many places. This
could be confusing because Kinto storage is organized by both buckets
and collections, with buckets being a higher level of organization and
collections belonging to buckets. Each individual message provider
specifies a collection like "cfr", while the bucket is set by the router
code ("main"). This carried over to everything that interacted with the
providers, so this patch effectively replaces every reference to a
"message provider bucket" with "message provider collection." But more
importantly, provider definitions are stored as JSON strings in
preference values, so these definitions erroneously contained key-value
pairs like `bucket: "cfr"` which should have been `collection: "cfr"`.
That means the pref values themselves must be migrated to ensure that
modified prefs continue to work. Existing tests are updated and a new
test is added for the migrator, to meet minimum coverage requirements.
Documentation is also updated to reflect the correct property name.

Differential Revision: https://phabricator.services.mozilla.com/D162067
2022-11-17 18:32:13 +00:00
Meg Viar
5cb39b67f2 Bug 1800156 - Prevent continuous onboarding messages from appearing after Spotlight is dismissed in Firefox view after 4+ views r=aminomancer
Add the highest possible frequency cap to the Firefox View Spotlight message so that it creates ASRouter impressions while still being able to sync across windows/tabs with Firefox View open.

Differential Revision: https://phabricator.services.mozilla.com/D161853
2022-11-11 00:00:00 +00:00
Shane Hughes
9ee16ecf2d Bug 1786336 - Resolve some idle trigger issues. r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D161237
2022-11-09 22:37:44 +00:00
hanna alemu
ad8c25fedf Bug 1796900 - Don't nag users about Firefox View r=mviar,barret
Differential Revision: https://phabricator.services.mozilla.com/D160284
2022-11-09 20:06:58 +00:00
Meg Viar
94b9dcae12 Bug 1797963 - Only count feature callout message impressions and don't allow load config to be called again until first call resolves r=Mardak,hanna_a
Differential Revision: https://phabricator.services.mozilla.com/D161073
2022-11-08 17:03:24 +00:00
Mark Banner
19c189e131 Bug 1798212 - Convert consumers of downloads code to ES modules. r=mak,geckoview-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,sgalich,mconley,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D161013
2022-11-07 17:56:10 +00:00
yozhangmozilla
4cb5b243e0 Bug 1790133 Adjust Feature Callout Container vertical positioning depending on target's height r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D158170
2022-11-03 16:08:40 +00:00
Cristian Tuns
c3ffdd5df6 Backed out 19 changesets (bug 1541508) for causing xpcshell failures on test_notHeadlessByDefault.js CLOSED TREE
Backed out changeset 08476fa2bc27 (bug 1541508)
Backed out changeset 0bf7514845db (bug 1541508)
Backed out changeset aa612a5e9ef7 (bug 1541508)
Backed out changeset 6bb9360473f7 (bug 1541508)
Backed out changeset b3d8e92f50c2 (bug 1541508)
Backed out changeset fa40dded133e (bug 1541508)
Backed out changeset 2e7db4aa8d4f (bug 1541508)
Backed out changeset 6098e2eb62ea (bug 1541508)
Backed out changeset 2c599ee639c4 (bug 1541508)
Backed out changeset 7d44f6e2644c (bug 1541508)
Backed out changeset c1279c3d674c (bug 1541508)
Backed out changeset 8bd08a62a590 (bug 1541508)
Backed out changeset 740010cb005c (bug 1541508)
Backed out changeset 0bfc7dd85c62 (bug 1541508)
Backed out changeset c4374a351356 (bug 1541508)
Backed out changeset 44ccfeca7364 (bug 1541508)
Backed out changeset e944e706a523 (bug 1541508)
Backed out changeset 2c59d66f43e4 (bug 1541508)
Backed out changeset a1896eacb6f1 (bug 1541508)
2022-11-01 22:38:52 -04:00
Barret Rennie
813aae1553 Bug 1541508 - Use Services.env in browser/ r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D160136
2022-11-02 02:08:53 +00:00
scott
258a894504 Bug 1794020 - topsite promo tiles
Differential Revision: https://phabricator.services.mozilla.com/D160851
2022-10-31 22:05:25 +00:00
Punam Dahiya
3187d5e5cb Bug 1753746 - PBM messaging devtool integration r=pdahiya,mconley
Differential Revision: https://phabricator.services.mozilla.com/D145808
2022-10-31 15:21:56 +00:00
Marian-Vasile Laza
fe65732048 Backed out changeset f394d8fa64f3 (bug 1794020) for causing marionette & telemetry failures. CLOSED TREE 2022-10-29 12:17:19 +03:00
scott
3adac7d415 Bug 1794020 - topsite promo tiles r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D144438
2022-10-29 08:42:00 +00:00
Shane Hughes
3a879faacf Bug 1786336 - Add idle message surface trigger. r=mviar
This patch adds a new trigger that will be used to deliver messages to
the user without disrupting their work. The trigger will only fire when
the user starts interacting with the browser (e.g. moving the mouse or
pressing a key) after a given period of time has passed without any user
activity or audio playback. In the initial messages planned for this
trigger, the necessary period of idle time will be 20 minutes. The
trigger fires after a 2 second delay to ensure the user does not miss
the message. Putting the computer to sleep or waking it up from sleep
will reset the idle "timer" to avoid messages being delivered as soon as
the computer is woken up from sleep.

Differential Revision: https://phabricator.services.mozilla.com/D160454
2022-10-29 07:08:59 +00:00