Commit Graph

209 Commits

Author SHA1 Message Date
scottdowne
85706d16dd Bug 1938432 - newtab sections personalization cleanup a few small things around telemetry and actions r=home-newtab-reviewers,npypchenko
Differential Revision: https://phabricator.services.mozilla.com/D232664
2024-12-20 00:49:23 +00:00
Nina Pypchenko
447166a360 Bug 1932187 - [Sections Personalization] Block a section r=home-newtab-reviewers,fluent-reviewers,thecount
- Wired up a confirmation dialog to the Block button in context menu.

- Added strings for translation for the confirmation modal from Figma designs.

- Sections that have been blocked are now hidden.

Differential Revision: https://phabricator.services.mozilla.com/D232436
2024-12-19 15:29:28 +00:00
Nathan Barrett
0b4f0ecfd1 Bug 1937864 - Fix spoc rendering issue when banners are enabled r=home-newtab-reviewers,maxx
Differential Revision: https://phabricator.services.mozilla.com/D232404
2024-12-18 16:29:58 +00:00
Maxx Crawford
2b993cba34 Bug 1937200 - Add is_secton_followed metric to all DSCard events when sections are enabled r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D232295
2024-12-17 22:51:26 +00:00
Maxx Crawford
8b175cee5e Bug 1932191 - Add telemetry for follow/blocks section events r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D231868
2024-12-17 18:25:32 +00:00
scottdowne
3cd950ba30 Bug 1936618 - [Sections Personalization] Newtab add unfollow to the context menu r=home-newtab-reviewers,npypchenko,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D231964
2024-12-16 07:45:46 +00:00
Reem H
0c4df6a2d9 Bug 1932205 - Configure IAB Banner positions r=home-newtab-reviewers,reemhamz
Differential Revision: https://phabricator.services.mozilla.com/D231752
2024-12-13 22:50:23 +00:00
Alexandru Marc
6a9196af31 Backed out changeset 912d8c185b3d (bug 1932205) for causing node failures @ CardGrid.jsx 2024-12-13 18:59:55 +02:00
Reem H
b08ead089d Bug 1932205 - Configure IAB Banner positions r=home-newtab-reviewers,reemhamz
Differential Revision: https://phabricator.services.mozilla.com/D231752
2024-12-13 15:44:04 +00:00
Nina Pypchenko
0eb9597d63 Bug 1932188 - [Sections Personalization] Context menu r=home-newtab-reviewers,fluent-reviewers,bolsson,thecount
Differential Revision: https://phabricator.services.mozilla.com/D231206
2024-12-10 22:21:28 +00:00
scottdowne
f12f2c9855 Bug 1935258 - Newtab sections experiment impression telemetry fix r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D231173
2024-12-05 15:32:48 +00:00
scottdowne
543fe95846 Bug 1932196 - Newtab story id work. r=home-newtab-reviewers,mconley
1. Pass along corpusItemId from the response as corpus_item_id.
2. Pass corpus_item_id to telemetry.
3. Use corpus_item_id for blocks and impressions.

