Commit Graph

127 Commits

Author SHA1 Message Date
Amy Churchwell
880328f9a1 Bug 1904657 - Add topic labels to Pocket cards. r=home-newtab-reviewers,nbarrett,thecount
Differential Revision: https://phabricator.services.mozilla.com/D216429
2024-07-16 20:28:23 +00:00
Nathan Barrett
cb1f62c3b5 Bug 1904656 - Create modal for topic selection r=home-newtab-reviewers,frontend-codestyle-reviewers,amy
Differential Revision: https://phabricator.services.mozilla.com/D215700
2024-07-15 13:42:05 +00:00
Maxx Crawford
a73bec65fc Bug 1905258 - Add tests for Notifications and Thumbs up/down UI r=home-newtab-reviewers,thecount
Differential Revision: https://phabricator.services.mozilla.com/D215432
2024-07-09 15:43:06 +00:00
Maxx Crawford
c675d51427 Bug 1905259 - Add updated thumbs up and down icons, add CSS animation to active state r=home-newtab-reviewers,desktop-theme-reviewers,thecount,dao
Differential Revision: https://phabricator.services.mozilla.com/D215650
2024-07-03 19:29:27 +00:00
Maxx Crawford
5b142ed5e6 Bug 1902099 - Add thumbs up/down buttons to Recommended Story cards r=home-newtab-reviewers,fluent-reviewers,bolsson,thecount
Differential Revision: https://phabricator.services.mozilla.com/D213650
2024-06-28 01:41:21 +00:00
Shane Hughes
17ca553f9d Bug 1899030 - Part 5: Remove miscellaneous unused asrouter code from newtab. r=mconley,omc-reviewers,frontend-codestyle-reviewers,pdahiya
Also update nimbus rollout message provider.

Differential Revision: https://phabricator.services.mozilla.com/D211673
2024-06-19 19:45:02 +00:00
scottdowne
28cd14bfc0 Bug 1900651 - Home and newtab create solid colour wallpaper pref r=home-newtab-reviewers,maxx
Differential Revision: https://phabricator.services.mozilla.com/D212584
2024-06-05 22:24:56 +00:00
Maxx Crawford
370eb7ac1f Bug 1897233 - Add feature highlight for Wallpapers r=home-newtab-reviewers,fluent-reviewers,omc-reviewers,aminomancer,bolsson,thecount,nbarrett
Differential Revision: https://phabricator.services.mozilla.com/D212157
2024-06-04 00:54:00 +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
Nathan Barrett
ae3e1aa169 Bug 1881588 - Add Wallpaper component r=home-newtab-reviewers,fluent-reviewers,bolsson,thecount,maxxcrawford
Differential Revision: https://phabricator.services.mozilla.com/D205373
2024-04-11 14:01:18 +00:00
Sandor Molnar
68df34f900 Backed out changeset 6a91dbb21815 (bug 1881588) for causing node newtab failures CLOSED TREE 2024-04-11 02:58:39 +03:00
Nathan Barrett
548ca54ccc Bug 1881588 - Add Wallpaper component r=home-newtab-reviewers,fluent-reviewers,bolsson,thecount,maxxcrawford
Differential Revision: https://phabricator.services.mozilla.com/D205373
2024-04-10 22:42:12 +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
3eb6faa5a1 Bug 1881819 - Remove now redundant inject-loader from asrouter/aboutwelcome/newtab code. r=aminomancer,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D202621
2024-02-24 10:00:58 +00:00
Mark Banner
3f16c53851 Bug 1881818 - Remove various modules from asrouter/aboutwelcome/newtab as they are now unused. r=aminomancer,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D202620
2024-02-24 10:00:58 +00:00
Mike Conley
a72977c483 Bug 1878783 - Retire babel-jsm-to-commonjs since browser JSMs are gone now. r=Standard8,omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D201828
2024-02-15 21:30:05 +00:00
Mike Conley
587f39ba06 Bug 1878731 - Make it so that ResourceUriPlugin can do multiple path replacements. r=Standard8,omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D201139
2024-02-12 18:49:38 +00:00
Mike Conley
19a6e40b11 Bug 1877196 - Move ToolbarPanelHub.jsm to browser/components/asrouter. r=pdahiya,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D200082
2024-02-05 22:03:13 +00:00
Mike Conley
aab6878b3b Bug 1876104 - Convert TopStoriesFeed.jsm to an ESM. r=amy,mak
Differential Revision: https://phabricator.services.mozilla.com/D199426
2024-02-02 00:53:22 +00:00
Mike Conley
868909aa23 Bug 1876104 - Convert TopSitesFeed.jsm to an ESM. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D199425
2024-02-02 00:53:21 +00:00
Mike Conley
e2c1be2130 Bug 1876104 - Convert Store.jsm to an ESM. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D199422
2024-02-02 00:53:20 +00:00
Mike Conley
2fcd598465 Bug 1876104 - Convert Screenshots.jsm to an ESM. r=amy
Differential Revision: https://phabricator.services.mozilla.com/D199417
2024-02-02 00:53:18 +00:00
Mike Conley
8f1160b09b Bug 1876104 - Convert DownloadsManager.jsm to an ESM. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D199408
2024-02-02 00:53:15 +00:00
Mike Conley
ac224ed180 Bug 1876104 - Convert ActivityStreamStorage.jsm to an ESM. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D199406
2024-02-02 00:53:14 +00:00
Mike Conley
bbdde4f433 Bug 1876104 - Convert ActivityStream.jsm to an ESM. r=thecount,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D199404
2024-02-02 00:53:13 +00:00
Mike Conley
464743ed04 Bug 1876104 - Convert AboutPreferences.jsm to an ESM. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D199403
2024-02-02 00:53:13 +00:00
Mike Conley
ab18bd7d99 Bug 1868838 - Move OnboardingMessageProvider to browser/components/asrouter/modules. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198997
2024-01-29 18:52:28 +00:00
Mike Conley
ef3fd292cf Bug 1868838 - Move asrouter-utils into browser/components/asrouter. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198883
2024-01-29 18:52:23 +00:00
Mike Conley
0ae871c74e Bug 1868838 - Move ModalOverlay into browser/components/asrouter. r=pdahiya
Previous patches in the stack had used asroutermodules as an alias to get
at browser/components/asrouter/modules. This patch, however, required adding
an alias to get at asrouter/content-src/components, so asroutermodules was
replaced with a top-level asrouter alias.

