Commit Graph

1027 Commits

Author SHA1 Message Date
Meg Viar
19b16d1f64 Bug 1764070 - Differentiate between auto advance and user click when sending Spotlight/AboutWelcome event telemetry r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D143767
2022-04-19 22:43:15 +00:00
Ed Lee
2404595768 Bug 1765130 - [Upgrade spotlight] The bottom part of the "g" letter from the "gracias" string is cut off on Firefox es-ES locale r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D143922
2022-04-18 17:24:13 +00:00
Ed Lee
076d73d31f Bug 1764535 - The “about:welcome” page is broken on Firefox AR locale if the Central Kurdish OS language is set r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D143646
2022-04-14 00:44:46 +00:00
Meg Viar
e3ec61e716 Bug 1762471 - For AboutWelcome screens, use screen index rather than setting screen order explicitly in the config r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D142860
2022-04-11 14:53:38 +00:00
Emily McMinn
b92444a2a1 Bug 1762433 - Fixes for Windows HCM r=mviar
Fixes for these points from the a11y review of Private Browsing:


   -the download button should have a border (color: ButtonText) when it is hovered so the text itself doesn’t bleed into the background

   -the border on the close button should use ButtonText

   -the google play and app store buttons in the dialog seem to be images, and the images already have borders so adding the button border like we’d normally makes it look fuzzy/visually indistinct. Ideally I’d remove the border from the image and rely on the CSS styling to add the (dynamic) border back in, but we could also remove the border in HCM since this content wont be adaptive anyway (and I think having the additional border here is actually harming the UX)

Differential Revision: https://phabricator.services.mozilla.com/D143092
2022-04-07 21:01:06 +00:00
Meg Viar
ca80b2c7d1 Bug 1763470 - Accessibility updates for FX100 upgrade dialog r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D143182
2022-04-07 19:22:30 +00:00
jaia
f2293a83dc Bug 1708511 Rename glyph-modal-delete32.sv to match actual size. r=amy
file name changed in:
browser/components/newtab/data/content/assets/
browser/components/newtab/content-src/styles/_icons.scss
browser/components/newtab/css/activity-stream-mac.css
browser/components/newtab/css/activity-stream-linux.css
browser/components/newtab/css/activity-stream-windows.css
obj-aarch64-apple-darwin20.6.0/faster/install_dist_bin_browser.track

Differential Revision: https://phabricator.services.mozilla.com/D142283
2022-04-04 21:14:44 +00:00
Meg Viar
9bf58262eb Bug 1762273 - Adjust thank you screen square-ish sizing with noodles, transitions, auto advance without showing Home r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D142839
2022-04-04 17:27:24 +00:00
Dan Mosedale
a31d8c10ce Bug 1762718 - Zap underline text overlap in welcome screen, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D142755
2022-04-03 15:29:21 +00:00
Emily McMinn
e227837f58 Bug 1762680 - Widen Zap for about:welcome hero text, r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D142744
2022-04-02 03:00:25 +00:00
Dan Mosedale
0db7b287ce Bug 1762285 - Update about:welcome for Fx 100 Thank You, r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D142736
2022-04-02 02:31:14 +00:00
Emily McMinn
5ddae5a328 Bug 1762290 - Update hero text styling with configuration r=mviar
Differential Revision: https://phabricator.services.mozilla.com/D142633
2022-04-01 23:08:57 +00:00
Greg Tatum
c31c806286 Bug 1762659 - Use MozIntl for stand-alone display names in LangPackMatcher.jsm; r=Mardak,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D142730
2022-04-01 21:39:17 +00:00
Greg Tatum
9b10feee4b Bug 1762297 - Ensure the AW decline button resets the app locale; r=Mardak,platform-i18n-reviewers,nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D142601
2022-04-01 21:39:16 +00:00
Greg Tatum
b85acfa2cb Bug 1762297 - Change buttons on about:welcome language prompt; r=Mardak,platform-i18n-reviewers,nordzilla,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D142516
2022-04-01 21:39:16 +00:00
Ed Lee
c3868ecccc Bug 1762488 - Remove text configuration nesting with raw unlocalized text r=emcminn
Also allow configuring styles like zap and color. Clean up some unnecessary conditional rendering as Localized already handles that.

Differential Revision: https://phabricator.services.mozilla.com/D142673
2022-04-01 16:20:45 +00:00
Meg Viar
7af292471e Bug 1762291 - Allow body text for corner screen with wider/adjusted sizing and whitespace r=Mardak,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D142618
2022-04-01 13:03:27 +00:00
Meg Viar
48fd34f067 Bug 1762242 - Conditionally show Private Browsing page Focus promo r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D142551
2022-04-01 12:36:30 +00:00
Meg Viar
b7856c7762 Bug 1762052 - Multistage spotlight shows 1 fewer steps than expected r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D142378
2022-03-31 15:19:14 +00:00
Meg Viar
c1236a3d66 Bug 1762194 - Update schema in for mobile downloads in Spotlight/AboutWelcome r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D142456
2022-03-31 11:52:22 +00:00
Meg Viar
797fee1e4e Bug 1762180 - Fix typo in aboutwelcome.scss r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D142453
2022-03-30 22:08:52 +00:00
Meg Viar
b11c2e323c Bug 1760169 - Ensure proper RTL display in new Spotlight messaging surface r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D141604
2022-03-30 15:36:18 +00:00
Meg Viar
939d051b6f Bug 1754247 - Add marketplace image icons inside spotlight modal for list of supported locales r=Mardak,Gijs
Depends on D141965

