Repository navigation
Packages: Extract @wordpress/nux package - #8016
Conversation
| # @wordpress/nux | ||
|
|
||
| The NUX module exposes components, and `wp.data` methods useful for onboarding a new user to the WordPress admin interface. Specifically, it exposes _tips_ and _guides_. | ||
| The NUX (New User eXperience) module exposes components, and `wp.data` methods useful for onboarding a new user to the WordPress admin interface. Specifically, it exposes _tips_ and _guides_. |
tofumatt
left a comment
There was a problem hiding this comment.
You should add an eslint rule to the .eslintrc that forbids imports from 'nux' and 'nux/*', similar to the other package import rules.
|
@tofumatt, an eslint rule added with 5236de7. Edit: There was a similar rule already, I updated to use the more common pattern. |
f6829aa to
5236de7
Compare
5236de7 to
1e2cee8
Compare
Oops, I didn't realise! |
|
Thre is still some issue with loading CSS file with this config. I'm looking into it. |
|
663f9d1 fixes the issue with missing CSS files. It's not great but should help us move forward with this one. It's exactly the same approach we took when moving Let's open a follow up PR where we tackle copying CSS files generated by packages build step and add RTL support there, too. |
|
Opened #8067 to keep track of CSS workaround. |
Description
Part of #3955.
This PR extracts new
@wordpress/nuxpackage.How has this been tested?
npm testand make sure there are no regressions.Make sure you can see the tips when you load new post (make sure you have
localstoragecleared before).