Differential Revision: https://phabricator.services.mozilla.com/D198881
2024-01-29 18:52:22 +00:00
Mike Conley
0b6586aeb7 Bug 1868838 - Move CFRPageActions into browser/components/asrouter/modules. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198879
2024-01-29 18:52:22 +00:00
Mike Conley
efa49d50e5 Bug 1868838 - Move CFRMessageProvider into browser/components/asrouter/modules. r=pdahiya
This requires a change to aboutwelcome's karma webpack packaging so that
resources loaded at "resource:///modules/asrouter/X.sys.mjs" get remapped
to "asroutermodules/X.sys.mjs".

Differential Revision: https://phabricator.services.mozilla.com/D198878
2024-01-29 18:52:21 +00:00
Mike Conley
7165d99883 Bug 1868838 - Update babel-jsm-to-commonjs to allow for multiple replacements. r=dmose,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198877
2024-01-29 18:52:21 +00:00
Mike Conley
db503acdb4 Bug 1868838 - Move ASRouter into browser/components/asrouter/modules. r=pdahiya,pip-reviewers,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D198874
2024-01-29 18:52:20 +00:00
Mike Conley
a16a529307 Bug 1868838 - Move ASRouterTargeting into browser/components/asrouter/modules. r=pdahiya,application-update-reviewers,barret,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D198873
2024-01-29 18:52:19 +00:00
Mike Conley
9905c64575 Bug 1868838 - Move ASRouterParentProcessMessageHandler into browser/components/asrouter/modules. r=pdahiya
This also moves the ASRouterParentProcessMessageHandler mocha/chai unit test.

Differential Revision: https://phabricator.services.mozilla.com/D198870
2024-01-29 18:52:18 +00:00
Mike Conley
48f81be22c Bug 1868838 - Move ASRouterTriggerListeners into browser/components/asrouter/modules. r=pdahiya
I'm moving the test as well.

Differential Revision: https://phabricator.services.mozilla.com/D198867
2024-01-29 18:52:17 +00:00
Mike Conley
5c43afe6bb Bug 1868838 - Move ASRouterDefaultConfig into browser/components/asrouter/modules. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D198866
2024-01-29 18:52:16 +00:00
Mike Conley
6ff936d185 Bug 1874276 - Convert PlacesFeed into an ESM. r=thecount,places-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D199360
2024-01-26 00:29:59 +00:00
Mike Conley
2f9beb5146 Bug 1874276 - Convert PlacesFeed.test.js to an xpcshell test. r=thecount,places-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D199359
2024-01-26 00:29:58 +00:00
Mike Conley
568af18b86 Bug 1868194 - Convert TelemetryFeed.jsm to an ESM. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D197972
2024-01-22 14:22:34 +00:00
Mike Conley
4224a8301a Bug 1868194 - Convert TelemetryFeed.test.js to an xpcshell test. r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D197731
2024-01-22 14:22:34 +00:00
scottdowne
0c9184d96b Bug 1866283 - Home and Newtab update dev dependencies r=pdahiya,nanj
Differential Revision: https://phabricator.services.mozilla.com/D195663
2024-01-12 21:00:26 +00:00
Emily McMinn
e3233ed67d Bug 1863022 - Render message from browser-siteProtections.js, replace messaging system telemetry, and migrate strings r=pdahiya,omc-reviewers,pbz,fluent-reviewers,flod
The protections panel message should show once when the panel is first opened; after that it will be collapsed by default and can be shown again by clicking the "info" button on the panel

