Conversation
|
@peteharverson and @cchaos. To make the rebase a little easier I squashed the previous PR down to a single commit. It is now up to date against master. I'll need another day to address the lingering issues from Pete's last review, but will have this ready for a final check on Wednesday so ML has some time to review before a Friday merge (after 7 FF). |
💔 Build Failed |
|
Pinging @elastic/ml-ui |
|
OK. Was worried why the +/- on the PR of this was so different from the last one and it was because jobs_list_old was removed since then. As a summary of what's been done in this PR past the original.
I'll do some more testing tonight (I'm in MV for xschool) but I think this is mostly good if @peteharverson wants to give it another check. |
💔 Build Failed |
walterra
left a comment
There was a problem hiding this comment.
Added a few comments, please check the deprecated paginated_table directive. Also added some comment/screenshots to the Google Doc, see New issues - 14 Nov. Almost there :)
x-pack/plugins/ml/public/components/paginated_table/_index.scss
Outdated
Show resolved
Hide resolved
x-pack/plugins/ml/public/components/paginated_table/_paginated_table.scss
Outdated
Show resolved
Hide resolved
x-pack/plugins/ml/public/components/paginated_table/paginated_table.js
Outdated
Show resolved
Hide resolved
💔 Build Failed |
💔 Build Failed |
add in new css compile system selector protect kibana from ml introduce ML variables timeseries explorer forecasting modal import job wizard sass files correctly missing import for event rate chart more feedback fixes fix for chart overflow ml code cleanup code cleanup more review forgot to delete some less files feedback remove last of less files bad import
…nal PR and master
1659182 to
fb6c7b0
Compare
💚 Build Succeeded |
💚 Build Succeeded |
|
LGTM with latest changes! 💯 |
peteharverson
left a comment
There was a problem hiding this comment.
LGTM! Many thanks for doing this @snide
Coverts ML's Less files to Sass and introduces EUI variables.
Replaces #23387 and is rebased against master
This PR removes the LESS files for the Machine Learning plugin and replaces them with Sass.
Process taken
src/core_plugins/machine_learning/index.jsfile was updated to buildx-pack/plugins/ml/public/index.scssinto a css file.styling_constants.scssfromui/public/stylesin Kibana. This a placeholder file that includes all theming and invisible sass globals from EUI.x-pack/plugins/ml/public/...directory were replaced with sass counterparts._index.scssand_component_names.scssfiles next to the components or views they live next to.The selectors were all changed to match EUI's BEM formatting. This means the html/js templating was touched as well.Additionally, a three-letter prefixmchwas added to all selectors to namespace them and avoid conflicts.ML css / design layer cleanup plan of attack
#ml-appto sandbox.Major visual changes
I went ahead and made the job list table act similar to our other selections so that it didn't have the awkward gap to the left of the search area. Later, we should do a pass to use the button dropdown pattern to deal with sections + actions.