Differential Revision: https://phabricator.services.mozilla.com/D230188
2024-11-29 17:49:04 +00:00
scottdowne
f4e0c28e5b Bug 1929378 - Newtab sections experiment handle loading and empty states r=home-newtab-reviewers,maxx
Differential Revision: https://phabricator.services.mozilla.com/D229551
2024-11-21 16:19:30 +00:00
scottdowne
a8f0806c66 Bug 1932259 - Newtab sections layout use absolute position r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D229693
2024-11-21 15:48:58 +00:00
Nathan Barrett
96213cdc63 Bug 1927916 - Add telemetry for Sections UI r=home-newtab-reviewers,thecount
Differential Revision: https://phabricator.services.mozilla.com/D228709
2024-11-20 17:10:21 +00:00
Reem H
f21999aff1 Bug 1927904 - Add small card theme for DSCard Component. r=home-newtab-reviewers,maxx,thecount
Differential Revision: https://phabricator.services.mozilla.com/D228741
2024-11-19 15:41:25 +00:00
Adi
50a88251f4 Backed out changeset d963832f8192 (bug 1927904) for causing newtab failures @activity-stream.css. CLOSED TREE 2024-11-19 09:05:30 +02:00
Reem H
b633713a1e Bug 1927904 - Add small card theme for DSCard Component. r=home-newtab-reviewers,maxx
Differential Revision: https://phabricator.services.mozilla.com/D228741
2024-11-19 05:54:57 +00:00
scottdowne
159aff2566 Bug 1927915 - Newtab sections selectLayoutRender work and fill section spoc positions r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D229041
2024-11-15 21:26:15 +00:00
scottdowne
1f24d0d070 Bug 1926056 - Newtab new ad size and UI variants r=home-newtab-reviewers,nbarrett,amy
Differential Revision: https://phabricator.services.mozilla.com/D226543
2024-10-24 21:05:19 +00:00
Nathan Barrett
11d2b81126 Bug 1922311 - create fakespot style card r=home-newtab-reviewers,desktop-theme-reviewers,fluent-reviewers,thecount,dao
Differential Revision: https://phabricator.services.mozilla.com/D225110
2024-10-23 14:31:50 +00:00
Maxx Crawford
38ab641749 Bug 1923313 - Add is_list_card attribute to impression/dismiss telemetry events r=home-newtab-reviewers,thecount
Differential Revision: https://phabricator.services.mozilla.com/D225376
2024-10-11 19:00:01 +00:00
Maxx Crawford
ddba678a40 Bug 1918486 - Add logic to store/send blocked ads payload to unified ads request r=home-newtab-reviewers,places-reviewers,thecount
Differential Revision: https://phabricator.services.mozilla.com/D222392
2024-09-24 17:09:11 +00:00
scottdowne
940ee076da Bug 1915196 - Adding window inner height and width values to newtab.opened telemetry event r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D220483
2024-08-29 01:12:11 +00:00
scottdowne
4a5776b9ae Bug 1908163 - Home and newtab updating recommendation card loading state and animation. r=home-newtab-reviewers,nbarrett,maxx
Differential Revision: https://phabricator.services.mozilla.com/D217061
2024-07-24 18:45:09 +00:00
Noemi Erli
270b530bf2 Backed out changeset 55511000ae6e (bug 1908163) for causing failures in browser_basic_endtoend.js CLOSED TREE 2024-07-24 03:50:16 +03:00
scottdowne
b5c0e4d573 Bug 1908163 - Home and newtab updating recommendation card loading state and animation. r=home-newtab-reviewers,nbarrett,maxx
Differential Revision: https://phabricator.services.mozilla.com/D217061
2024-07-23 15:20:13 +00:00
Norisz Fay
84d1b9f527 Backed out changeset f4841fd42927 (bug 1908163) for causing bc failures on browser_basic_endtoend.js 2024-07-23 08:15:14 +03:00
scottdowne
e4b7e2934c Bug 1908163 - Home and newtab updating recommendation card loading state and animation. r=home-newtab-reviewers,nbarrett,maxx
Differential Revision: https://phabricator.services.mozilla.com/D217061
2024-07-22 22:03:08 +00:00
scottdowne
d0b2071285 Bug 1904594 - Home and newtab switch Pocket recs to Merino r=home-newtab-reviewers,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D214829
2024-06-28 21:37:03 +00:00
Nathan Barrett
c7d3cc489b Bug 1893007 - add location query to weather widget r=thecount,home-newtab-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D212069
2024-06-03 20:59:32 +00:00
Norisz Fay
de0375cf98 Backed out changeset 11b5fa2ce936 (bug 1893007) for causing multiple weather related failures 2024-06-01 02:57:28 +03:00
Nathan Barrett
6320648af6 Bug 1893007 - add location query to weather widget r=thecount,home-newtab-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D212069
2024-05-31 21:31:42 +00:00
Maxx Crawford
ef0230d8ef Bug 1895797 - Add telemetry to New Tab weather widget r=home-newtab-reviewers,omc-reviewers,nbarrett,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D209867
2024-05-20 18:01:50 +00:00
Maxx Crawford
99b8fc05eb Bug 1890136 - Add weather widget component r=home-newtab-reviewers,omc-reviewers,aminomancer,thecount
This commit adds the component - including markup, logic and styles for the weather widget on the New Tab page

