-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ML] convert Less to Scss #25574
[ML] convert Less to Scss #25574
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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! 💯 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.js
file was updated to buildx-pack/plugins/ml/public/index.scss
into a css file.styling_constants.scss
fromui/public/styles
in 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.scss
and_component_names.scss
files 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 prefixmch
was added to all selectors to namespace them and avoid conflicts.ML css / design layer cleanup plan of attack
#ml-app
to 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.