Commit graph

1384 commits

Author SHA1 Message Date
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
Norisz Fay
99f7704a2f Backed out changeset b65e99ab62ad (bug 1790667) for causing node newtab failure CLOSED TREE 2022-10-04 21:34:07 +03:00
Gavin Suntop
077053a11f Bug 1790667 - Design tweaks for STP button r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D157505
2022-10-04 18:00:17 +00:00
negin
4cc802c887 Bug 1791010 - The backgrounds of the images from the "about:welcome" page are not visible if the "High Contrast Mode" is active r=emcminn
Added high contrast rule for mr background images.

To test this in macOS enable the following:

{F4178464}

and enable a dark theme for firefox

Differential Revision: https://phabricator.services.mozilla.com/D158264
2022-09-28 20:08:33 +00:00
Mark Banner
aaa0b882fd Bug 1792344 - Add targeting in ASRouter for distributions. r=Mardak,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D158088
2022-09-27 18:58:57 +00:00
Cristian Tuns
cf4ce90c84 Backed out changeset cd3ab0559b8a (bug 1792344) for causing node failures CLOSED TREE 2022-09-27 14:44:13 -04:00
Mark Banner
90b0f1ae1d Bug 1792344 - Add targeting in ASRouter for distributions. r=Mardak,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D158088
2022-09-27 18:06:46 +00:00
Emily McMinn
e13bcf2405 Bug 1790396 - Fixup Feature Callout button CSS for HCM r=aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D158036
2022-09-23 23:59:14 +00:00
negin
d18ae0d338 Bug 1791669 - tab pickup onboarding flyout has a ui misalignment r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D157964
2022-09-22 21:29:17 +00:00
Yoen Zhang
b67bffa15d Bug 1787809 - Secondary button arrow should be inline so responsive shows it more centered r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D156886
2022-09-22 14:46:43 +00:00
scott
31ce2b0171 Bug 1791614 - Pocket newtab adding reader mode links to recent saves. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D157749
2022-09-20 20:08:51 +00:00
Emily McMinn
6e51ec685a Bug 1790487 - Change Colorways tooltip and aria-label r=aminomancer,fluent-reviewers
I'll wait to land this until next week, so that we're not putting in new strings right at the end of Nightly.

I've tested this with MacOS VoiceOver & NVDA on windows and the behaviour is pretty good. VoiceOver will repeat the colorway group & name a few times which is annoying, but it's an existing problem we haven't found a tidy solution for yet.

Differential Revision: https://phabricator.services.mozilla.com/D157369
2022-09-20 15:12:18 +00:00
Shane Hughes
797867b303 Bug 1790655 - Include screen list in AboutWelcome telemetry ping message IDs. r=Mardak
Add a list of screen initials to the message ID strings sent with
AboutWelcomeTelemetry impression pings. Each screen's message ID will
include a string representing the screen ID of each screen in the
message, in addition to information about the screen itself (for
example, `PLSICMG` represents AW_PIN_FIREFOX, AW_LANGUAGE_MISMATCH,
etc). This will support, for example, comparisons of user engagement
between messages with many screens versus messages with few screens.
Also change the screen ID for one screen that was adjacent to another
screen with the same initial, in order to disambiguate them (since both
screens can potentially be removed, currently).

Differential Revision: https://phabricator.services.mozilla.com/D157581
2022-09-17 18:08:52 +00:00
Ed Lee
6935dbe6ce Bug 1782944 - The marketplace buttons from the “Get Firefox Klar” modal no longer redirect to the Firefox Klar on App Store/Google Play using de locale and region r=pdahiya
Remove image_overrides custom replacing the QR code for FOCUS message and instead use a separate message for de locale that also configures the links correctly like the KLAR message.

Differential Revision: https://phabricator.services.mozilla.com/D157518
2022-09-16 05:26:14 +00:00
Shane Hughes
94a6de34b3 Bug 1791088 - Constrain aboutwelcome styles to onboarding-specific elements. r=Mardak
Fix a bug where rules in aboutwelcome.css were applying to Firefox View.

Differential Revision: https://phabricator.services.mozilla.com/D157536
2022-09-16 03:39:05 +00:00
Shane Hughes
a7c604742b Bug 1790895 - Make multistage Spotlight dialog background transparent in HCM. r=pdahiya
Fix a bug where a rule for about:welcome was causing the background for
the multistage spotlight dialog to be white in HCM.

