Commit Graph

1401 Commits

Author SHA1 Message Date
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
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
Emily McMinn
d2fc230432 Bug 1827283 - Wrap image alt-text in Localized r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D175070
2023-04-11 23:16:44 +00:00
Russell Chan
b653cce8ee Bug 1825063 - Add ability to hide the arrow from the feature callout r=fxview-reviewers,omc-reviewers,aminomancer,sclements
Differential Revision: https://phabricator.services.mozilla.com/D174342
2023-04-11 14:01:03 +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
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
Mark Banner
45cdad50d5 Bug 1825715 - Replace disabling of ESLint rule prettier/prettier with prettier-specific disabling (other). r=Gijs,necko-reviewers,credential-management-reviewers,devtools-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D174217
2023-04-01 16:40:01 +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
Cristian Tuns
6c67c5639a Backed out 3 changesets (bug 1825715) for causing node failures with checkBundles CLOSED TREE
Backed out changeset 53faa883781a (bug 1825715)
Backed out changeset 5ce3ad6ce483 (bug 1825715)
Backed out changeset 7f0b08e89cd1 (bug 1825715)
2023-03-31 17:23:28 -04:00
Mark Banner
84946e9a9f Bug 1825715 - Replace disabling of ESLint rule prettier/prettier with prettier-specific disabling (other). r=Gijs,necko-reviewers,credential-management-reviewers,devtools-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D174217
2023-03-31 20:32:18 +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
ogiorgis
0c5d75ef6a Bug 1621950 - fix some myst ref warnings r=firefox-source-docs-reviewers,devtools-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D173843
2023-03-30 08:01:22 +00:00
Shane Hughes
ca232ede40 Bug 1813716 - Encapsulate aboutwelcome container and make its ID more unique. r=omc-reviewers,fxview-reviewers,sfoster,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D172493
2023-03-29 21:51:09 +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
7cf9a86c67 Bug 1818829 - Implement Feature Callout theme configuration. r=jprickett,omc-reviewers,fxview-reviewers,sfoster
Add logic to apply theme colors to Feature Callout based on where it's
going to show. We can use in-content CSS properties for Firefox View and
other themed system pages, but not for PDF.js, nor for any callouts we
might show in the browser chrome in the future. For the browser chrome
in general, we can use the lightweight theme properties directly, in the
same way the chrome frontend does. But PDF.js is a special case, since
although it exists in the chrome, it's meant to appear like it's in the
PDF.js viewer. And the PDF.js viewer has its own theme totally
independent of everything else. So this dynamically applies themes from
different sources.

This also fixes the bug where the PDF.js color scheme could mismatch the
PDF.js viewer if the browser theme and system color scheme don't match,
e.g. where system color scheme is light but a dark theme is installed,
or vice versa. For PDF.js specifically, we can use the
-moz-content-prefers-color-scheme media query to follow the color scheme
as it exists in the PDF.js viewer page instead of the color scheme in
the chrome window where the Feature Callout actually exists.

It also adds or modifies some colors that were previously missing or
different from the prototype, fixes the illegibility of buttons in HCM
and forced colors mode, and makes some other minor color changes.

Differential Revision: https://phabricator.services.mozilla.com/D173088
2023-03-28 00:38:42 +00:00
Cosmin Sabou
c31085cb42 Backed out changeset fecef27ba1fa (bug 1818829) for causing newtab failures on _feature-callout-theme.scss. CLOSED TREE 2023-03-28 02:46:44 +03:00
Shane Hughes
43bb7f08b0 Bug 1818829 - Implement Feature Callout theme configuration. r=jprickett,omc-reviewers,fxview-reviewers,sfoster
Add logic to apply theme colors to Feature Callout based on where it's
going to show. We can use in-content CSS properties for Firefox View and
other themed system pages, but not for PDF.js, nor for any callouts we
might show in the browser chrome in the future. For the browser chrome
in general, we can use the lightweight theme properties directly, in the
same way the chrome frontend does. But PDF.js is a special case, since
although it exists in the chrome, it's meant to appear like it's in the
PDF.js viewer. And the PDF.js viewer has its own theme totally
independent of everything else. So this dynamically applies themes from
different sources.

This also fixes the bug where the PDF.js color scheme could mismatch the
PDF.js viewer if the browser theme and system color scheme don't match,
e.g. where system color scheme is light but a dark theme is installed,
or vice versa. For PDF.js specifically, we can use the
-moz-content-prefers-color-scheme media query to follow the color scheme
as it exists in the PDF.js viewer page instead of the color scheme in
the chrome window where the Feature Callout actually exists.

