-
Notifications
You must be signed in to change notification settings - Fork 2k
Gutenboarding: Use Card and CardMedia from @wordpress/components #38607
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
Gutenboarding: Use Card and CardMedia from @wordpress/components #38607
Conversation
4636dc0 to
8445ed3
Compare
|
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Webpack Runtime (~59 bytes removed 📉 [gzipped]) DetailsWebpack runtime for loading modules. It is included in the HTML page as an inline script. Is downloaded and parsed every time the app is loaded. App Entrypoints (~3371 bytes added 📈 [gzipped]) DetailsCommon code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~29858 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 (~2792 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. |
|
The TypeScript check is currently failing since this also needs an update of |
Just checked https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wordpress__components/, and nope, Do we have infrastructure in Gutenberg in place already that produces typedefs for us? Haven't kept track lately 😬 /cc @sirreal @gziolo @aduth |
Ah here: WordPress/gutenberg#18942. |
|
Adding type defs for |
6792f34 to
2b76cdd
Compare
8445ed3 to
5a86e07
Compare
|
Rebased and pushed an improvement to align with types in DefinitelyTyped/DefinitelyTyped#41448 |
5a86e07 to
7e6fa86
Compare
|
Rebased |
c8ae564 to
00a4d60
Compare
dd3505d to
285849a
Compare
|
Rebased |
b4f0039 to
e1f9673
Compare
|
With merge/rebase/auto-closing/changing target branch, this got into a state where I couldn't open or change the base branch… I've move it to a new PR: #38802 |
Changes proposed in this Pull Request
and remove local copy of Card component.
PR based on #38554. Rebase branch (and base PR on
master) once that PR has been merged.Testing instructions
Verify that Gutenboarding still works.