Messaging system previously sent the following pings on message show, and when the "learn more" link was clicked:

```
{“message_id”:“PROTECTIONS_PANEL_1",“event”:“IMPRESSION”,“addon_version”:“20231106094018",“locale”:“en-US”,“client_id”:“6fabd2de-3d0a-4b11-be4c-86b0ea1a1144",“browser_session_id”:“4b0f34b1-75ef-4704-907e-18d84e5187c3",“pingType”:“whats-new-panel”}
```
and

```
{“message_id”:“PROTECTIONS_PANEL_1",“event”:“CLICK”,“addon_version”:“20231106094018",“locale”:“en-US”,“client_id”:“6fabd2de-3d0a-4b11-be4c-86b0ea1a1144",“browser_session_id”:“4b0f34b1-75ef-4704-907e-18d84e5187c3",“pingType”:“whats-new-panel”}
```

This patch replaces these pings with 'RecordEvents' telemetry on the `protectionsPopup` object:

```
33153 	security.ui.protectionspopup 	open 	protectionspopup_cfr 	impression 	{"message": "PROTECTIONS_PANEL_1"}
```
and

```
34932 	security.ui.protectionspopup 	click 	protectionspopup_cfr
```

Differential Revision: https://phabricator.services.mozilla.com/D192968
2024-01-10 22:20:05 +00:00
Mark Banner
0e09ea855d Bug 1787278 - Drop babel transpile plugins from newtab and related code. r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D197884
2024-01-10 17:39:29 +00:00
Stanca Serban
be900c093d Backed out changeset f737edc6cd59 (bug 1863022) for causing mochitests failures in browser_protectionsUI.js. CLOSED TREE 2024-01-10 01:49:46 +02:00
Emily McMinn
4603bdaaf5 Bug 1863022 - Render message from browser-siteProtections.js, replace messaging system telemetry, and migrate strings r=pdahiya,omc-reviewers,pbz,fluent-reviewers,flod
The protections panel message should show once when the panel is first opened; after that it will be collapsed by default and can be shown again by clicking the "info" button on the panel

Messaging system previously sent the following pings on message show, and when the "learn more" link was clicked:

```
{“message_id”:“PROTECTIONS_PANEL_1",“event”:“IMPRESSION”,“addon_version”:“20231106094018",“locale”:“en-US”,“client_id”:“6fabd2de-3d0a-4b11-be4c-86b0ea1a1144",“browser_session_id”:“4b0f34b1-75ef-4704-907e-18d84e5187c3",“pingType”:“whats-new-panel”}
```
and

```
{“message_id”:“PROTECTIONS_PANEL_1",“event”:“CLICK”,“addon_version”:“20231106094018",“locale”:“en-US”,“client_id”:“6fabd2de-3d0a-4b11-be4c-86b0ea1a1144",“browser_session_id”:“4b0f34b1-75ef-4704-907e-18d84e5187c3",“pingType”:“whats-new-panel”}
```

This patch replaces these pings with 'RecordEvents' telemetry on the `protectionsPopup` object:

```
33153 	security.ui.protectionspopup 	open 	protectionspopup_cfr 	impression 	{"message": "PROTECTIONS_PANEL_1"}
```
and

```
34932 	security.ui.protectionspopup 	click 	protectionspopup_cfr
```

Differential Revision: https://phabricator.services.mozilla.com/D192968
2024-01-09 22:34:35 +00:00
Mike Conley
6c31259404 Bug 1866802 - Update asrouter-utils.js coverage thresholds to reflect that some tests moved to browser/components/asrouter. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D194814
2023-12-14 18:46:57 +00:00
Mike Conley
86f73ac4f2 Bug 1866802 - Rename newtab's ASRouterAdmin to DiscoveryStreamAdmin and strip down to just Discovery Stream things. r=thecount,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D194813
2023-12-14 18:46:56 +00:00
Butkovits Atila
e9b8149367 Backed out 5 changesets (bug 1866802) for causing failures at test_TopSitesFeed.js. CLOSED TREE
Backed out changeset af9fbbc9ae50 (bug 1866802)
Backed out changeset 81d5b7de7178 (bug 1866802)
Backed out changeset e4d0863ed222 (bug 1866802)
Backed out changeset c0deb681b193 (bug 1866802)
Backed out changeset dda3e5e39f8c (bug 1866802)
2023-12-14 03:22:48 +02:00
Mike Conley
9ebb4d5734 Bug 1866802 - Update asrouter-utils.js coverage thresholds to reflect that some tests moved to browser/components/asrouter. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D194814
2023-12-13 23:29:49 +00:00