1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/pages
Mark Stacey 2b6aff535e
Migrate "i18n-provider" to new context API (#8213)
The "i18n-provider" module has been replaced by a new `i18n.js` module
in the `contexts` directory which provides the `t` function via the new
React Context API.

The legacy context API is still used throughout the codebase, so a
legacy context provider has also been added as a shim until we migrate
away from the old API. The migration does require changing every single
place where the `t` function is used, so it is a non-trivial amount of
work. This shim allows us to tackle it one piece at a time without
breaking anything.

This was placed in a new `contexts` directory because it didn't seem
to belong in any existing categories. It certainly isn't a higher-order
component.
2020-03-23 14:07:05 -03:00
..
add-token Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
confirm-add-suggested-token Remove faux <header> elements (#8131) 2020-02-27 18:00:20 -04:00
confirm-add-token Remove faux <header> elements (#8131) 2020-02-27 18:00:20 -04:00
confirm-approve LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-decrypt-message LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-deploy-contract Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
confirm-encryption-public-key LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-send-ether LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-send-token LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-token-transaction-base LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-transaction LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-transaction-base Remove fallback for missing localized messages (#8212) 2020-03-23 11:54:57 -03:00
confirm-transaction-switch Implementation encrypt/decrypt feature (#7831) 2020-02-19 14:24:16 -04:00
connected-sites Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
create-account Remove recompose (#8097) 2020-02-24 19:28:26 -03:30
error Add top-level error page (#7889) 2020-01-24 17:11:02 -04:00
first-time-flow Translation helper: substitute react components and component wrapping substrings (#8129) 2020-03-11 12:30:05 -02:30
home Display nothing during confirm page load (#8207) 2020-03-17 18:11:44 -03:00
keychains Remove faux <header> elements (#8131) 2020-02-27 18:00:20 -04:00
lock Remove recompose (#8097) 2020-02-24 19:28:26 -03:30
mobile-sync Clear sync timeout on unmount (#8199) 2020-03-16 19:33:43 -04:00
permissions-connect Change permissions connect screen to use browser routing (#8072) 2020-02-27 11:20:05 -04:00
routes LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
send Remove unused parameters (#8216) 2020-03-19 14:32:38 -03:00
settings Use new Copy icon (#8190) 2020-03-16 09:44:02 -04:00
unlock-page Remove recompose (#8097) 2020-02-24 19:28:26 -03:30
index.js Migrate "i18n-provider" to new context API (#8213) 2020-03-23 14:07:05 -03:00
index.scss Extract style for Home component into separate module (#8139) 2020-02-28 16:27:22 -04:00