Commit Graph

374 Commits

Author SHA1 Message Date
Shane Hughes
6ca5aa7977 Bug 1833193 - Avoid anchoring CFRs to widgets in customize mode. r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D184069
2023-07-22 04:17:51 +00:00
Shane Hughes
40fabcfcf3 Bug 1833193 - Allow CFRs to use alt_anchor_id in more situations where anchor_id is not available. r=omc-reviewers,hanna_a
Differential Revision: https://phabricator.services.mozilla.com/D178099
2023-07-19 20:25:15 +00:00
Katherine Patenio
a408bb9d46 Bug 1834115 - migrate newtab/lib JSMs that do not import modules to ESMs r=Standard8,fxview-reviewers,omc-reviewers,aminomancer,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D178568
2023-05-30 22:44:42 +00:00
Mark Banner
0666077666 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
91fde42f7b Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Shane Hughes
d779f112c6 Bug 1818249 - Add a message property to allow CFRs in Private Browsing. r=omc-reviewers,pdahiya
Also, because the data collection policy now allows Category 1 and 2
data collection in Private Browsing Mode, these CFRs will record
telemetry in PBM according to the existing CFR policy, which allows
Cat1-3 data for pre-release builds and experiments, and Cat1-2 data for
release builds. PBM windows will be treated in the same way that release
builds treat normal windows. When not enrolled in a CFR experiment, the
PBM window will only collect Cat1-2 data. When enrolled in a CFR
experiment, the PBM window may collect Cat3 data. This patch also adds a
new option to PopupNotifications that allows its usual interaction
probes to be recorded in PBM. That means, outside of an experiment,
pings from a PBM window will look just like pings from a release build
non-PBM window. And inside an experiment, pings from a PBM window will
look just like pings from a non-PBM window in any build. This ensures
that the PBM pings do not intrinsically confer any identifying
information, since their privateness cannot be known with certainty.

Differential Revision: https://phabricator.services.mozilla.com/D174200
2023-05-18 16:26:49 +00:00
hanna alemu
2ac6135d00 Bug 1816511 - Allow messaging about:welcome users by screen usage r=omc-reviewers,pdahiya,jprickett,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D172836
2023-05-02 13:53:07 +00:00
Neil Deakin
044b5f4c4c Bug 1814210, switch ActivityStreamMessageChannel to use actor-based Remote Page Manager, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D171604
2023-04-25 12:26:24 +00:00
Sandor Molnar
33f254d746 Backed out changeset 3ae01032459a (bug 1814210) for causing bc failures in browser/base/content/test/static/browser_all_files_referenced.js CLOSED TREE 2023-04-24 18:27:23 +03:00
Neil Deakin
f5cd08a0f6 Bug 1814210, switch ActivityStreamMessageChannel to use actor-based Remote Page Manager, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D171604
2023-04-24 14:27:58 +00:00
hanna alemu
306343134d Bug 1825658 - Modify "addon_recommendation" CFR template to support Facebook container experiment r=jprickett,barret
Differential Revision: https://phabricator.services.mozilla.com/D174844
2023-04-14 15:36:39 +00:00
Noemi Erli
100160f533 Backed out changeset e054b7d5f984 (bug 1825658) for causing newtab failures CLOSED TREE 2023-04-13 18:36:23 +03:00
hanna alemu
f004fa7c10 Bug 1825658 - Modify "addon_recommendation" CFR template to support Facebook container experiment r=jprickett,barret
Differential Revision: https://phabricator.services.mozilla.com/D174844
2023-04-13 15:03:33 +00:00
Francesco Lodolo (:flod)
1dfecb77f0 Bug 1826755 - Move Firefox account Fluent term to toolkit, r=fluent-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,mconley,sclements,sgalich,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D175097
2023-04-12 15:51:42 +00:00
William Durand
24e0c2ceb0 Bug 1826763 - Remove unused observer of the "webextension-install-notify" topic. r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D174890
2023-04-11 07:24:21 +00:00
hanna alemu
eb668b4356 Bug 1825577 - Fix shadow of the stars for the add-on rating in addon-recommendation CFR template r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D174148
2023-04-04 16:40:20 +00:00
Shane Hughes
3301924585 Bug 1822893 - Add formAutofill trigger and targeting attributes creditCardsSaved and addressesSaved. r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D172842
2023-03-29 07:07:42 +00:00
Shane Hughes
6595d7a3b6 Bug 1786582 - Update fluent and fluent-react in newtab. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D172720
2023-03-22 04:15:39 +00:00
Francesco Lodolo (:flod)
fa28bcb157 Bug 1822388 - Move brandings.ftl from browser to toolkit, r=eemeli,settings-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sgalich,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D172643
2023-03-15 17:00:48 +00:00
Shane Hughes
b5b861e02c Bug 1817319 - Add messagesLoaded trigger. r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D170263
2023-03-09 20:47:02 +00:00
Cosmin Sabou
346961f7f2 Backed out changeset e8e4b29af858 (bug 1817319) for causing bc failures on browser_newtab_trigger.js. CLOSED TREE 2023-03-08 02:24:59 +02:00
Shane Hughes
a91b2414aa Bug 1817319 - Add messagesLoaded trigger. r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D170263
2023-03-07 22:32:43 +00:00
Mark Banner
7cadd97599 Bug 1815224 - Migrate ASRouterChild/Parent.jsm to ES modules. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D168954
2023-02-06 19:11:47 +00:00
DJ
0701e9a6a1 Bug 1806009 - Add payloads for cookie banner handling experiments. r=omc-reviewers,aminomancer,flod
Differential Revision: https://phabricator.services.mozilla.com/D165187
2023-01-24 19:10:44 +00:00
Mark Banner
570a1b2016 Bug 1808941 - In newtab's ESLint configuration, only specify test environments where they are actually used to get the correct globals and rules. r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D166194
2023-01-07 13:21:40 +00:00
Marian-Vasile Laza
2f82fe003a Backed out 5 changesets (bug 1808941) for causing newtab failures. CLOSED TREE
Backed out changeset 3df3536eabbb (bug 1808941)
Backed out changeset eee0bb5a4c96 (bug 1808941)
Backed out changeset 9adc7f9ee3c6 (bug 1808941)
Backed out changeset 44c2c13bd7d9 (bug 1808941)
Backed out changeset a20a5cde0fe5 (bug 1808941)
2023-01-07 13:41:13 +02:00
Mark Banner
3ab74eaaee Bug 1808941 - In newtab's ESLint configuration, only specify test environments where they are actually used to get the correct globals and rules. r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D166194
2023-01-07 10:59:04 +00:00
Mark Banner
00abf03e4f Bug 1808202 - Convert newtab DeDupe.jsm, ActorConstants.jsm and Actions.jsm to ES modules and update imports. r=Mardak
Depends on D165820

