Conversation
2fb223f to
c2b3a6a
Compare
libsass is platform specific, therefore we can not ship it as a dependency. Instead, we will commit the compiled CSS for the UI Framework to the repository. This is updated when running `npm run uiFramework:start` which also starts the docs site. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
c2b3a6a to
efb2a5c
Compare
|
jenkins, test it |
|
I'm not very familiar running the ui framework, did hot reloading work before? I have to do full page refreshes now for styles. |
|
Question above, but otherwise this LGTM. Rebasing on master should fix tests. |
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
|
@jbudz, pushed a fix for the hot reloading and merged upstream. Hopefully that resolves the tests. |
|
@jbudz @cjcenizal - we're all green. |
cjcenizal
left a comment
There was a problem hiding this comment.
Looks good overall. I had one question.
Also, it looks like the UI Framework CSS isn't being run through PostCSS + Autoprefixer any more.
Ideally, we should update the UI Framework task to run the compiled CSS through PostCSS so we can view the UI Framework documentation in various browsers.
If that's too much trouble at the moment, we can also update base_optimizer.js to run all CSS through PostCSS:
const makeStyleLoader = preprocessor => {
let loaders = [
loaderWithSourceMaps('css-loader'),
{
name: 'postcss-loader',
query: {
config: require.resolve('./postcss.config')
}
},
];
if (preprocessor) {
loaders = [
...loaders,
loaderWithSourceMaps(preprocessor)
];
}
return ExtractTextPlugin.extract(makeLoaderString(loaders));
};
tasks/ui_framework.js
Outdated
|
|
||
| grunt.log.error(message); | ||
|
|
||
| reject(); |
There was a problem hiding this comment.
Do we need to return reject() here?
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
cjcenizal
left a comment
There was a problem hiding this comment.
LGTM! Great work @tylersmalley!
|
Thanks for the review @cjcenizal. @jbudz, let me know if the additional changes look good to you. |
Remove libsass as a dependency libsass is platform specific, therefore we can not ship it as a dependency. Instead, we will commit the compiled CSS for the UI Framework to the repository. This is updated when running `npm run uiFramework:start` which also starts the docs site. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Remove libsass as a dependency libsass is platform specific, therefore we can not ship it as a dependency. Instead, we will commit the compiled CSS for the UI Framework to the repository. This is updated when running `npm run uiFramework:start` which also starts the docs site. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Remove libsass as a dependency libsass is platform specific, therefore we can not ship it as a dependency. Instead, we will commit the compiled CSS for the UI Framework to the repository. This is updated when running `npm run uiFramework:start` which also starts the docs site. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Remove libsass as a dependency libsass is platform specific, therefore we can not ship it as a dependency. Instead, we will commit the compiled CSS for the UI Framework to the repository. This is updated when running `npm run uiFramework:start` which also starts the docs site. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* Move ContextLoadingButtons out of header into Context view. * Add kuiButton--iconText modifier to ContextLoadingButtons. * Use style guide color for highlighted Context Log row. * Add Bar component. Use Bar to surface entry-pagination controls in Context Log. Refactor ContextSizePicker directive to surface a single input without surrounding text. * Use Panel component to present loading feedback and table within Context app. * Remove fading effect from truncated doc table rows, because it doesn't work with highlighted backgrounds. It also looks weird. * Move bar component to match elastic#9803 * Update ui framework css bundle * Move getter/setter into the size-picker * Remove superfluous loading-button styling
Fixes: #9764
libsass is platform specific, therefore we can not ship it as a dependency. Instead, we will commit the compiled CSS for the UI Framework to the repository. This is updated when running
npm run uiFramework:startwhich also starts the docs site.