Commit Graph

1682 Commits

Author SHA1 Message Date
Mike Conley
6d514ac543 Bug 1830901 - Only check the campaign attribution code when checking isDeviceMigration for ASRouter targeting. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D176937
2023-05-03 14:03:55 +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
Punam Dahiya
daa96c9a8e Bug 1823779 - Evaluate screen targeting and update screen state on index change r=Mardak,omc-reviewers,negin
Differential Revision: https://phabricator.services.mozilla.com/D174044
2023-04-29 20:10:42 +00:00
Mike Conley
4d8e83d0c3 Bug 1830178 - Rename FXA_SIGNIN_TAB_FLOW message to FXA_SIGNIN_FLOW and allow for signing in via a new window. r=aminomancer,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D176684
2023-04-28 15:38:24 +00:00
Mike Conley
143026f39c Bug 1829426 - Add a 'welcome back' screen to onboarding for users going through the device migration flow. r=Mardak,fluent-reviewers,flod
Significant portions of this were written by Shane Hughes <shughes@mozilla.com> -
specifically the parts that move the Firefox Account sign-in flow for tabs into
a SpecialMessageAction, and making AboutWelcomeUtils.handleUserAction return
a Promise.

Differential Revision: https://phabricator.services.mozilla.com/D176453
2023-04-28 15:38:24 +00:00
Noemi Erli
b2042001fc Backed out 2 changesets (bug 1830178, bug 1829426) for causing failures in browser_aboutwelcome_multistage_mr.js CLOSED TREE
Backed out changeset 917f6a2ef432 (bug 1830178)
Backed out changeset 47704fa0c047 (bug 1829426)
2023-04-28 08:19:22 +03:00
Mike Conley
e3bd3985bf Bug 1830178 - Rename FXA_SIGNIN_TAB_FLOW message to FXA_SIGNIN_FLOW and allow for signing in via a new window. r=aminomancer,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D176684
2023-04-28 03:17:28 +00:00
Mike Conley
a0043ccde6 Bug 1829426 - Add a 'welcome back' screen to onboarding for users going through the device migration flow. r=Mardak,fluent-reviewers,flod
Significant portions of this were written by Shane Hughes <shughes@mozilla.com> -
specifically the parts that move the Firefox Account sign-in flow for tabs into
a SpecialMessageAction, and making AboutWelcomeUtils.handleUserAction return
a Promise.

Differential Revision: https://phabricator.services.mozilla.com/D176453
2023-04-28 03:17:28 +00:00
Tif Tran
eca0af9a97 Bug 1828234 - Collect blocked advertisers in Glean New Tab metrics r=lina
Differential Revision: https://phabricator.services.mozilla.com/D176499
2023-04-27 22:37:10 +00:00
Marco Bonardo
70b9e89ffb Bug 1829571 - Permafailing browser_topsites_annotation.js. r=jteow
Wait for the visit to be registered by Places before checking the frecency value.

Differential Revision: https://phabricator.services.mozilla.com/D176528
2023-04-26 15:46:57 +00:00
scottdowne
4b486920aa Bug 1812690 - Pocket newtab enabling onboarding experience for new users seeing the Pocket section for the first time. r=gvn,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D174710
2023-04-25 16:49:25 +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
Mike Conley
e0312ea60e Bug 1828738 - Make it possible for about:welcome to close the FxA sign-in tab after sign-in completes. r=aminomancer,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D175934
2023-04-24 18:03:19 +00:00
Mike Conley
b0e076cb45 Bug 1828117 - Add a convenient ASRouterTargeting attribute for clients installed via guided device migration from SUMO. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D176185
2023-04-24 15:38:41 +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
Barret Rennie
473c313805 Bug 1823777 - Add checked and unchecked checkbox actions to about:welcome checkboxes r=omc-reviewers,pdahiya
about:welcome checkboxes can now set an `checkedAction` and an
`uncheckedAction`, which will occur when the checkbox is checked or unchecked,
respectively, and the primary button is clicked.

The old `action` parameter is still supported for backwards compatability, but
`checkedAction` takes precedence.