Differential Revision: https://phabricator.services.mozilla.com/D141022
2022-03-29 22:46:59 +00:00
Meg Viar
1db2a0f1c1 Bug 1761250 - Enable showing Klar QR to users with de locale in Focus promos using Spotlight in PBM r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D141965
2022-03-29 17:24:11 +00:00
Meg Viar
d58d6f81ba Bug 1761249 - The outline of the marketplace buttons from the “Get Firefox Focus” spotlight modal is not fully visible when the Dark theme is enable r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D142270
2022-03-29 14:48:52 +00:00
Barret Rennie
af694af439 Bug 1752665 - Make the Spotlight schema less strict with respect to images r=emcminn
The previous changes to the Spotlight schema made one of the logo.imageURL or
logo.imageId required. However, this is not backwards compatible with the older
Firefoxen, so we have to support the case where `logo` is present (e.g., for
`image.size`) without either of those properties, but `logoImageURL` *is*
present.

Differential Revision: https://phabricator.services.mozilla.com/D140761
2022-03-25 00:01:21 +00:00
Barret Rennie
4db190e51d Bug 1752665 - Rewrite PanelTestProvider test as xpcshell test with new json schema validator r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D138927
2022-03-25 00:01:20 +00:00
Barret Rennie
570a0f103e Bug 1757809 - Provide a JsonSchema module that supports additional Mozilla-specific formats r=mossop,emcminn
In migrating from Ajv 6 to @cfworker/json-schema, some schemas will no longer
validate due to the `format: uri` annotation only being a suggestion for
strings in Ajv 6. Our URLs that use %PLACEHOLDERS% (e.g., `%LOCALE%`) will not
pass validation as URIs due to being interpreted as invalid URL encoding.

Here we add a facade in front of @cfworker/json-schema which defines a
`moz-url-format` format for strings, which runs them through
Services.urlFormatter.formatURL before attempting to validate them as URIs. We
don't simply find-replace all %PLACEHOLDERS% because the URL formatter service
only supports certain variables and will leave undefined variables as-is,
leading to a validation error (which is what we want).

Differential Revision: https://phabricator.services.mozilla.com/D138926
2022-03-25 00:01:18 +00:00
Meg Viar
9e6c3b20df Bug 1758028 - Implement PBM modal content as per finalized design r=pdahiya,preferences-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D140739
2022-03-23 14:03:18 +00:00
smolnar
a741da5d02 Backed out changeset f6577528fc15 (bug 1758028) for causing xpc failures in xpcshell/test_BrowserUtils.js CLOSED TREE 2022-03-22 21:54:22 +02:00
Meg Viar
e6c366cc05 Bug 1758028 - Implement PBM modal content as per finalized design r=pdahiya,preferences-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D140739
2022-03-22 19:19:02 +00:00
Emilio Cobos Álvarez
811ecde56b Bug 1759925 - Allow aria-description as a globally safe l10n attribute. r=Gijs
We had precedents for this and it is safe to allow it everywhere.

Depends on D141276

Differential Revision: https://phabricator.services.mozilla.com/D141277
2022-03-16 23:03:49 +00:00
Marian-Vasile Laza
7cd6c33676 Backed out 3 changesets (bug 1757809, bug 1755599) for causing bc failures on browser_all_files_referenced.js. CLOSED TREE
Backed out changeset 63ae4c9485e9 (bug 1757809)
Backed out changeset 2297b7533b97 (bug 1755599)
Backed out changeset e021f9e97c76 (bug 1755599)
2022-03-10 12:08:13 -08:00
Barret Rennie
7fc61d9b42 Bug 1757809 - Provide a JsonSchema module that supports additional Mozilla-specific formats r=mossop,emcminn
In migrating from Ajv 6 to @cfworker/json-schema, some schemas will no longer
validate due to the `format: uri` annotation only being a suggestion for
strings in Ajv 6. Our URLs that use %PLACEHOLDERS% (e.g., `%LOCALE%`) will not
pass validation as URIs due to being interpreted as invalid URL encoding.

Here we add a facade in front of @cfworker/json-schema which defines a
`moz-url-format` format for strings, which runs them through
Services.urlFormatter.formatURL before attempting to validate them as URIs. We
don't simply find-replace all %PLACEHOLDERS% because the URL formatter service
only supports certain variables and will leave undefined variables as-is,
leading to a validation error (which is what we want).

