Commit Graph

1528 Commits

Author SHA1 Message Date
Shane Hughes
3b47420ade Bug 1816589 - Make FeatureCallout box shadow consistently dark. r=hanna_a
Differential Revision: https://phabricator.services.mozilla.com/D172629
2023-03-22 03:31:01 +00:00
Russell Chan
082fa6cd97 Bug 1821820 - Add support to open CFR using about:messagepreview r=omc-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D172835
2023-03-21 16:07:44 +00:00
Shane Hughes
dc7748825b Bug 1821497 - Add a message Share button to ASRouterAdmin. r=pdahiya,barret
Differential Revision: https://phabricator.services.mozilla.com/D172199
2023-03-20 20:31:29 +00:00
Barret Rennie
921eb4cb30 Bug 1821243 - Do not require content and template if id is present in message schema r=omc-reviewers,aminomancer
The schema still imposes the following restrictions:

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

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

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

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

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

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

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

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

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

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

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

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

This commit adds:

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

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

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

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

Differential Revision: https://phabricator.services.mozilla.com/D170524
2023-02-22 04:08:04 +00:00
Norisz Fay
887fa76a78 Backed out changeset 63c1ac1ebbac (bug 1815501) for causing node failure on _feature-callout.scss CLOSED TREE 2023-02-22 05:24:41 +02:00
Shane Hughes
0501bd8395 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
4d3c8ddc73 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
6818a9b3ac 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
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