Commit graph

1384 commits

Author SHA1 Message Date
negin
2a55ec8b7c Bug 1829039 - Updates embedded migration wizard styles to match figma r=aminomancer
This patch fixes the font size inconsistencies, extra whitespace above title, and introduces simplified animations for [Embedded Migration Wizard](https://www.figma.com/file/c83OEio9DhCQKuabx2tIEl/NUO-Experiments-2023?node-id=976-31535) screen. Other feedback from the initial bug has been broken down into other bugs:

* [Position relative feedback bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1829272)
* [Checkbox spacing](https://bugzilla.mozilla.org/show_bug.cgi?id=1829733)
* Logo feedback - syncing up with Gabrielle and will file a follow-up bug depending on what we want to do (figma does not include the logo)

Differential Revision: https://phabricator.services.mozilla.com/D176352
2023-05-09 20:22:09 +00:00
Cosmin Sabou
05c75a0051 Backed out changeset f1e19e0fa144 (bug 1829039) as requested by aminomancer. CLOSED TREE 2023-05-09 20:05:34 +03:00
negin
6475b32209 Bug 1829039 - Updates embedded migration wizard styles to match figma r=aminomancer
This patch fixes the font size inconsistencies, extra whitespace above title, and introduces simplified animations for [Embedded Migration Wizard](https://www.figma.com/file/c83OEio9DhCQKuabx2tIEl/NUO-Experiments-2023?node-id=976-31535) screen. Other feedback from the initial bug has been broken down into other bugs:

* [Position relative feedback bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1829272)
* [Checkbox spacing](https://bugzilla.mozilla.org/show_bug.cgi?id=1829733)
* Logo feedback - syncing up with Gabrielle and will file a follow-up bug depending on what we want to do (figma does not include the logo)

Differential Revision: https://phabricator.services.mozilla.com/D176352
2023-05-09 16:41:53 +00:00
Mark Banner
c2dd8e3266 Bug 1829618 - Enable Prettier on json files (automatic fixes). r=perftest-reviewers,webcompat-reviewers,extension-reviewers,andi,desktop-theme-reviewers,pip-reviewers,devtools-reviewers,sync-reviewers,mossop,denschub,dao,sparky,robwu,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D176336
2023-05-09 16:14:51 +00:00
Shane Hughes
97d54bfdc7 Bug 1619842 - Remove longhand rule from newtab stylelint config. r=CosminS
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D177522
2023-05-09 16:39:07 +00:00
Shane Hughes
9dc143a25a Bug 1619842 - Migrate from sass-lint to stylelint. r=omc-reviewers,thecount,emcminn
Fix a bug where VS Code's eslint integration does not work for the
newtab project because of a conflict caused by sass-lint's eslint
dependency. Switching over to stylelint eliminates that dependency and
generally modernizes our SCSS linting. stylelint doesn't have a 1 to 1
replacement for every sass-lint rule, so a few rules have been changed.

Differential Revision: https://phabricator.services.mozilla.com/D173605
2023-05-09 15:37:15 +00:00
Norisz Fay
9cbee35db5 Backed out changeset 67d785ab3cb3 (bug 1829039) for causing node-newtab failure on aboutwelcome.scss CLOSED TREE 2023-05-09 17:35:44 +03:00
negin
d19ea37cd4 Bug 1829039 - Updates embedded migration wizard styles to match figma r=aminomancer
This patch fixes the font size inconsistencies, extra whitespace above title, and introduces simplified animations for [Embedded Migration Wizard](https://www.figma.com/file/c83OEio9DhCQKuabx2tIEl/NUO-Experiments-2023?node-id=976-31535) screen. Other feedback from the initial bug has been broken down into other bugs:

* [Position relative feedback bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1829272)
* [Checkbox spacing](https://bugzilla.mozilla.org/show_bug.cgi?id=1829733)
* Logo feedback - syncing up with Gabrielle and will file a follow-up bug depending on what we want to do (figma does not include the logo)

Differential Revision: https://phabricator.services.mozilla.com/D176352
2023-05-09 13:46:13 +00:00
Shane Hughes
b7ca905921 Bug 1829043 - Add actions for AboutWelcome embedded migration wizard. r=pdahiya,mconley
Add some properties to the migration wizard screen JSON to specify what
action to perform when CTAs inside the embedded migration wizard are
clicked. This lets us advance screens when the cancel or finish button
is clicked, and send telemetry when the start button is clicked. In
theory we could perform any special message actions too, but for now we
only need telemetry and screen navigation.

Differential Revision: https://phabricator.services.mozilla.com/D176358
2023-05-08 18:23:47 +00:00
Katherine Patenio
bdaf8b239c Bug 1828433 - restore underlines for links in new tab page. r=amy
This patch restores link underlines in the new tab page, particularly the settings page and discovery stream (top sites, pocket tiles, and recent activity). Only links that had underlines on hover were updated. `text-decoration: none` is added for cards to maintain original styling.

Differential Revision: https://phabricator.services.mozilla.com/D176819
2023-05-08 16:28:50 +00:00
Cristian Tuns
9d916fde7e Backed out changeset 743c4f059b79 (bug 1829039) for causing bc failures in browser_aboutwelcome_multistage_mr.js CLOSED TREE 2023-05-05 19:50:02 -04:00
negin
79fb9c2840 Bug 1829039 - Updates embedded migration wizard styles to match figma r=aminomancer,mconley
Differential Revision: https://phabricator.services.mozilla.com/D176352
2023-05-05 19:30:31 +00:00
Stanca Serban
2c11f18f89 Backed out changeset 72f882230f63 (bug 1829039) for causing mochitests failures in browser_aboutwelcome_multistage_mr.js. CLOSED TREE 2023-05-05 04:28:52 +03:00
negin
938be7d607 Bug 1829039 - Updates embedded migration wizard styles to match figma r=aminomancer,mconley
This patch fixes the font size inconsistencies, extra whitespace above title, and lack of transition animations for [Embedded Migration Wizard](https://www.figma.com/file/c83OEio9DhCQKuabx2tIEl/NUO-Experiments-2023?node-id=976-31535) screen. Other feedback from the initial bug has been broken down into other bugs:

* [Position relative feedback bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1829272)
* [Checkbox spacing](https://bugzilla.mozilla.org/show_bug.cgi?id=1829733)
* Logo feedback - syncing up with Gabrielle and will file a follow-up bug depending on what we want to do (figma does not include the logo)

Differential Revision: https://phabricator.services.mozilla.com/D176352
2023-05-04 23:32:12 +00:00
Cosmin Sabou
c8052f726d Backed out changeset cdaa6a0312f0 (bug 1829039) for causing increase in failures on browser_aboutwelcome_multistage_mr.js. CLOSED TREE 2023-05-03 19:40:03 +03:00
negin
41613af3eb Bug 1829039 - Updates embedded migration wizard styles to match figma r=aminomancer,mconley
This patch fixes the font size inconsistencies, extra whitespace above title, and introduces simplified animations for [Embedded Migration Wizard](https://www.figma.com/file/c83OEio9DhCQKuabx2tIEl/NUO-Experiments-2023?node-id=976-31535) screen. Other feedback from the initial bug has been broken down into other bugs:

* [Position relative feedback bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1829272)
* [Checkbox spacing](https://bugzilla.mozilla.org/show_bug.cgi?id=1829733)
* Logo feedback - syncing up with Gabrielle and will file a follow-up bug depending on what we want to do (figma does not include the logo)

Differential Revision: https://phabricator.services.mozilla.com/D176352
2023-05-03 13:46:47 +00:00
hanna alemu
03c32cf3be 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
38eec57740 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
8b554da189 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
562d68e3b4 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
aa38e7e12e 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
e3e1dd5055 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
be28b86135 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
scottdowne
42b6e74c81 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
Mike Conley
db83dfef1b 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
Barret Rennie
fa7fe73d7d 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
scottdowne
b1018253d3 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
Mike Conley
525e997fbb 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
Dão Gottwald
3856cbf2e5 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
f9a005144d 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
abed4e9949 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
0c556ba17a 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
hanna alemu
8d27d5d408 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
6c776017c8 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
b52f7d79af Backed out changeset e054b7d5f984 (bug 1825658) for causing newtab failures CLOSED TREE 2023-04-13 18:36:23 +03:00
hanna alemu
1cac2d773f 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
78817c3193 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
f93cffb785 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
77f968a1cb 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
abc2c861ca 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
44fdf3c6b0 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
c67474849f 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
8cca7e0d9f 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
a6e7fe51aa 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
5c80ce5e9c 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
fb84eaf045 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
f59f695642 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
78935b829e 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
8cd944215e 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
5d946f3d90 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
948fdb0dfb 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
effb48b0f5 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
54ae6691af 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
01708ab7e8 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
4ba39af539 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
28f77a18d0 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
3aae89afe5 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
a349610e0a 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
4d5eab0e5a 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
0bcc307110 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
4e17513a1d 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
d0e9fc21a4 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
fa6dd89792 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
8ac71eb5b0 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
66a13a59ee 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
24c46422d8 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
ded85bf1e4 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
ffe885684c 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
557a9c54ab 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
c4f0e30eec 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
e53063b262 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
68a57dbd46 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
bf87798f51 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
4ee24e27d8 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
2c4f50da7a 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
c060887e8e 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
4a34af2cd1 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
809a7e1064 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
2b5580bdd0 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
ea7b7a528c 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
dddb69842f 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
64bc2ac15b 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
6a44184c86 Backed out changeset 63c1ac1ebbac (bug 1815501) for causing node failure on _feature-callout.scss CLOSED TREE 2023-02-22 05:24:41 +02:00
Shane Hughes
6427830303 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 02:40:48 +00:00
Shane Hughes
a20de61ba5 Bug 1817018 - Remove Spotlight dismiss button in and out transitions. r=omc-reviewers,emcminn
Remove all the transition-in and transition-out animations from the
Spotlight dismiss button, leaving the dialog-initial and dialog-last
animations, anticipating that all our messages will either have a
dismiss button on every screen or on none of the screens.

Differential Revision: https://phabricator.services.mozilla.com/D170527
2023-02-21 23:42:10 +00:00
negin
30bff104f2 Bug 1814503 - Allow passing of utm_term through OPEN_URL and SHOW_FIREFOX_ACCOUNT actions for Spotlight r=omc-reviewers,pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D169714
2023-02-21 15:16:10 +00:00
Shane Hughes
cbfd599297 Bug 1808441 - Add Cookie Banner Promo on PB new tab. r=omc-reviewers,flod,pdahiya,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D165924
2023-02-18 01:14:11 +00:00
Shane Hughes
7abda4200c Bug 1815996 - Fix Spotlight dismiss button transitions. r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D169398
2023-02-14 18:49:59 +00:00
Barret Rennie
b6cd1937b9 Bug 1816636 - Correctly validate reach experiment messages in make-schemas.py r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D169822
2023-02-14 16:22:59 +00:00
Barret Rennie
1149bd525e Bug 1813597 - Support reach experiments in the FxMS schemas r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D168322
2023-02-13 18:42:36 +00:00
Shane Hughes
70f546040c Bug 1809722 - Add dismiss button to spotlight. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D166760
2023-02-08 05:05:32 +00:00
Shane Hughes
0dcfe49cb6 Bug 1814982 - Fix Feature Callout steps spacing. r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D168860
2023-02-07 01:13:15 +00:00
hanna alemu
2048eb3287 Bug 1768730 - [Cleanup] Remove legacy spotlight messaging surface r=Mardak,fluent-reviewers,desktop-theme-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D165254
2023-02-06 22:36:28 +00:00
Mark Banner
5875937a6c Bug 1815224 - Migrate newtab's Reducers.jsm to ES modules. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D168955
2023-02-06 19:11:48 +00:00
Kelly Cochrane
01c8fb2cc8 Bug 1781829 - Update contentTheme.js to set attributes and CSS variables on :root instead of body r=dao,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D167869
2023-02-06 14:25:39 +00:00
Russell Chan
99d38f201e Bug 1810056 - Add padding for aboutwelcome/spotlight dismiss button. r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D166847
2023-02-02 20:14:23 +00:00
prathikshaprasadsuman
0801873b26 Bug 1749866 - Top site add/edit dialog should get focus when it is opened. r=thecount
This patch does two things:
1. Brings focus into the add/edit top site dialogs when they are opened.
2. Sets the `aria-haspopup=dialog` attribute on the buttons that open the dialogs. This helps assistive technologies announce that a dialog is being opened before it opens.

Differential Revision: https://phabricator.services.mozilla.com/D168564
2023-02-01 17:21:00 +00:00
Russell Chan
ace9e6888e Bug 1796238 - Hide lone progress bar step in aboutwelcome in HCM r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D166833
2023-01-30 19:07:05 +00:00
Sandor Molnar
751a1f7bae Backed out changeset 611d8c6d5ce8 (bug 1796238) for causing bc failures in browser/components/newtab/test/browser/browser_aboutwelcome_multistage_primary.js CLOSED TREE 2023-01-26 20:33:50 +02:00
Stanca Serban
d008113094 Backed out changeset a544e102fa0e (bug 1781829) for causing mochitests failures in browser_ext_themes_ntp_colors.js. CLOSED TREE 2023-01-26 20:24:58 +02:00
Meg Viar
bec73d8760 Bug 1805928 - Add dimiss action to about welcome to allow dismissing from all multistage Spotlight modal screens r=omc-reviewers,emcminn
Adds new "dismiss" about:welcome action that can be used to close Spotlight modals, sending a DISMISS telemetry ping.

This will allow us to configure buttons permitting a user to exit a multistage Spotlight modal on any screen (currently we can only do this for the last screen and for single screen messages).

Depends on D165254

Differential Revision: https://phabricator.services.mozilla.com/D165981
2023-01-26 17:53:21 +00:00
Russell Chan
a840cdc603 Bug 1796238 - Hide lone progress bar step in aboutwelcome in HCM r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D166833
2023-01-26 17:11:25 +00:00
Kelly Cochrane
8cc2e24547 Bug 1781829 - Update contentTheme.js to set attributes and CSS variables on :root instead of body r=dao
Differential Revision: https://phabricator.services.mozilla.com/D167869
2023-01-26 16:14:31 +00:00
Meg Viar
a3e99a2057 Bug 1806425 - Make value of source in Feature Callout and page in its telementry more consistent r=jprickett,aminomancer
Unify the values of "source" and "page" as used in FeatureCallout.sys.mjs:
- Explicitly pass in a value for "page" when instantiating a Feature Callout and use this for the value of "page" when sending Feature Callout telemetry and as the "source" when making calls to `sendTriggerMessage`. This avoids the risk of including non-about: page URLs or PDF file extensions in our telemetry.
- Set the value of "page" in an HTML data attribute that can be accessed for use in about:welcome telemetry for Spotlight and Feature Callouts.
- Update references to the page value previously used as the page/source for telemetry from `about:firefoxview` Feature Callouts from "firefoxview"  to "about:firefoxview"
- Pass the token "chrome" when creating a callout from the browser chrome and update references to the source in PDF.js messages' targeting
- Update the page value expected in automated tests as needed

Differential Revision: https://phabricator.services.mozilla.com/D165910
2023-01-20 16:53:30 +00:00
Marian-Vasile Laza
6c6285def1 Backed out changeset 7931cc7f97d9 (bug 1768730) for causing bc failures on browser_browserGlue_upgradeDialog_trigger.js and browser_aboutwelcome_upgrade_multistage_mr.js. CLOSED TREE 2023-01-20 00:17:14 +02:00
hanna alemu
f695ee3c6b Bug 1768730 - [Cleanup] Remove legacy spotlight messaging surface r=Mardak,fluent-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D165254
2023-01-19 20:07:16 +00:00
Artur Iunusov
c4ec4d7309 Bug 1671548 - Remove fission experiment support code and prefs, r=smaug,
r=tritter

- backed out changesets: 1660057, 1667426, 1674214,
1669749, 1685801, 1667381
- fission.experiment support removed everywhere, including telemetry

Differential Revision: https://phabricator.services.mozilla.com/D165169
2023-01-17 10:05:36 +00:00
Butkovits Atila
4fc3f00133 Backed out changeset 2dcea9f0eb7e (bug 1768730) for causing python failures. CLOSED TREE 2023-01-10 10:13:31 +02:00
hanna alemu
4e316b468e Bug 1768730 - [Cleanup] Remove legacy spotlight messaging surface r=Mardak,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165254
2023-01-10 07:15:56 +00:00
negin
50d7823c0c Bug 1805313 - Update Onboarding template to support two CTA buttons r=pdahiya,omc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D164594
2023-01-06 15:25:33 +00:00
Mark Banner
0196053126 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
115734da64 Bug 1805318 - [Cleanup] Update link shown in MobileDownloads component r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D165890
2023-01-04 07:17:14 +00:00
Shane Hughes
d15275059f Bug 1807970 - Use translate for about:welcome progress bar transitions. r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D165713
2023-01-03 22:46:35 +00:00
Noemi Erli
cf2088bcb7 Backed out changeset 32a27bcc7e0a (bug 1805318) for causing newtab failures CLOSED TREE 2023-01-03 12:24:06 +02:00
hanna alemu
98897a9093 Bug 1805318 - [Cleanup] Update link shown in MobileDownloads component r=omc-reviewers,jprickett
Differential Revision: https://phabricator.services.mozilla.com/D165265
2023-01-03 09:15:35 +00:00
Sylvestre Ledru
317aabf25e Bug 1750450 - Fix 'Non-consecutive header level increase' DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165655
2022-12-31 16:33:30 +00:00
Sylvestre Ledru
e2b52a1324 Bug 1807899 - Remove the trailing whitespace and Windows CR on md files r=linter-reviewers,necko-reviewers,marco,jesup
Differential Revision: https://phabricator.services.mozilla.com/D165662
2022-12-30 15:23:21 +00:00
Shane Hughes
db34c0a3fe Bug 1806095 - Fix oversights in about:welcome progress bar. r=emcminn
Avoid an unnecessary hook trigger and clean up the handling of the start
screen behavior.

Differential Revision: https://phabricator.services.mozilla.com/D165063
2022-12-22 18:17:32 +00:00
Barret Rennie
e3d5bbee59 Bug 1798832 - Remove WhatsNew layout_title_content_variable field r=omc-reviewers,emcminn
The layout_title_content_variable is no longer used, so it can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D163044
2022-12-20 15:30:53 +00:00
Barret Rennie
6f0b54f084 Bug 1802351 - Document the provider field r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D163043
2022-12-20 15:30:53 +00:00
Emily McMinn
6974b9c7b1 Bug 1790387 - A11y improvements for the Feature Callout step indicator r=aminomancer,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D159629
2022-12-15 21:48:42 +00:00
Shane Hughes
e2894624f4 Bug 1804954 - isFxASignedIn targeting attribute. r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D164383
2022-12-15 17:54:02 +00:00
Meg Viar
0106dc3610 Bug 1805387 - On Firefox locales with long strings the title of the PDF callout message overlaps with the X button r=jprickett
Move the dismiss button in Feature Callouts so it cannot overlap the title of the message.

Differential Revision: https://phabricator.services.mozilla.com/D164607
2022-12-14 16:17:01 +00:00
Shane Hughes
0dcbfc505b Bug 1804726 - Refactor about:welcome transitions. r=emcminn
This patch accomplishes a couple different things in one go.
about:welcome has a feature to allow switching screens by history
navigation. But the screen transitions don't play in that case. There
was also an issue (see bug 1804098) where rounding inconsistencies could
cause 1px gaps to appear in the animated progress bar, because of the
use of transform. By converting the progress bar into a single element
and just modulating its width, we can stop using transform and also
enable transitions for history navigation. Technically, this also allows
us to advance by more than 1 screen without messing up the animations,
though this is not currently used. Incidentally, it simplifies the CSS.

Differential Revision: https://phabricator.services.mozilla.com/D164310
2022-12-14 03:32:56 +00:00
Shane Hughes
79dacbc721 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
Cristian Tuns
84b602d3b1 Backed out changeset 5d55a5accdeb (bug 1804726) for causing mochitest failures on browser_aboutwelcome_configurable_ui.js CLOSED TREE 2022-12-11 22:13:21 -05:00
Shane Hughes
334c0a8a10 Bug 1804726 - Refactor about:welcome transitions. r=emcminn
This patch accomplishes a couple different things in one go.
about:welcome has a feature to allow switching screens by history
navigation. But the screen transitions don't play in that case. There
was also an issue (see bug 1804098) where rounding inconsistencies could
cause 1px gaps to appear in the animated progress bar, because of the
use of transform. By converting the progress bar into a single element
and just modulating its width, we can stop using transform and also
enable transitions for history navigation. Technically, this also allows
us to advance by more than 1 screen without messing up the animations,
though this is not currently used. Incidentally, it simplifies the CSS.

Differential Revision: https://phabricator.services.mozilla.com/D164310
2022-12-12 02:26:42 +00:00
scott
7c3973c06d Bug 1804533 - Save to Pocket and Pocket newtab pass rollout metadata to Pocket links r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D164125
2022-12-08 17:39:36 +00:00
hanna alemu
a2ac0553c3 Bug 1794485 - Remove colorway variation from about:welcome codebase r=pdahiya,dmose,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D159324
2022-12-07 19:05:24 +00:00
Shane Hughes
c63d254739 Bug 1804098 - Avoid subpixel rounding inconsistencies in about welcome progress bar. r=negin
Differential Revision: https://phabricator.services.mozilla.com/D163866
2022-12-07 17:03:07 +00:00
Shane Hughes
86d1dafd40 Bug 1794702 - Add a wipe transition for MR onboarding progress bar. r=yozhang
Differential Revision: https://phabricator.services.mozilla.com/D159821
2022-12-02 07:03:56 +00:00
scott
2a8b178ca4 Bug 1799974 - Pocket newtab fixing loading of page to have less shifting. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D163621
2022-12-02 00:40:05 +00:00
Greg Tatum
22fe834a7e Bug 1685180 - Ensure more programmatic fluent args have values; r=nordzilla
Depends on D162597

Differential Revision: https://phabricator.services.mozilla.com/D163626
2022-12-01 21:40:57 +00:00
Cristian Tuns
bfbbca3486 Backed out changeset 732eca22ad6f (bug 1799974) for causing node failures CLOSED TREE 2022-12-01 14:59:56 -05:00
scott
c71ab13fa7 Bug 1799974 - Pocket newtab fixing loading of page to have less shifting. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D163621
2022-12-01 19:28:48 +00:00
scott
5d8454d672 Bug 1803410 - Pocket newtab topsites, fixing replaced pinned edge cases. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D163510
2022-12-01 17:38:57 +00:00
Shane Hughes
af15930e73 Bug 1795288 - Feature Callouts: add dismiss telemetry. r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D163531
2022-12-01 16:42:18 +00:00
scott
2b4d641336 Bug 1803206 - Pocket newtab sponsored topsite fixing image resize. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D163363
2022-11-30 03:57:12 +00:00
scott
103625f822 Bug 1803107 - Pocket newtab topsites fixing pinning issue with sponsored Pocket tile. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D163339
2022-11-29 19:10:47 +00:00
scott
61beafe8e2 Bug 1802265 - Pocket newtab topsite spoc use title instead of sponsor. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D162947
2022-11-24 20:03:53 +00:00
negin
a67bb980d3 Bug 1800126 - [Cleanup] Refactor OnboardingVideo in its own component r=yozhang
[try](https://treeherder.mozilla.org/jobs?repo=try&revision=50e8d3a693d5a8cf6a6f3bf601c9cd241f5145e6)

Differential Revision: https://phabricator.services.mozilla.com/D162420
2022-11-23 17:50:13 +00:00
Punam Dahiya
3c4e41fc24 Bug 1801762 - Add checkbox interaction telemetry for easy setup experiment r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D162677
2022-11-22 20:52:51 +00:00
Csoregi Natalia
48fd365a68 Backed out changeset 6b0244ce90fb (bug 1800126) for causing newtab failures. CLOSED TREE 2022-11-22 18:09:09 +02:00
negin
83e864597a Bug 1800126 - [Cleanup] Refactor OnboardingVideo in its own component r=yozhang
Differential Revision: https://phabricator.services.mozilla.com/D162420
2022-11-22 15:25:41 +00:00
Shane Hughes
65a03000e9 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
Emily McMinn
e30b935d4a Bug 1781091 - Update RTAMO to match MR1 designs r=mviar,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D161482
2022-11-17 17:13:35 +00:00
negin
9f00da0415 Bug 1800655 - The “send yourself a download link” from the “Mobile” screen of the new and existing users’ Onboarding does not redirect to any page r=aminomancer
Because of the `::before` element which requires a z-index of 1 to render the box-shadow, it was causing links to be unclickable/behind the element. By adding `pointer-events: none` to the pseudo element, it is possible to click through the elements again/interact with the `<a>` tag

Differential Revision: https://phabricator.services.mozilla.com/D162226
2022-11-16 20:16:48 +00:00
negin
d79a56c79d Bug 1797851 - Add telemetry to video section in onboarding r=pdahiya,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D161704
2022-11-16 17:10:34 +00:00
yoenzhang
392dffe2a0 Bug 1797843 - Add support to play streaming video inside new user onboarding r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D161233
2022-11-15 04:46:36 +00:00
Mark Banner
a37d1cdd16 Bug 1800319 - Change newtab code so that the ESLint rule no-console is an error, except for console.error calls. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D161942
2022-11-13 21:02:41 +00:00
Cristian Tuns
6c5c587082 Backed out changeset 3b4e0751850a (bug 1797843) for causing mochitest failures nsContentSecurityUtils.cpp CLOSED TREE 2022-11-12 00:57:11 -05:00
yoenzhang
9e86cef48b Bug 1797843 - Add support to play streaming video inside new user onboarding r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D161233
2022-11-12 05:24:59 +00:00
Punam Dahiya
2d093d577a Bug 1798336 - Add multiselect section to onboarding template r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D161230
2022-11-10 21:59:44 +00:00
Shane Hughes
3f05dc9048 Bug 1795808 - HCM: Don't use static colors in about:welcome. r=hanna_a
Differential Revision: https://phabricator.services.mozilla.com/D161616
2022-11-10 18:50:15 +00:00
hanna alemu
4252373c1c Bug 1796900 - Don't nag users about Firefox View r=mviar,barret
Differential Revision: https://phabricator.services.mozilla.com/D160284
2022-11-09 20:06:58 +00:00
scott
49938d0a9b Bug 1799649 - Pocket newtab sponsored topsite drag position change fix. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D161625
2022-11-08 21:24:47 +00:00
negin
f1f2d69f1c Bug 1797841 - Add video UI layout in new user onboarding r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D161298
2022-11-07 21:05:32 +00:00
scott
8828aa8039 Bug 1799481 - Pocket newtab sponsored topsites pin removed from context menu r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D161496
2022-11-07 18:57:51 +00:00
Itiel
346170d86c Bug 1692711 - Update light theme's link colors to match Proton r=dao,morgan
Differential Revision: https://phabricator.services.mozilla.com/D159979
2022-11-05 16:50:19 +00:00
negin
6cbabd8524 Bug 1797837 - Support adding center position as a modal in MR Onboarding r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D161047
2022-11-03 20:17:46 +00:00
scott
624091d13e Bug 1797612 - Newtab prevent sponsored topsites from being dragged r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D161000
2022-11-02 22:12:02 +00:00
Punam Dahiya
7ad4163208 Bug 1798341 - Wait for migration to close with Import MULTI_ACTION r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D160861
2022-11-02 18:55:47 +00:00
Nan Jiang
dd73763766 Bug 1794022 - Add telemetry for top sites SPOCS r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D160939
2022-11-01 21:02:26 +00:00
Kelly Cochrane
273cc160d1 Bug 1787063 - Adjust color-mix for secondary text to better align with design spec r=dao
Differential Revision: https://phabricator.services.mozilla.com/D160687
2022-11-01 17:56:49 +00:00
Stanca Serban
61d4863651 Backed out changeset c37b2558862b (bug 1787063) for causing new failures on _theme.scss. CLOSED TREE 2022-11-01 16:25:28 +02:00
Kelly Cochrane
8663faf53d Bug 1787063 - Adjust color-mix for secondary text to better align with design spec r=dao
Differential Revision: https://phabricator.services.mozilla.com/D160687
2022-11-01 13:26:20 +00:00
scott
94cec31663 Bug 1794020 - topsite promo tiles
Differential Revision: https://phabricator.services.mozilla.com/D160851
2022-10-31 22:05:25 +00:00
Punam Dahiya
3cfcd785c8 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
Marian-Vasile Laza
a6e947b231 Backed out changeset f394d8fa64f3 (bug 1794020) for causing marionette & telemetry failures. CLOSED TREE 2022-10-29 12:17:19 +03:00
scott
8b3fada89c Bug 1794020 - topsite promo tiles r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D144438
2022-10-29 08:42:00 +00:00
Sandor Molnar
228bc578b4 Backed out changeset 19fcc2a044a8 (bug 1794020) for causing mochitest failures in lib/DiscoveryStreamFeed.jsm CLOSED TREE 2022-10-28 21:37:39 +03:00
scott
78adbe514d Bug 1794020 - topsite promo tiles r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D144438
2022-10-28 16:03:49 +00:00
Meg Viar
08489194f2 Bug 1793653 - Implement feature-callout surface in chrome context r=jprickett
Update Feature Callout code to ensure styling is the same in browser chrome as it is when used in content pages such as Firefox View.

Differential Revision: https://phabricator.services.mozilla.com/D159598
2022-10-28 13:19:57 +00:00
Noemi Erli
cee735b520 Backed out changeset 12a565036b3c (bug 1794020) for causing DiscoveryStreamFeed.jsm related failures CLOSED TREE 2022-10-28 01:41:55 +03:00
scott
ced6135bf5 Bug 1794020 - topsite promo tiles r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D144438
2022-10-27 21:54:00 +00:00
negin
c82f38a8f2 Bug 1794661 - The MR onboarding split screen's main section is missing a shadow Differential Revision: https://phabricator.services.mozilla.com/D159898 r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D160558
2022-10-27 19:13:22 +00:00
Marian-Vasile Laza
3f8eb23865 Backed out changeset 931737b7c12c (bug 1794661) for causing newtab failures on aboutwelcome.scss. CLOSED TREE 2022-10-27 00:09:45 +03:00
negin
fc55b0d461 Bug 1794661 - The MR onboarding split screen's main section is missing a shadow r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D159898
2022-10-26 19:42:09 +00:00
Marian-Vasile Laza
b1f1237382 Backed out changeset ad5bb5f4a576 (bug 1794020) for causing bc failures on browser_policy_firefoxhome.js. CLOSED TREE 2022-10-26 22:37:25 +03:00
scott
91b6fcb83e Bug 1794020 - topsite promo tiles r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D144438
2022-10-26 18:12:26 +00:00
Mark Banner
7beacf6f18 Bug 1795322 - Update toolkit modules references in browser/ code. r=mossop,Gijs,preferences-reviewers,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D160031
2022-10-26 08:06:35 +00:00
Csoregi Natalia
5f9da7b301 Backed out 12 changesets (bug 1795322) for causing multiple failures e.g. test_deletion_request_ping.py. CLOSED TREE
Backed out changeset aba25cbcda51 (bug 1795322)
Backed out changeset a4a35005ada9 (bug 1795322)
Backed out changeset 8e8d790eb0f4 (bug 1795322)
Backed out changeset db8903454bd3 (bug 1795322)
Backed out changeset 60cc71c61cad (bug 1795322)
Backed out changeset bc6a674994ad (bug 1795322)
Backed out changeset 6ac8a611f8c7 (bug 1795322)
Backed out changeset 9fb873ecfb31 (bug 1795322)
Backed out changeset c8a7a40c2a2f (bug 1795322)
Backed out changeset f2c118b6c6ce (bug 1795322)
Backed out changeset 38df43b4a70f (bug 1795322)
Backed out changeset 89aea8373411 (bug 1795322)
2022-10-25 23:47:58 +03:00
Mark Banner
97298a7f37 Bug 1795322 - Update toolkit modules references in browser/ code. r=mossop,Gijs,preferences-reviewers,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D160031
2022-10-25 19:49:26 +00:00
negin
56a9b195df Bug 1790382 - Update Firefox View Feature Callout so that screenreaders read expected content in the proper order r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D159762
2022-10-25 16:14:06 +00:00
Cristian Tuns
0e12a9c3a5 Backed out changeset cf4f7e5d0f9d (bug 1790382) for causing mochitest failures in browser_feature_callout_resize.js CLOSED TREE 2022-10-25 10:26:35 -04:00
negin
4e93d51199 Bug 1790382 - Update Firefox View Feature Callout so that screenreaders read expected content in the proper order r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D159762
2022-10-25 13:50:19 +00:00
Emily McMinn
5351a51a4b Bug 1790490 - Added alt tag div & strings for MR onboarding images r=mviar,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D159770
2022-10-24 17:50:06 +00:00
Shane Hughes
84dfcb686d Bug 1790660 - Improve MR onboarding progress bar contrast. r=pdahiya,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D159055
2022-10-21 07:54:03 +00:00
Chris H-C
6990bd4b81 Bug 1795136 - Correct sponsoredness detection for top story impressions, clicks r=nanj,thecount
I forgot to transmit the information from the content.

Differential Revision: https://phabricator.services.mozilla.com/D159406
2022-10-14 18:45:45 +00:00
Shane Hughes
71854cdf17 Bug 1792535 - Responsive position for AboutWelcome top CTA. r=pdahiya
The Sign In button on about:welcome is currently hidden when it would
overlap with the screen. This patch changes the CSS so that instead of
hiding it, we reposition it when it would overlap, aligning it to the
top right of the screen.

Differential Revision: https://phabricator.services.mozilla.com/D158207
2022-10-11 23:55:20 +00:00
Shane Hughes
f14fe3ef93 Bug 1794585 - Fix non-MR top CTA text color. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D159040
2022-10-11 22:45:57 +00:00
Meg Viar
0f2b3edf86 Bug 1793660 - Allow feature callout to point to elements that are above and to its end r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D158610
2022-10-11 13:25:44 +00:00
Shane Hughes
1232eb8fc0 Bug 1792263 - Consolidate prefers-contrast queries in aboutwelcome. r=pdahiya
Also define explicit HCM color rules for headings in the secondary section of
split screens to fulfill minimum contrast guidelines.

Differential Revision: https://phabricator.services.mozilla.com/D158512
2022-10-10 10:44:18 +00:00
Gavin Suntop
8419822587 Bug 1790667 - Design tweaks for STP button r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D157505
2022-10-07 17:04:27 +00:00
Shane Hughes
96a6bbaca5 Bug 1792100 - Increase the top margin on the language mismatch screen. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D158525
2022-10-06 19:11:43 +00:00
Shane Hughes
68ad1a080b Bug 1792823 - Give MR Onboarding Colorway descriptions a min height. r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D158516
2022-10-05 23:58:59 +00:00
scott
aaa47b12d6 Bug 1793487 - Pocket newtab fixing placeholder images for recent saves r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D158531
2022-10-05 20:20:02 +00:00
Csoregi Natalia
8051bc280e Backed out changeset 39dd7976006b (bug 1793487) for causing newtab failures. CLOSED TREE 2022-10-05 21:07:56 +03:00
scott
f00a92a545 Bug 1793487 - Pocket newtab fixing placeholder images for recent saves r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D158531
2022-10-05 17:23:23 +00:00
negin
06d17488a2 Bug 1793401 - [Windows] [New users] The background of the images from the "about:welcome" page is not visible if the "High Contrast Mode" is enabled r=emcminn
Previously using a hard coded value for the background color of the image was not being applied on Windows OS HCM as it was not a system color. Using the same method found [here](https://phabricator.services.mozilla.com/D156719#5142958) to circumvent this so the background color is applied on a Windows OS.

Differential Revision: https://phabricator.services.mozilla.com/D158530
2022-10-05 14:29:02 +00:00