Differential Revision: https://phabricator.services.mozilla.com/D157367
2022-09-16 02:00:16 +00:00
Emily McMinn
f37aaa6a4d Bug 1790594 - Update button label colors for HCM r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D157246
2022-09-16 00:48:31 +00:00
Ed Lee
74d6a59119 Bug 1790462 - Restore responsive layout to 550px total height r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D157524
2022-09-15 22:24:42 +00:00
Punam Dahiya
f81a096eb8 Bug 1790072 - Existing user onboarding colorways screen should select user existing theme intensity r=Mardak
Configure upgrade spotlight with dark variation to persist variation as bold when starting with a dark theme.

Differential Revision: https://phabricator.services.mozilla.com/D157161
2022-09-15 02:42:02 +00:00
scott
b7537faa66 Bug 1790856 - Fixing Pocket recent saves id for telemetry. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D157353
2022-09-14 21:35:25 +00:00
Shane Hughes
4c3fc3e699 Bug 1790315 - Remove normalize.scss from aboutwelcome.scss. r=emcminn
Just remove the import of normalize.scss from aboutwelcome.scss, without
removing the file itself. Add styles needed to maintain the current
appearance and remove styles that were only necessary because of
normalize.scss.

Differential Revision: https://phabricator.services.mozilla.com/D157224
2022-09-14 20:23:17 +00:00
Nick Alexander
135afa175b Bug 1790444 - Allow to localize action title in Toast Notification actions messages. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D157165
2022-09-14 17:47:24 +00:00
negin
4da2d42556 Bug 1790474 - Onboarding progress bar: aria-valuetext starts with "step 0 out of %aria-valuemax%" r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D157254
2022-09-14 17:33:09 +00:00
Emily McMinn
58377024ac Bug 1787123 - Switch to em instead of px on secondary CTA to maintain text size r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D156575
2022-09-13 17:11:39 +00:00
Barret Rennie
c54ae7a8a8 Bug 1784101 - Add targeting for detecting MR2022 holdback study r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D156215
2022-09-12 20:37:17 +00:00
Shane Hughes
de3262d629 Bug 1786509 - Fix Spotlight modal overflow scroll behavior. r=pdahiya
Make the dialog frame for Spotlight modal dialogs cover the full window,
prevent the fixed sizing in SubDialog for these dialogs, and vertically
center the dialog relative to its frame. Make the scrollport accommodate
the full Spotlight so it can be scrolled, without wasting any scroll
distance on margins. So, the top margin will shrink with the window,
like the other margins do.

Differential Revision: https://phabricator.services.mozilla.com/D156127
2022-09-10 07:40:14 +00:00
criss
9de7f8826d Backed out changeset d1823131fc19 (bug 1786509) for causing mochitest failures on browser_modal_resize.js . CLOSED TREE 2022-09-10 08:12:55 +03:00
Shane Hughes
fae527abdd Bug 1786509 - Fix Spotlight modal overflow scroll behavior. r=pdahiya
Make the dialog frame for Spotlight modal dialogs cover the full window,
prevent the fixed sizing in SubDialog for these dialogs, and vertically
center the dialog relative to its frame. Make the scrollport accommodate
the full Spotlight so it can be scrolled, without wasting any scroll
distance on margins. So, the top margin will shrink with the window,
like the other margins do.

Differential Revision: https://phabricator.services.mozilla.com/D156127
2022-09-10 03:50:16 +00:00
Jason Prickett
d5852e789f Bug 1786347 - Adding continuous onboarding colorways reminder to firefox view feature callout r=mviar,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D156700
2022-09-09 22:38:11 +00:00
Gavin Suntop
8e0b6c3824 Bug 1787521 - Adjust button for newtab save to pocket action r=thecount,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D155995
2022-09-09 17:13:26 +00:00
Chris H-C
a4161c84af Bug 1786612 - Instrument Pocket interactions with events r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D155756
2022-09-07 17:28:36 +00:00
Shane Hughes
80a1f04bbb Bug 1788286 - Fix aboutwelcome secondary CTA appearance in HCM. r=pdahiya
The secondary CTA in Spotlight and AboutWelcome lacks a rule to set a
hover color (probably because outside of HCM, the hover color should be
the same as the base color). This patch adds the needed styles.