Differential Revision: https://phabricator.services.mozilla.com/D208885
2024-05-09 22:11:57 +00:00
Mark Banner
05cf6da65d Bug 1881816 - Move all newtab/content-src/*.js files which are modules to use .mjs extensions. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D202623
2024-03-19 17:01:38 +00:00
Mark Banner
fb8a38fb26 Bug 1881816 - Rename Actions.sys.mjs to Actions.mjs. r=amy,omc-reviewers,aminomancer
This better reflects the file is being accessed from both content and system scopes.

Differential Revision: https://phabricator.services.mozilla.com/D203400
2024-03-19 17:01:37 +00:00
Dave Townsend
35c104ff31 Bug 1864896: Autofix unused function arguments (browser/components/newtab). r=omc-reviewers,aminomancer,thecount
Differential Revision: https://phabricator.services.mozilla.com/D202950
2024-03-03 09:09:08 +00:00
Natalia Csoregi
66cb0e397f Backed out 2 changesets (bug 1864896) for causing node failures. CLOSED TREE
Backed out changeset adba0b352699 (bug 1864896)
Backed out changeset 153146ce081c (bug 1864896)
2024-03-01 18:25:05 +02:00
Dave Townsend
20b5d8c60f Bug 1864896: Autofix unused function arguments (browser/components/newtab). r=omc-reviewers,aminomancer,thecount
Differential Revision: https://phabricator.services.mozilla.com/D202950
2024-03-01 15:20:17 +00:00
Iulian Moraru
d067b329de Backed out 5 changesets (bug 1864896) for causing newtab failures related to bundles. CLOSED TREE
Backed out changeset 2cd1cc279f99 (bug 1864896)
Backed out changeset e48d6928bdcb (bug 1864896)
Backed out changeset 1abbcaf91693 (bug 1864896)
Backed out changeset 06a05e5257d5 (bug 1864896)
Backed out changeset b1955ae3e9e2 (bug 1864896)
2024-03-01 12:58:03 +02:00
Dave Townsend
d5beece355 Bug 1864896: Autofix unused function arguments (browser/components/newtab). r=omc-reviewers,aminomancer,thecount
Differential Revision: https://phabricator.services.mozilla.com/D202950
2024-03-01 10:10:08 +00:00
Mike Conley
f7379dcdcf Bug 1865536 - Queue and flush early messages from about:newtab after the parent-process is ready. r=Mardak
Before this patch, the about:home/about:newtab Redux store code had some
middleware that queued any messages sent from the page before the parent
had sent any messages. Presumably this was so that those messages wouldn't
be dropped if they were sent while the parent process was still setting
up its Feeds.

Unfortunately, there's a race here - if the parent process _is_ ready and
just chooses not to send any messages right away, the loaded about:home/about:newtab
document will just hold on to any actions until the parent process has
sent something down to it.

The Talos test that was failing here was waiting for the initial about:home
page to send a message which would record a Telemetry probe. That message
wasn't arriving in time. Presumably, _eventually_ the parent process would
have sent a message down to the about:home page which would flush the actions,
but the Talos test would time out before that would occur.

This patch changes things by having the _parent_ process queue any messages
sent from the content in the event that the ActivityStreamMessageChannel
is not yet set up. Once it is set up, those messages are dispatched after
the simulated NEW_TAB_INIT and NEW_TAB_LOAD for those early tabs are
sent to the parent process Redux store.

Differential Revision: https://phabricator.services.mozilla.com/D195179
2023-12-01 18:29:06 +00:00
Mike Conley
ed1ac7a99f Bug 1863400 - Part 6: Perform bundling within browser/components/aboutwelcome folder. r=pdahiya
Depends on D193120

Differential Revision: https://phabricator.services.mozilla.com/D193121
2023-11-28 01:37:37 +00:00
Chris H-C
4fa2bba2e4 Bug 1857324 - Instrument 'dismiss' actions for newtab topsites r=nanj
See Also DENG-1363

Depends on D190855

Differential Revision: https://phabricator.services.mozilla.com/D190856
2023-10-26 07:20:41 +00:00
Chris H-C
ed4d986946 Bug 1857324 - Instrument the 'about our sponsors' link r=nanj
See also: DENG-1364

Differential Revision: https://phabricator.services.mozilla.com/D190855
2023-10-26 07:20:41 +00:00
Shane Hughes
dc77a4b351 Bug 1835950 - Make images in Spotlight modals load lazily. r=omc-reviewers,dmose
Make the main Spotlight image always lazy load, and make other
Spotlight/about:welcome images lazy load if the configured src is an
http or https URL. This is to fix a bug where slow image loading due to
network issues could cause Spotlight modals to hang while blocking
interaction with the rest of the browser.

Differential Revision: https://phabricator.services.mozilla.com/D180483
2023-07-18 00:52:33 +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
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