It also adds or modifies some colors that were previously missing or
different from the prototype, fixes the illegibility of buttons in HCM
and forced colors mode, and makes some other minor color changes.

Differential Revision: https://phabricator.services.mozilla.com/D173088
2023-03-27 23:07:45 +00:00
Amy Churchwell
2f47bbd936 Bug 1811372 - Use prefers-reduced-motion query for the new tab customization panel. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D173575
2023-03-24 22:22:33 +00:00
Emily McMinn
0f9bd3b4c7 Bug 1817020 - Add "document" role to MultiStageProtonScreen to trigger read-all for NVDA r=Jamie
Adds `role: document` to the section-main of MultiStageProtonScreen, which will primarily affect the read-all and keyboard navigation behaviour for the upgrade spotlight. This should address points mentioned in bug 1817020, along with Russell's patch here: https://phabricator.services.mozilla.com/D172725

Differential Revision: https://phabricator.services.mozilla.com/D169970
2023-03-24 15:34:41 +00:00
Punam Dahiya
cefb307533 Bug 1820566 - Show FxA screen based of user import selection r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D172593
2023-03-22 05:51:12 +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
Shane Hughes
3b47420ade Bug 1816589 - Make FeatureCallout box shadow consistently dark. r=hanna_a
Differential Revision: https://phabricator.services.mozilla.com/D172629
2023-03-22 03:31:01 +00:00
Russell Chan
082fa6cd97 Bug 1821820 - Add support to open CFR using about:messagepreview r=omc-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D172835
2023-03-21 16:07:44 +00:00
Shane Hughes
dc7748825b Bug 1821497 - Add a message Share button to ASRouterAdmin. r=pdahiya,barret
Differential Revision: https://phabricator.services.mozilla.com/D172199
2023-03-20 20:31:29 +00:00
Barret Rennie
921eb4cb30 Bug 1821243 - Do not require content and template if id is present in message schema r=omc-reviewers,aminomancer
The schema still imposes the following restrictions:

- Having "template" present makes "content" and "id" required.
- Having "content" present makes "template" and "id" required.

Template and content are dependent on eachother because we do not know how to
interpret content without a template and we a template with no content to
interpret is useless.

If we have a template and content, then we also need an ID for the message
because we cannot reference the message content except by its ID.

Differential Revision: https://phabricator.services.mozilla.com/D172458
2023-03-16 20:27:01 +00:00
Cristian Tuns
837b5ca4e5 Backed out 2 changesets (bug 1821243) for causing xpcshell failures on test_RemoteSettingsExperimentLoader_updateRecipes.js CLOSED TREE
Backed out changeset 39df97ca8253 (bug 1821243)
Backed out changeset bbb8006a0784 (bug 1821243)
2023-03-16 15:16:58 -04:00
Barret Rennie
3d403fb8c2 Bug 1821243 - Do not require content and template if id is present in message schema r=omc-reviewers,aminomancer
The schema still imposes the following restrictions:

- Having "template" present makes "content" and "id" required.
- Having "content" present makes "template" and "id" required.

Template and content are dependent on eachother because we do not know how to
interpret content without a template and we a template with no content to
interpret is useless.

If we have a template and content, then we also need an ID for the message
because we cannot reference the message content except by its ID.

Differential Revision: https://phabricator.services.mozilla.com/D172458
2023-03-16 17:50:22 +00:00
Marian-Vasile Laza
46bfe444e2 Backed out 2 changesets (bug 1821243) for xpcshell failures on test_reach_experiments.js. CLOSED TREE
Backed out changeset 44a860152c39 (bug 1821243)
Backed out changeset e34a680accf0 (bug 1821243)
2023-03-16 03:42:46 +02:00
Barret Rennie
d8878a91e4 Bug 1821243 - Do not require content and template if id is present in message schema r=omc-reviewers,aminomancer
The schema still imposes the following restrictions:

- Having "template" present makes "content" and "id" required.
- Having "content" present makes "template" and "id" required.

Template and content are dependent on eachother because we do not know how to
interpret content without a template and we a template with no content to
interpret is useless.

If we have a template and content, then we also need an ID for the message
because we cannot reference the message content except by its ID.

Differential Revision: https://phabricator.services.mozilla.com/D172458
2023-03-16 00:23:56 +00:00
Gavin Suntop
96854f5647 Bug 1814724 - Use BFF For Recent Saves r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D170686
2023-03-15 00:10:05 +00:00
Lina Butler
d78454e018 Bug 1820707 - Record impressions and clicks for organic tiles. r=nanj
Currently, the Glean `newtab` ping and legacy scalars collect
impressions and clicks for sponsored (Pocket and Contile) tiles, but
not organic tiles from Places.