Differential Revision: https://phabricator.services.mozilla.com/D156223
2022-09-07 08:04:49 +00:00
hanna alemu
516a59520b Bug 1785926 - MR onboarding colorways screen is always displayed with a random colorway r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D156132
2022-09-02 16:03:12 +00:00
Nick Alexander
bef2b3e441 Bug 1787962 - Add launch_url to ToastNotification message surface. r=barret
Everything here is Windows-only for now, since that's the immediate
use case and these implementation details are specific to Windows
native notifications relaunching Firefox when it is not running --
functionality not supported by the other system alert backends at this
time.

This commit adds a `launch_url` parameter to `ToastNotification`.
This should be viewed as the simplest possible "action" that a toast
notification can take when it is clicked, namely navigating to the
given URL.  In the future, we might generalize this to describe more
of the existing actions (like opening settings, snoozing or dismissing
the toast, etc), but for now, this handles my use case.

In addition, this uses `content.tag` as the alert `name`, allowing to
replace existing toast notifications.

Differential Revision: https://phabricator.services.mozilla.com/D155912
2022-09-01 22:48:22 +00:00
scott
2014066780 Bug 1787522 - Pocket newtab limit save to Pocket card hover button to specific regions. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D155771
2022-08-31 21:45:18 +00:00
Meg Viar
9dac4ed419 Bug 1786647 - Split up Feature Callout messages and fetch from ASRouter on page load, focus, and screen advance r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D155524
2022-08-31 16:09:26 +00:00
Emily McMinn
4462557955 Bug 1776689 - Add assets for MR new user onboarding 50-50 template designs r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D155757
2022-08-31 01:20:27 +00:00
Butkovits Atila
e80a88b3b9 Backed out changeset 9256826198bb (bug 1776689) for causing failures at browser_parsable_css.js. CLOSED TREE 2022-08-31 03:25:08 +03:00
Emily McMinn
ff7c3639b4 Bug 1776689 - Add assets for MR new user onboarding 50-50 template designs r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D155757
2022-08-30 23:32:33 +00:00
negin
dddcf2b44b Bug 1787386 - The arrow from the “Skip this step” button has a black color when the browser's dark theme is enabled r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D155744
2022-08-30 05:46:00 +00:00
hanna alemu
76563473bc Bug 1778796 - Add pin private browsing pinning option to existing user MR onboarding r=hanna_a
Depends on D154851

Differential Revision: https://phabricator.services.mozilla.com/D155305
2022-08-30 04:13:27 +00:00
Jason Prickett
e0367698f6 Bug 1779514 - Add privacy segmentation screen for existing users in MR Onboarding r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D155287
2022-08-30 03:25:34 +00:00
Sandor Molnar
785280c827 Backed out changeset 225b8bbe0912 (bug 1786647) for causing browser-chrome failures in toolkit/components/messaging-system/schemas/TriggerActionSchemas/test/browser/browser_asrouter_trigger_docs.js CLOSED TREE 2022-08-30 01:43:39 +03:00
Meg Viar
fe5c421c7d Bug 1786647 - Split up Feature Callout messages and fetch from ASRouter on page load, focus, and screen advance r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D155524
2022-08-29 20:19:16 +00:00
negin
e7701511cf Bug 1786902 - Secondary CTA is not clickable on Language Mismatch screen while screen is downloading langpack r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D155746
2022-08-29 18:03:30 +00:00
Csoregi Natalia
f6e6acd260 Backed out changeset ba0784c1646a (bug 1786647) for fxms failures. CLOSED TREE 2022-08-29 19:51:17 +03:00
Meg Viar
cf04315738 Bug 1786647 - Split up Feature Callout messages and fetch from ASRouter on page load, focus, and screen advance r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D155524
2022-08-29 16:18:42 +00:00
criss
9ecfbd2f11 Backed out changeset 56ba242e0732 (bug 1786647) for causing python fxms failures . CLOSED TREE 2022-08-29 17:14:11 +03:00
Meg Viar
466b1d23bc Bug 1786647 - Split up Feature Callout messages and fetch from ASRouter on page load, focus, and screen advance r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D155524
2022-08-29 13:29:31 +00:00
Jason Prickett
faa547f91a Bug 1783750 - MR Onboarding Colorways save colorway on primary cta click r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D155516
2022-08-27 00:59:10 +00:00
Csoregi Natalia
ab80e32a7c Backed out changeset a9a1c540eac4 (bug 1783750) for causing newtab failures. CLOSED TREE 2022-08-27 02:28:29 +03:00
Jason Prickett
0c0113b0b5 Bug 1783750 - MR Onboarding Colorways save colorway on primary cta click r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D155516
2022-08-26 22:29:27 +00:00
Meg Viar
5d22251630 Bug 1786646 - Add targeting in ASRouter for "colorways active" and "user has not set up colorways" r=pdahiya,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D155491
2022-08-26 21:54:52 +00:00
Shane Hughes
9a1101ae29 Bug 1783070 - Use safe navigators for About Welcome window functions. r=mviar
Update About Welcome's invocations of window functions to use optional
chaining to avoid errors when they are undefined. Then, the surfaces
that load the About Welcome bundle will no longer need to define those
references as empty functions.