Differential Revision: https://phabricator.services.mozilla.com/D174192
2023-04-22 04:40:13 +00:00
Punam Dahiya
3bb69654bc Bug 1812050 - Fix intermittent due to screen impression not being last impression call r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D176160
2023-04-21 18:48:12 +00:00
scottdowne
de18d8fccf Bug 1812689 - Pocket newtab new regions implementation r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D173853
2023-04-21 17:57:28 +00:00
Marco Bonardo
5803aa315a Bug 1829192 - use PlacesTestUtils.getDatabaseValue more extensively. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D176075
2023-04-21 08:42:26 +00:00
Mike Conley
711b1c4d9a Bug 1820640 - Add a card to about:welcome that embeds the Migration Wizard if configured to do so. r=pdahiya,omc-reviewers
This adds a card to the about:welcome defaults that embeds the new Migration Wizard
if  browser.migrate.content-modal.about-welcome-behavior is set to "embedded".

This requires adding a useEmbeddedMigrationWizard targeting attribute to
ASRouterTargeting.

Differential Revision: https://phabricator.services.mozilla.com/D175945
2023-04-21 03:18:12 +00:00
Punam Dahiya
374f5a55f9 Bug 1828987 - Wrong telemetry sent intermittent failure fix r=aminomancer DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D175989
2023-04-20 16:54:51 +00:00
Tif Tran
e8110668ee Bug 1824842 - Record the advertiser name and tile ID for sponsored tile impressions and clicks r=lina
Differential Revision: https://phabricator.services.mozilla.com/D174678
2023-04-19 21:38:12 +00:00
Dão Gottwald
995349acbb Bug 1828440 - BuiltInThemes cleanup: remove obsolete findActiveColorwayCollection, isColorwayFromCurrentCollection, isMonochromaticTheme, monochromaticSortIndices. r=amy,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D175647
2023-04-19 11:05:28 +00:00
Punam Dahiya
36013464e6 Bug 1827572 - Telemetry impression pings should wait for filtered screens r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D175293
2023-04-19 06:59:35 +00:00
Cristian Tuns
3b4b9be6e5 Backed out changeset 96f01a59fe31 (bug 1827572) for causing bc failures in /browser_aboutwelcome_multistage_mr.js CLOSED TREE 2023-04-18 09:28:45 -04:00
Punam Dahiya
c646894134 Bug 1827572 - Telemetry impression pings should wait for filtered screens r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D175293
2023-04-18 05:49:54 +00:00
Bilal
34ec496fc7 Bug 1816999 - ESMified browser/components/shell. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D175274
2023-04-14 16:59:15 +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
William Durand
ad508fc1aa Bug 1828074 - Add new targeting attribute for RTAMO in ASRouter. r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D175463
2023-04-14 14:11:36 +00:00
Barret Rennie
06caa2cfbd Bug 1827718 - Serialize arrays correctly in ASRouter targeting r=nalexander,omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D175287
2023-04-13 19:11:06 +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
Dão Gottwald
54fdf726a8 Bug 1711624 - Make in-content button backgrounds dynamic to better adapt to different contexts. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D173417
2023-04-11 09:44: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
Ed Lee
d31aed0c92 Bug 1826920 - Remove/graduate experimentation capability for about:welcome skipFocus r=pdahiya
Experimentation confirmed years ago that about:welcome shoudln't be treated as blank for urlbar focus, and no need for additional experimentation. Also fix a bug where about:welcome was treated as a blank/empty page resulting in about:preferences incorrectly replacing it.

Differential Revision: https://phabricator.services.mozilla.com/D174940
2023-04-07 14:28:09 +00:00
Ed Lee
c4de037d86 Bug 1826439 - Support running new migration wizard Fx113 experiment r=pdahiya,settings-reviewers,mconley
Additionally check for the new content modal and standalone version for WAIT_FOR_MIGRATION_CLOSE by using observer notifications from preferences dialog close, new wizard actor, old wizard uninit.