This commit adds:

* Support for recording organic impressions to the
  `TopSiteImpressionWrapper` component.
* Support for recording organic clicks to the `TopSiteLink`
  component.
* Instrumentation for recording organic impressions and clicks,
  separate from sponsored ones, to `TelemetryFeed`.

Differential Revision: https://phabricator.services.mozilla.com/D171830
2023-03-11 05:24:03 +00:00
negin
b42b53d27f Bug 1821079 - Text is misaligned for multi-select checkboxes for easy setup screen r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D172152
2023-03-09 22:36:39 +00:00
scottdowne
bcc875f7a0 Bug 1820926 - Pocket newtab fixing Discovery Stream topsite images. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D171945
2023-03-08 18:29:59 +00:00
Barret Rennie
975ae348dd Bug 1805511 - Add targeting for default PDF and HTML handlers r=nalexander,omc-reviewers,emcminn
This also fixes a bug in ASRouter devtools that prevented evaluation of
expressions containing nested promises. Objects containing promises are now
correctly serialized to the ASRouter devtools and expressions evaluate
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D169408
2023-03-06 20:10:55 +00:00
scott
173e73bfcf Bug 1805589 - Pocket newtab add Discovery Stream topsites to topsites list earlier.
Differential Revision: https://phabricator.services.mozilla.com/D164625
2023-03-03 21:54:36 +00:00
Stanca Serban
ba2c013d86 Backed out changeset 51080108cc0d (bug 1805589) for causing mochitests failures in browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js. CLOSED TREE 2023-03-03 21:29:55 +02:00
scott
89b0078202 Bug 1805589 - Pocket newtab add Discovery Stream topsites to topsites list earlier. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D164625
2023-03-03 18:22:34 +00:00
Sandor Molnar
ffa80a3221 Backed out 4 changesets (bug 1805511, bug 1805509) for causing bc and xpc failures. CLOSED TREE
Backed out changeset 31a8dcad0d88 (bug 1805509)
Backed out changeset 3dd1735b85fa (bug 1805509)
Backed out changeset 87641a6eee2b (bug 1805509)
Backed out changeset e5bd4ad558f2 (bug 1805511)
2023-03-02 23:26:06 +02:00
Barret Rennie
716e5614da Bug 1805511 - Add targeting for default PDF and HTML handlers r=nalexander,omc-reviewers,emcminn
This also fixes a bug in ASRouter devtools that prevented evaluation of
expressions containing nested promises. Objects containing promises are now
correctly serialized to the ASRouter devtools and expressions evaluate
correctly.

Differential Revision: https://phabricator.services.mozilla.com/D169408
2023-03-02 20:33:21 +00:00
Russell Chan
41b0b420ef Bug 1791135 - Remove unnecessary rules from aboutwelcome.scss r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D171117
2023-03-01 19:42:48 +00:00
Emily McMinn
a9c88ddfdd Bug 1720763 - Remove topsites & region support from about:welcome r=pdahiya,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170943
2023-02-28 22:46:45 +00:00
Sandor Molnar
8de6a57561 Backed out changeset f0e6497690e9 (bug 1791135) for causing bc failures in browser/components/newtab/test/browser/browser_feature_callout_in_chrome.js CLOSED TREE 2023-02-28 19:50:31 +02:00
Russell Chan
3c23df0e14 Bug 1791135 - Remove unnecessary rules from aboutwelcome.scss r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D171117
2023-02-28 16:16:45 +00:00
Emily McMinn
e9e3d4b0fe Bug 1818437 - Fix RTAMO page to account for its having a single screen r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D171078
2023-02-27 22:38:37 +00:00
Emily McMinn
5b66a7abf9 Bug 1811069 - Remove pre-MR strings and CSS, update tests r=omc-reviewers,aminomancer,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D168978
2023-02-24 17:32:53 +00:00
Shane Hughes
ff74b1e79b Bug 1804480 - Support multi-message treatment branches in desktop experiments. r=omc-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D169540
2023-02-23 21:39:15 +00:00
Shane Hughes
3aa13b520f Bug 1815501 - Fix Feature Callout focus rings. r=jprickett
Fixes the border radius and color/style of the outline applied to
feature callouts when they are focused. Also applies the focus ring to
the callout's arrow with some CSS changes.

Differential Revision: https://phabricator.services.mozilla.com/D170524
2023-02-22 04:08:04 +00:00
Norisz Fay
887fa76a78 Backed out changeset 63c1ac1ebbac (bug 1815501) for causing node failure on _feature-callout.scss CLOSED TREE 2023-02-22 05:24:41 +02:00