Differential Revision: https://phabricator.services.mozilla.com/D155011
2022-08-26 21:43:54 +00:00
negin
d05846b58b Bug 1786409 - Reduce image height in responsive layout to 100px r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D155624
2022-08-26 18:31:52 +00:00
Dan Mosedale
71f6905c72 Bug 1781361 - impl set home page option for upgraders, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154851
2022-08-26 16:41:00 +00:00
Cristian Tuns
2f0e6e7928 Backed out changeset 500d9526b586 (bug 1786646) for causing xpcshell failures test_backgroundtask_targeting.js CLOSED TREE 2022-08-26 09:38:56 -04:00
Meg Viar
bf4a80b11d Bug 1786646 - Add targeting in ASRouter for "colorways active" and "user has not set up colorways" r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D155491
2022-08-26 12:55:27 +00:00
Shane Hughes
18909fbeef Bug 1780218 - Add reduced motion logo properties to ProtonScreen. r=mviar
Add new properties to ProtonScreen logos: reducedMotionImageURL and
darkModeReducedMotionImageURL. These are intended to be used when
imageURL and/or darkModeImageURL is an animated image such as a GIF. If
reduced motion images are passed, they will be used instead of
imageURL/darkModeImageURL if the user has enabled a reduced motion
preference through their OS or Firefox settings. So, consumers can pass
up to 4 logo URLs to be matched with the following media queries:
1. imageURL: not (prefers-color-scheme: dark)
2. darkModeImageURL: (prefers-color-scheme: dark)
3. reducedMotionImageURL: (prefers-reduced-motion: reduce)
4. darkModeReducedMotionImageURL: (prefers-color-scheme: dark) and (prefers-reduced-motion: reduce)

Differential Revision: https://phabricator.services.mozilla.com/D155037
2022-08-25 20:33:33 +00:00
Emily McMinn
b9bdb64bcf Bug 1786828 - Remove pointer-events from spotlight picture element to keep it from overlapping the close button r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D155500
2022-08-25 16:49:09 +00:00
Meg Viar
ca2529a562 Bug 1782524 - Reposition Feature Callout if it overlaps parent element by more than 15% r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154649
2022-08-24 18:24:15 +00:00
Sandor Molnar
6695f8c04b Backed out changeset 4db4c006400a (bug 1780218) for causing browser-chrome failures in browser/components/newtab/test/browser/browser_multistage_spotlight.js 2022-08-24 20:38:27 +03:00
scott
dc366e0ef0 Bug 1782318 - Pocket newtab show placeholder thumbnail images for cards without images. r=gvn
Differential Revision: https://phabricator.services.mozilla.com/D155126
2022-08-24 15:40:12 +00:00
Shane Hughes
3d77976566 Bug 1780218 - Add reduced motion logo properties to ProtonScreen. r=mviar
Add new properties to ProtonScreen logos: reducedMotionImageURL and
darkModeReducedMotionImageURL. These are intended to be used when
imageURL and/or darkModeImageURL is an animated image such as a GIF. If
reduced motion images are passed, they will be used instead of
imageURL/darkModeImageURL if the user has enabled a reduced motion
preference through their OS or Firefox settings. So, consumers can pass
up to 4 logo URLs to be matched with the following media queries:
1. imageURL: not (prefers-color-scheme: dark)
2. darkModeImageURL: (prefers-color-scheme: dark)
3. reducedMotionImageURL: (prefers-reduced-motion: reduce)
4. darkModeReducedMotionImageURL: (prefers-color-scheme: dark) and (prefers-reduced-motion: reduce)

