Commit Graph

1298 Commits

Author SHA1 Message Date
Shane Hughes
095143b123 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
3f18afb35b 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
69f143c160 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
17b69c4607 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
252dec2d58 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
72b768b7b7 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
33657f726d 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
bffb763c63 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
bf8612ed86 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
48f8f94145 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
f6b948db44 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
49b66cb543 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
8770446534 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
bf7714945d 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
e05ab712ce 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
47161480c3 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
16ac01d97a 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
04e1d3b419 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
046569807c 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
0a3886816d 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
0c3dca4f67 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
c78e806a19 Backed out changeset 2dcea9f0eb7e (bug 1768730) for causing python failures. CLOSED TREE 2023-01-10 10:13:31 +02:00
hanna alemu
78b16c7240 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
999e89b206 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
00abf03e4f 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
aa11bbbe1c 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
bf1bcee6bd 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
1906571b03 Backed out changeset 32a27bcc7e0a (bug 1805318) for causing newtab failures CLOSED TREE 2023-01-03 12:24:06 +02:00
hanna alemu
bde552a0f7 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
d2b8ba7f8a 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
1fd63074c1 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
52500a8c09 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
9a9c859213 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
a35c59d0ab 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
6f68f8a82a 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
426d10750c 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
5d7af98413 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
ea74f8cc33 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
c145c22abc 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
bbf7fa7f65 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
dfdf59950f 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
9d50f3d711 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
a6db112731 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
1d574e4e44 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
83343af82b 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
2aba9c12cd 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
5f08f17bf3 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
e4f818ecc2 Backed out changeset 732eca22ad6f (bug 1799974) for causing node failures CLOSED TREE 2022-12-01 14:59:56 -05:00
scott
f0ca205e0d 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
81b2abcdfd 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