Differential Revision: https://phabricator.services.mozilla.com/D174692
2023-04-07 05:12:31 +00:00
Mark Banner
85d8bc064f Bug 1826702 - Convert PermissionTestUtils to an ES module. r=permissions-reviewers,settings-reviewers,media-playback-reviewers,pbz,padenot
Differential Revision: https://phabricator.services.mozilla.com/D174846
2023-04-06 15:07:56 +00:00
Csoregi Natalia
e018443223 Backed out changeset 0dd7e8222871 (bug 1711624) for causing Bug 1826052. CLOSED TREE 2023-04-06 13:39:35 +03:00
Shane Hughes
2ccefd0eaa Bug 1826046 - Fix a targeting error when form autofill is unsupported. r=omc-reviewers,jprickett
The new form autofill targeting attributes use an actor that may not be
registered in regions where neither credit card nor address autofill is
supported. In that case, the actor never gets registered, and requesting
an unrecognized JSActor throws an exception, which causes JEXL
evaluation to fail, ultimately causing message requests to fail. The
simplest fix is to just catch the exception and report 0 for targeting.
Using an actor externally isn't ideal, but in this case it's
conventional and the alternative - importing the storage object - isn't
great either.

Differential Revision: https://phabricator.services.mozilla.com/D174447
2023-04-05 17:06:09 +00:00
Tif Tran
bf6fe84f0f Bug 1826403 - Fill blocked sponsored tiles with additional ones r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D174669
2023-04-04 21:48:02 +00:00
Mike Conley
1a8461cd0b Bug 1826360 - Do not include sponsored tiles for about:home startup cache r=mconley,thecount
Differential Revision: https://phabricator.services.mozilla.com/D174646
2023-04-04 18:25:43 +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
Mike Conley
f0a43e9d62 Bug 1794617 - Add ASRouter targeting for whether or not the user has ever migrated bookmarks, history, or passwords. r=dmose,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D173579
2023-04-03 20:47:12 +00:00
Mike Conley
f82c3815b6 Bug 1824094 - Don't read from the about:home startup cache if the last session will be recovered. r=Gijs
We were choosing not to read from the cache if the user has configured the browser
to restore the last session, but there's also the case where the last session might
be restored regardless - for example, to recover from a parent-process crash, after
an update applies, or if using the browser restart shortcut for developers. If any
foreground tab in that restored session loaded about:newtab, that'd result in the
about:newtab (and about:home) dynamic state being generated and being more up-to-date
than the cache.

The next time that about:home loaded (for example, when opening a new window), the
cache would be out of date and potentially conflict with what was in the state object
that came down from the parent.

This patch makes it so that if about:newtab is loaded before the about:home cache
gets to be used, then the cache is disqualified from use for that startup.

Differential Revision: https://phabricator.services.mozilla.com/D173782
2023-04-03 15:21:23 +00:00
Emily McMinn
e47831b644 Bug 1823776 - Handle SHOW_MIGRATION_WIZARD inside nested MULTI_ACTION r=pdahiya,omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D173558
2023-03-31 21:19:50 +00:00
Lina Butler
0ea22d21eb Bug 1821556 - Collect the tile position and number of tile rows in newtab pings. r=nanj
This commit:

* Adds a `position` key to the `topsites.{impression, click}` events.
  This position is zero-based, to align with `pocket_position`.
* Refactors the impression stats actions in `TelemetryFeed` to receive
  the zero-based tile position, and adds one to the structured
  ingestion payloads and scalar values.
* Adds a new Glean metric, `topsites.rows`, to record the number of
  rows shown on the New Tab page.

Differential Revision: https://phabricator.services.mozilla.com/D172292
2023-03-31 05:21:20 +00:00
Shane Hughes
bf95d82c8b Bug 1822211 - Add vertical button layout for center layout Spotlight. r=omc-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D172516
2023-03-30 21:28:08 +00:00
Barret Rennie
f7a4fadf48 Bug 1788954 - Convert toolkit/components/nimbus to ES modules r=Standard8,pip-reviewers,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D172850
2023-03-30 20:51:58 +00:00