Commit Graph

2513 Commits

Author SHA1 Message Date
Brian
0b327f0974 Bug 1788925 - Convert AboutReader from JSM to ESM. r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D157034
2022-09-23 21:19:12 +00:00
Shane Hughes
e03548a638 Bug 1791412 - Adjust MR Onboarding Pin private browsing illustration to center it. r=pdahiya
Add 50px to the left side of mr-pinprivate.svg so it feels more centered.

Differential Revision: https://phabricator.services.mozilla.com/D157776
2022-09-22 21:32:46 +00:00
negin
bc59648a83 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
e800a9ab3f 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
Emily McMinn
e0d5ce02f4 Bug 1791861 - Update tooltip and aria-label for default colorway option r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D157863
2022-09-22 14:25:48 +00:00
Punam Dahiya
a223d61beb Bug 1790835 - Add Intro Spotlight Modal Screen to Feature Tour r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D157691
2022-09-20 20:31:36 +00:00
scott
554aaaaf6b 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
hanna alemu
c326560584 Bug 1783684 - Suggest Firefox View with a CFR panel for users who have closed tabs but haven't opened it r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D156588
2022-09-20 19:39:02 +00:00
Emily McMinn
0763ca6c8b 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
Jonathan Sudiaman
febfadf50b Bug 1790758 - Convert Region.jsm and IgnoreLists.jsm JSM modules to ESMs r=Standard8,preferences-reviewers,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D157337
2022-09-20 12:21:45 +00:00
Cosmin Sabou
4d2a07b5af Backed out changeset 4eed140eab3f (bug 1783684) for causing several bc failures. CLOSED TREE 2022-09-18 20:04:16 +03:00
hanna alemu
bd65360b11 Bug 1783684 - Suggest Firefox View with a CFR panel for users who have closed tabs but haven't opened it r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D156588
2022-09-18 16:01:11 +00:00
Shane Hughes
75546a2dcb 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
655ad8b48c 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
2fade3c4d3 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
2afc0dde2a 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
fd387bec24 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
221b28954c 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
e22374b3fb 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
ca1c4058a5 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
Meg Viar
0096bcb2fa Bug 1790321 - Ensure that the Firefox View feature tour is displayed when users already have tab sync enabled r=jprickett
Differential Revision: https://phabricator.services.mozilla.com/D157163
2022-09-14 21:33:29 +00:00
Shane Hughes
0eb8741c0b 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
Shane Hughes
5b7b6ec7d7 Bug 1788754 - Add a primary CTA to the tab pickup message. r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D157066
2022-09-14 19:54:38 +00:00
negin
6e90484073 Bug 1788521 - Add a pref to hide Pin Private Window option from Existing users MR onboarding r=pdahiya
Differential Revision: https://phabricator.services.mozilla.com/D157144
2022-09-14 19:44:39 +00:00
Meg Viar
714d96b541 Bug 1790465 - Add MR holdback study targeting to all Feature Callout messages r=barret
Differential Revision: https://phabricator.services.mozilla.com/D157146
2022-09-14 18:50:28 +00:00
Punam Dahiya
a10036f907 Bug 1787275 - Add majorRelease2022 nimbus holdback targeting to hide pin promo r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D157291
2022-09-14 17:49:26 +00:00
Nick Alexander
e0bf9e65d7 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
bd9a96ff47 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
Sarah Clements
e04c7ffb66 Bug 1787979 - keyboard shortcut navigates to the wrong tab from Firefox View tab r=dao
* Remove index: 0 in FirefoxViewHandler.openTab
* Add condition in tabbrowser _selectNextTab for FirefoxView tab
* Fix tests

Differential Revision: https://phabricator.services.mozilla.com/D156688
2022-09-14 15:20:01 +00:00
Shane Hughes
ae3150ef08 Bug 1790126 - Change Colorways onboarding primary label. r=Mardak,flod
Differential Revision: https://phabricator.services.mozilla.com/D157230
2022-09-14 14:38:20 +00:00
Marian-Vasile Laza
2e7d3531bc Backed out changeset 9bf0a16672ec (bug 1787979) for causing bc failures on browser_sma_click_element.js. CLOSED TREE 2022-09-14 16:45:04 +03:00
Sarah Clements
26d455d485 Bug 1787979 - keyboard shortcut navigates to the wrong tab from Firefox View tab r=dao
* Remove index: 0 in FirefoxViewHandler.openTab
* Add condition in tabbrowser _selectNextTab for FirefoxView tab
* Fix tests