Differential Revision: https://phabricator.services.mozilla.com/D155037
2022-08-24 13:38:37 +00:00
negin
ee7b59a571 Bug 1781528 - Add Arrow to secondary button CTA r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D153651
2022-08-23 16:58:33 +00:00
Csoregi Natalia
ec0924ef0f Backed out changeset 50e2770d7b30 (bug 1782524) for causing failures on browser_feature_callout.js. 2022-08-22 03:40:54 +03:00
Marian-Vasile Laza
b478513295 Backed out changeset 50e2770d7b30,1d022fd2c075 (Bug 1782524) for causing bc failures on browser_feature_callout.js CLOSED TREE 2022-08-20 15:38:14 +03:00
Marian-Vasile Laza
873bc7eaf9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2022-08-20 13:10:03 +03:00
Meg Viar
f00db9afe1 Bug 1782524 - Reposition Feature Callout if it overlaps parent element by more than 15% r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154649
2022-08-19 22:23:27 +00:00
Ed Lee
96460bcff8 Bug 1784901 - Show Language Mismatch Screen with negotiated language on left secondary section and switch button r=pdahiya
As part of installing the lang pack, add the negotiated language as string args and convert to raw if it wants to use the lang pack.

Differential Revision: https://phabricator.services.mozilla.com/D155021
2022-08-19 22:07:10 +00:00
Norisz Fay
5f1fc7348a Backed out changeset 1d022fd2c075 (bug 1782524) for causing bc failures on browser_feature_callout.js CLOSED TREE 2022-08-20 00:51:40 +03:00
Meg Viar
af84a42349 Bug 1782812 - Hide sendEmail on the Mobile Download screen for locales missing translation r=jprickett,Mardak
Depends on D154681

Differential Revision: https://phabricator.services.mozilla.com/D154990
2022-08-19 21:50:44 +00:00
Norisz Fay
f39c1652ee Backed out changeset 1d022fd2c075 (bug 1782524) for causing bc failures on browser_feature_callout.js CLOSED TREE 2022-08-20 00:51:40 +03:00
Daisuke Akatsuka
2d6e9b1c6d Bug 1785165: Make new window by context menu of tile be target to inheritance of sponsored session. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D154845
2022-08-19 21:14:49 +00:00
Jason Prickett
bffaa61b3d Bug 1781378 - Adding final MR onboarding strings r=pdahiya,fluent-reviewers,flod,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154681
2022-08-19 20:42:45 +00:00
Meg Viar
6a8c33b62a Bug 1782524 - Reposition Feature Callout if it overlaps parent element by more than 15% r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154649
2022-08-19 20:17:41 +00:00
Punam Dahiya
e388e80d3e Bug 1783751 - Handle bold and soft variation depending on users previous theme or colorway selection r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D155023
2022-08-19 17:55:14 +00:00
Cosmin Sabou
31d01d41c2 Backed out changeset 5cbf8bf85c77 (bug 1782524) for bc failures on browser_notification_dot.js. CLOSED TREE 2022-08-19 20:29:56 +03:00
Meg Viar
a856a8cfae Bug 1782524 - Reposition Feature Callout if it overlaps parent element by more than 15% r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154649
2022-08-19 14:17:15 +00:00
Iulian Moraru
d2eda163d0 Backed out changeset 01420503a289 (bug 1785165) for causing node - newtab failures. CLOSED TREE 2022-08-19 12:06:58 +03:00
Daisuke Akatsuka
8c5af6a353 Bug 1785165: Make new window by context menu of tile be target to inheritance of sponsored session. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D154845
2022-08-19 08:23:33 +00:00
Cristian Tuns
e35105c3d4 Backed out changeset ef1b76817c3b (bug 1783070) for causing node failures CLOSED TREE 2022-08-18 20:43:05 -04:00
Shane Hughes
3750e339b2 Bug 1783070 - Use safe navigators for About Welcome window functions. r=mviar
Update About Welcome's invocations of window functions to use optional
chaining to avoid errors when they are undefined. Then, the surfaces
that load the About Welcome bundle will no longer need to define those
references as empty functions.

