-
Notifications
You must be signed in to change notification settings - Fork 2k
i18n: Remove number formatting utilities/types from i18n-calypso
#102878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i18n: Remove number formatting utilities/types from i18n-calypso
#102878
Conversation
Calypso Live (direct link)
|
b3bce54 to
4c54564
Compare
a2daf0f to
d1738f3
Compare
609baf1 to
fbe89e0
Compare
137f97a to
9e2c3c4
Compare
a8a79bb to
c836698
Compare
|
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
c836698 to
69d9896
Compare
|
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~11 bytes added 📈 [gzipped]) DetailsCommon code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~65 bytes removed 📉 [gzipped]) DetailsSections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~15 bytes removed 📉 [gzipped]) DetailsReact components that are loaded lazily, when a certain part of UI is displayed for the first time. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
19e40b3 to
25b895a
Compare
69d9896 to
6893f9a
Compare
See PT: pxLjZ-9ME-p2
Part of addressing https://github.com/Automattic/i18n-issues/issues/942
Branched off #103049
Proposed Changes
@automattic/number-formatters#102523 to remove any traces of number-formatting code from thei18n-calypsopackage, including relevant types, etc.@automattic/format-currencypackage #100559, should complete the migration to number-formatters in wp-calypsoWhy are these changes being made?
This is part of addressing https://github.com/Automattic/i18n-issues/issues/939 and https://github.com/Automattic/i18n-issues/issues/942, which aim at unifying number & currency-number formatting.
Testing Instructions
No functional changes. Build and tests passing.
Pre-merge Checklist