gecko-dev/browser
Greg Tatum 7890042033 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
..
actors Bug 1753836 - Fix context menus to deal with Event.screen* returning page CSS coordinates. r=Gijs 2022-02-16 12:18:11 +00:00
app Bug 1755519 - Add language switching to about:welcome; r=pdahiya,platform-i18n-reviewers,flod,dminor 2022-03-02 15:52:43 +00:00
base Bug 1756385 - Widgets to appear unchecked in customize mode. r=jaws 2022-03-01 15:26:19 +00:00
branding Bug 1755665 - Use --focus-outline instead of --deafult-focusring for .text-link across platforms. r=Itiel 2022-02-16 22:55:14 +00:00
components Bug 1755519 - Add language switching to about:welcome; r=pdahiya,platform-i18n-reviewers,flod,dminor 2022-03-02 15:52:43 +00:00
config Bug 1755648 - Disable RLBox in code coverage builds. r=firefox-build-system-reviewers,glandium DONTBUILD 2022-02-25 09:19:05 +00:00
docs Bug 1748780 - Write documentation for Places: History and Bookmarks. r=mak 2022-02-18 10:19:11 +00:00
extensions Bug 1752986 - ship v31.0.0 of the webcompat addon; r=denschub,webcompat-reviewers 2022-02-28 19:13:16 +00:00
fonts
fxr
installer Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky 2022-02-03 18:34:58 +00:00
locales Bug 1755519 - Add language switching to about:welcome; r=pdahiya,platform-i18n-reviewers,flod,dminor 2022-03-02 15:52:43 +00:00
modules Bug 1751010: Create a separate jumplist for the Private Browsing taskbar icon. r=mhowell 2022-03-01 14:16:48 +00:00
themes Bug 1757572 - Remove --toolbarbutton-focus-outline which at this point is just an alias for --focus-outline. r=Itiel 2022-03-02 04:54:57 +00:00
tools/mozscreenshots Bug 1747461 - Remove FileUtils.getFile from browser/tools/mozscreenshots r=MattN 2022-01-19 18:37:24 +00:00
.eslintrc.js
app.mozbuild Bug 1746299 - Remove broken support for --enable-project=extensions and --enable-extensions. r=Gijs,firefox-build-system-reviewers,mhentges 2021-12-18 00:32:34 +00:00
build.mk
confvars.sh Bug 1747855 - Move --disable-updater to python configure. r=firefox-build-system-reviewers,geckoview-reviewers,mhentges,calu 2021-12-30 00:54:02 +00:00
defs.mk
l10n-registry.manifest
LICENSE
Makefile.in
moz.build
moz.configure