Differential Revision: https://phabricator.services.mozilla.com/D138926
2022-03-10 18:53:32 +00:00
Meg Viar
1c10bc409e Bug 1758340 - RTAMO onboarding page does not fetch the extension/theme name on Nightly r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D140504
2022-03-08 03:03:43 +00:00
Meg Viar
a818b7875f Bug 1741923 - Add/update template to show large photograph/background image r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D139064
2022-03-05 02:19:58 +00:00
Iulian Moraru
b63a919c5a Backed out changeset 1f27d80f3ad1 (bug 1741923) for causing multiple mochitest failures. CLOSED TREE 2022-03-05 03:59:31 +02:00
Meg Viar
deddf67e0c Bug 1741923 - Add/update template to show large photograph/background image r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D139064
2022-03-05 00:28:30 +00:00
Csoregi Natalia
eb26fa9098 Backed out changeset b9007c68e8ff (bug 1741923) for causing multiple failures e.g.browser_parsable_css.js. CLOSED TREE 2022-03-05 00:42:05 +02:00
Meg Viar
9aec3475b1 Bug 1741923 - Add/update template to show large photograph/background image r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D139064
2022-03-04 21:46:16 +00:00
Barret Rennie
d9ec0379f0 Bug 1757714 - Update ASRouter docs link, again r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D140230
2022-03-04 02:46:28 +00:00
Butkovits Atila
8f2e80d86d Backed out changeset de7f88e226a1 (bug 1757714) for causing node failures. CLOSED TREE 2022-03-04 04:37:02 +02:00
Barret Rennie
9d15b4aa33 Bug 1757714 - Update ASRouter docs link, again r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D140230
2022-03-04 01:55:45 +00:00
Greg Tatum
80525762c6 Bug 1755519 - Add language switching to about:welcome; r=pdahiya,platform-i18n-reviewers,flod,dminor
This patch ended up adding some complexity to about:welcome, as the
language switching needs to eagerly perform fallible asynchronous
actions. Specifically it needs to get the list of addons and
pre-emptively install the langpack, which can take time, and can fail.

This necessitated building a custom React components and custom hooks to
be able to deal with these requirements.

The following command will allow for the testing of this feature.

./mach run \
  --temp-profile \
  --setpref "extensions.getAddons.langpacks.url=https://mock-amo-language-tools.glitch.me/?app=firefox&type=language&appversion=%VERSION%" \
  --setpref "intl.multilingual.aboutWelcome.languageMismatchEnabled=true" \
  --setpref "intl.multilingual.aboutWelcome.systemLocaleOverride=es-ES" `#(optional)` \
  -- --new-tab about:welcome

Differential Revision: https://phabricator.services.mozilla.com/D138831
2022-03-02 15:52:43 +00:00
Iulian Moraru
5d89a24073 Backed out 2 changesets (bug 1755519) for causing node test failures (About:welcome bundle out of date). CLOSED TREE
Backed out changeset 67e6561012ad (bug 1755519)
Backed out changeset 873d83eaa24e (bug 1755519)
2022-03-02 17:08:47 +02:00
Greg Tatum
efdc727635 Bug 1755519 - Add language switching to about:welcome; r=pdahiya,platform-i18n-reviewers,flod,dminor
This patch ended up adding some complexity to about:welcome, as the
language switching needs to eagerly perform fallible asynchronous
actions. Specifically it needs to get the list of addons and
pre-emptively install the langpack, which can take time, and can fail.

This necessitated building a custom React components and custom hooks to
be able to deal with these requirements.

The following command will allow for the testing of this feature.

./mach run \
  --temp-profile \
  --setpref "extensions.getAddons.langpacks.url=https://mock-amo-language-tools.glitch.me/?app=firefox&type=language&appversion=%VERSION%" \
  --setpref "intl.multilingual.aboutWelcome.languageMismatchEnabled=true" \
  --setpref "intl.multilingual.aboutWelcome.systemLocaleOverride=es-ES" `#(optional)` \
  -- --new-tab about:welcome

Differential Revision: https://phabricator.services.mozilla.com/D138831
2022-03-02 13:54:17 +00:00
Meg Viar
f917000764 Bug 1754069 - Convert autoClose configuration to support spotlight and about:welcome r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D138573
2022-02-28 15:14:27 +00:00
Punam Dahiya
e63e57f8d2 Bug 1754089 - Update Messaging System source docs r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D138074
2022-02-22 16:40:04 +00:00
Ed Lee
44942cfc9a Bug 1752935 - Reuse welcome bundle from Spotlight for multistage template r=pdahiya,andreio
Detect about:welcome template usage and move modal shadow styling to content. Remove 93-backwards-compatible logoImageURL and update schema. Only basic functionality for initial testing.

Differential Revision: https://phabricator.services.mozilla.com/D138866
2022-02-16 19:05:22 +00:00
Meg Viar
9d3226ede4 Bug 1752937 - Allow configuring each screen position for corner vs center styling r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D137879
2022-02-15 21:40:26 +00:00