Differential Revision: https://phabricator.services.mozilla.com/D155011
2022-08-19 00:06:40 +00:00
hanna alemu
d36657bbb5 Bug 1778792 - Update language mismatch screen in MR onboarding r=fluent-reviewers,flod,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D153502
2022-08-18 22:52:49 +00:00
Noemi Erli
df64da633f Backed out changeset 144868fa5739 (bug 1778792) for causing newtab failures CLOSED TREE 2022-08-19 01:37:51 +03:00
hanna alemu
d9c49a3262 Bug 1778792 - Update language mismatch screen in MR onboarding r=fluent-reviewers,flod,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D153502
2022-08-18 21:49:53 +00:00
Punam Dahiya
77c80e8323 Bug 1783780 - Update image icon used for default theme in MR onboarding colorway screen r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D155001
2022-08-18 19:34:02 +00:00
Shane Hughes
d2e2d0b7b8 Bug 1784571 - Responsive alignment for new MR about:welcome splash. r=mviar
Adjust the alignment of the logo and heading on the new about:welcome
splash for viewports under 800px width.

Differential Revision: https://phabricator.services.mozilla.com/D154955
2022-08-18 17:28:02 +00:00
Anna Yeddi
f0cb8e8faf Bug 1761893 - Remove aria-valuetext from a list of localisable attributes. r=smaug,nordzilla,Jamie,eemeli
`Aria-valuetext` attribute is expected to be mutated with each change of user's input, thus it does not have to be listed as localizable attribute.

Also, this approach removes pre-selected value from the DOM on init of a component like a spinbutton, preventing users of assistive technology from accessing human-readable value that was pre-selected and is present on-screen.

Updating a patch to ensure [the fix for bug 1779625](https://bugzilla.mozilla.org/show_bug.cgi?id=1779625) is still working after the change per discussion in Bugzilla.

Differential Revision: https://phabricator.services.mozilla.com/D142371
2022-08-18 17:09:54 +00:00
Cosmin Sabou
b92607877a Bug 1785253 - Add line so that newtab linter would be happy. r=mviar 2022-08-17 16:14:55 +03:00
Meg Viar
0d7faafd1f Bug 1781158 - Add final illustration assets and update Firefox View feature callout message configuration r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154283
2022-08-16 19:53:46 +00:00
Punam Dahiya
c0094010fa Bug 1776691 - Make background image position configurable for small screens in MR onboarding r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154577
2022-08-16 18:54:49 +00:00
Daisuke Akatsuka
9a83490432 Bug 1784369: Make opening in new window target for inheritance of sponsored sessions. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D154483
2022-08-16 00:41:01 +00:00
Norisz Fay
b1df28edbf Backed out 3 changesets (bug 1784369, bug 1784242) for causing node newtab failures CLOSED TREE
Backed out changeset f19a8a76a85b (bug 1784242)
Backed out changeset 0722fc4bb4fa (bug 1784242)
Backed out changeset 2d4131b0ca28 (bug 1784369)
2022-08-16 03:19:32 +03:00
Daisuke Akatsuka
05112fc891 Bug 1784369: Make opening in new window target for inheritance of sponsored sessions. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D154483
2022-08-15 23:45:32 +00:00
Meg Viar
3dfe381d04 Bug 1781084 - Add CSS transitions when moving Feature Callout from one element to the next r=Mardak
Depends on D154143

Differential Revision: https://phabricator.services.mozilla.com/D154275
2022-08-15 23:11:13 +00:00
Punam Dahiya
577c1a4614 Bug 1782307 - Add background images to MR Onboarding screens r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154335
2022-08-15 22:48:59 +00:00
Butkovits Atila
f7193cd876 Backed out changeset 274d79402d7d (bug 1782307) for causing failures at browser_all_files_referenced.js. CLOSED TREE 2022-08-16 00:29:56 +03:00
Punam Dahiya
75c893aee1 Bug 1782307 - Add background images to MR Onboarding screens r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154335
2022-08-15 20:25:15 +00:00
Punam Dahiya
f2d82dbc0a Bug 1784063 - Fix blue overlay gradient in existing user MR onboarding r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154480
2022-08-15 16:42:11 +00:00
Meg Viar
497076b5ed Bug 1784138 - Show the correct number of steps in the Feature Callout step indicator r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D154301
2022-08-15 12:41:59 +00:00