Differential Revision: https://phabricator.services.mozilla.com/D165821
2023-01-05 09:58:30 +00:00
hanna alemu
e6dc900130 Bug 1799939 - Write tests for CFR logic added in CFRPageActions.jsm r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D164102
2023-01-04 07:16:45 +00:00
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
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
Shane Hughes
c145c22abc Bug 1804786 - Fix enzyme unit tests. r=mviar
Modify the enzyme assertions in unit tests so they can fail when
regressed. Update the same tests since now they would fail otherwise.
One of them also required fixing a bug in MSLocalized.jsx.

Differential Revision: https://phabricator.services.mozilla.com/D164403
2022-12-12 18:04:12 +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
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
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
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
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
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
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
Meg Viar
067eaadd58 Bug 1788991 - Add Messaging Trigger for the nth Closed Tab r=dmose,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D156905
2022-09-13 21:03:46 +00:00
Sandor Molnar
adc341e323 Backed out changeset 658be3acc41a (bug 1788991) for causing bc failures in toolkit/components/messaging-system/schemas/TriggerActionSchemas/test/browser/browser_asrouter_trigger_docs.js CLOSED TREE 2022-09-13 23:01:38 +03:00
Meg Viar
edd8a30169 Bug 1788991 - Add Messaging Trigger for the nth Closed Tab r=dmose,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D156905
2022-09-13 18:48:17 +00:00
Meg Viar
bc2ce1b29a Bug 1777217 - No telemetry ping is displayed in the Browser Console after dismissing the CFR panel r=emcminn
Send dismiss telemetry when users dismiss a CFR panel, such as via the ESC key

Differential Revision: https://phabricator.services.mozilla.com/D156125
2022-09-02 18:59:12 +00:00
Meg Viar
8ad31e8913 Bug 1786646 - Add targeting in ASRouter for "colorways active" and "user has not set up colorways" r=pdahiya,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D155491
2022-08-26 21:54:52 +00:00
Cristian Tuns
60f732062a Backed out changeset 500d9526b586 (bug 1786646) for causing xpcshell failures test_backgroundtask_targeting.js CLOSED TREE 2022-08-26 09:38:56 -04:00
Meg Viar
14b3ddf157 Bug 1786646 - Add targeting in ASRouter for "colorways active" and "user has not set up colorways" r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D155491
2022-08-26 12:55:27 +00:00
Barret Rennie
6d670c7a89 Bug 1782116 - Only support integer periods for frequencies in FxMS messages r=pdahiya
Bug 1652513 removed support for "daily" periods so we should remove support for
them from the schemas.

Some tests for ASRouter that were testing frequency normalization (that weren't
actually testing it because frequency normalization was removed) have been
removed.

Differential Revision: https://phabricator.services.mozilla.com/D153117
2022-07-29 04:38:06 +00:00
Nick Alexander
04fa028f51 Bug 1775128 - Pre: Add RemoteL10n.formatLocalizableText helper. r=barret,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D151657
2022-07-20 02:58:42 +00:00
Barret Rennie
acd1cb8603 Bug 1778422 - Fix secondary buttons in ExtensionDoorhanger.schema.json r=emcminn
Additionally, the secondary property is actually an array of objects, not an object.

Differential Revision: https://phabricator.services.mozilla.com/D151194
2022-07-09 01:17:05 +00:00