Differential Revision: https://phabricator.services.mozilla.com/D156688
2022-09-14 11:24:58 +00:00
Meg Viar
067eaadd58 Bug 1788991 - Add Messaging Trigger for the nth Closed Tab r=dmose,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D156905
2022-09-13 21:03:46 +00:00
Sandor Molnar
adc341e323 Backed out changeset 658be3acc41a (bug 1788991) for causing bc failures in toolkit/components/messaging-system/schemas/TriggerActionSchemas/test/browser/browser_asrouter_trigger_docs.js CLOSED TREE 2022-09-13 23:01:38 +03:00
Meg Viar
edd8a30169 Bug 1788991 - Add Messaging Trigger for the nth Closed Tab r=dmose,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D156905
2022-09-13 18:48:17 +00:00
Punam Dahiya
f332fca018 Bug 1789192 - MR Onboarding Mobile Cross promo QRCode for MozillaOnline partner repack r=jprickett,hectorz
Differential Revision: https://phabricator.services.mozilla.com/D157000
2022-09-13 18:35:01 +00:00
Sandor Molnar
03d1865f8f Backed out changeset a224934d4790 (bug 1786523) for causing multiple failures in browser_siteData_multi_select/browser_aboutwelcome_multistage_mr CLOSED TREE 2022-09-13 22:27:08 +03:00
Emily McMinn
ec1c592456 Bug 1786523 - Add a where prop to FXA Accounts to allow opening in a new tab r=negin
Differential Revision: https://phabricator.services.mozilla.com/D156206
2022-09-13 17:53:08 +00:00
Emily McMinn
e1c346b911 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
Mike Conley
023d86fe63 Bug 1775858 - Make sure Discovery Stream cards exist before running about:home startup cache tests. r=daleharvey
The about:home startup cache tests assert that Discovery Stream nodes are rendered in
the cached page after it loads. It seems that about:home startup is a bit asynchronous,
and _sometimes_ the Discovery Stream cards don't yet exist at the time of caching.

This updates our tests to wait for about:home to have finished loading the Discovery Stream
nodes before continuing.

Differential Revision: https://phabricator.services.mozilla.com/D157147
2022-09-13 16:30:34 +00:00
Iulian Moraru
dcf1f3817e Backed out changeset b81337fc9ed1 (bug 1789192) for causing multiple bc failures. CLOSED TREE 2022-09-13 19:44:44 +03:00
Punam Dahiya
31a79a1338 Bug 1789192 - MR Onboarding Mobile Cross promo QRCode for MozillaOnline partner repack r=jprickett,hectorz
Patch updates QR code svg as confirmed in https://bugzilla.mozilla.org/show_bug.cgi?id=1789192#c3

Differential Revision: https://phabricator.services.mozilla.com/D157000
2022-09-13 15:52:27 +00:00
Dan Mosedale
35c16cc1e4 Bug 1789186 - Fix _showUpgradeDialog race, r=Mardak
Up until now, we were waiting on `TabSwitchDone` to open the Spotlight dialog. Unfortunately, this sometimes finished too soon, and the `about:home` URI for the new tab load gets set after the dialog is in flight, causing the [TabDialogBox onLocationChange function](https://searchfox.org/mozilla-central/rev/275630dfceb88eee07e4c7d38cd021dd39c2ab23/browser/base/content/browser.js#9241) to abort the dialog entirely.

Now, we use a TabsProgressListener to open the dialog once `onLocationChange` has fired.  [It makes the tests much happier](https://treeherder.mozilla.org/jobs?repo=try&revision=e8b04a4a1b7f8372bd948e4227b042168ed3778a) -- here's [how things looked before](https://treeherder.mozilla.org/jobs?repo=try&revision=6b8356207c0550fe070c050a482a8135c9826c5c). I believe this issue could happen to real users, so I'm inclined to land this for 106.  That said, I have a fair bit of sympathy for the concern that this sort of change could have unintended fallout.

@Mardak, would love your thoughts on when to land...

Differential Revision: https://phabricator.services.mozilla.com/D157142
2022-09-13 15:43:29 +00:00
Nick Alexander
b85602e1a7 Bug 1788960 - Part 1: Round trip name for privileged alerts through Firefox restart. r=nrishel
On Windows, when an alert is privileged and `name` is non-empty, round
trip its `name` (as `privilegedName`) through the Windows notification
mechanism, and provide it to the "relaunch" callback.

Differential Revision: https://phabricator.services.mozilla.com/D156636
2022-09-13 02:43:17 +00:00
Alexander Nicholson
9029aeac65 Bug 1786670 Renew newtab metrics r=chutten DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D157157
2022-09-12 21:02:32 +00:00
Barret Rennie
6b4a7f9717 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
Barret Rennie
cc4effe4c1 Bug 1784100 - Override aboutwelcome.templateMR feature with majorRelease 2022 r=pdahiya
I also cleaned up browser_aboutwelcome_multistage_mr.js so that each task is
idempotent and does not pollute the state of other tasks (e.g., by leaving
prefs set).

Differential Revision: https://phabricator.services.mozilla.com/D155886
2022-09-12 20:37:16 +00:00
Shane Hughes
e641c823dc Bug 1790127 - Hide the secondary CTA on welcome screen if the primary action will have no effect. r=Mardak
If Firefox is the default app and pinned to the dock/taskbar, the
primary CTA on the welcome screen will have the same effect as the
secondary CTA. So we can hide one of them. The non-MR page already has
this feature and elects to hide the secondary CTA, so do the same here.

Differential Revision: https://phabricator.services.mozilla.com/D157019
2022-09-11 20:14:53 +00:00
Shane Hughes
367a4bf41c Bug 1789667 - Fix onboarding screen background images for HCM. r=mviar,emcminn
In HCM on Windows, background colors are overridden by the HCM theme's
default background value. And if a CSS background property has more
than 1 layer, only the last layer can include a background-color, so I
suspect that if it has one, background-images on the previous layers
will be obscured by the overridden default background on the last
layer. This patch circumvents this by putting the background-color on
the same layer as the background-image.

Differential Revision: https://phabricator.services.mozilla.com/D156719
2022-09-10 18:07:34 +00:00
Shane Hughes
3deb6aea98 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