Skip to content
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] Dark mode issues in ML UI components #30368

Closed
15 tasks done
peteharverson opened this issue Feb 7, 2019 · 8 comments
Closed
15 tasks done

[ML] Dark mode issues in ML UI components #30368

peteharverson opened this issue Feb 7, 2019 · 8 comments
Assignees
Labels
Feature:Anomaly Detection ML anomaly detection :ml Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. v7.13.0

Comments

@peteharverson
Copy link
Contributor

peteharverson commented Feb 7, 2019

Styling issues for the ML UI components when dark mode theme is enabled:

  • Job select button bar background (ml/public/components/job_select_list/_job_select_list.scss)
    image

  • Job select list background and font color (ml/public/components/job_select_list)
    image

  • Anomaly Explorer swimlane axis tick labels - not enough contrast to background? (/ml/public/explorer/explorer_swimlane.js)
    image

  • Jobs list job groups selector - cannot see tick in selected row (ml/public/jobs/jobs_list/components/multi_job_actions/group_selector)
    image

image

  • Jobs List expanded row tab panels (ml/public/jobs/jobs_list/components/job_details/_job_details.scss)
    image

  • Create Single Metric, Multi Metric, Population jobs - no results chart background (should be dark?)

ml/public/jobs/new_job/simple/multi_metric/create_job/_create_job.scss
ml/public/jobs/new_job/simple/population/create_job/_create_job.scss
ml/public/jobs/new_job/simple/single_metric/create_job/_create_job.scss

image

  • Create Multi Metric, Population job wizards - event rate chart background (should be dark?) (fill set in ml/public/jobs/new_job/simple/components/event_rate_chart/event_rate_chart_directive.js)
    image

  • Create Multi Metric, Popultion job wizards - metric chart background (should be dark?) (fill set in ml/public/jobs/new_job/simple/multi_metric/create_job/create_job_chart_directive.js,
    ml/public/jobs/new_job/simple/population/create_job/create_job_chart_directive.js)
    image

  • Advanced job wizard - react-select controls (needs an override of the react-select component background - (ml/public/jobs/new_job/advanced/field_select.js)
    image

Also used here in the detector modal:
image

  • Apache data recognizer module icon is on a white background (ml/server/models/data_recognizer/modules/apache_ecs/logo.json
    image

  • Nginx data recognizer module icon is on a white background (ml/server/models/data_recognizer/modules/nginx_ecs/logo.json
    image

  • Single Metric Viewer - masked area of context chart - better to use a darker shade than the almost white appearance here? (/ml/public/timeseriesexplorer/components/context_chart_mask/context_chart_mask.js)
    image

image

image

  • Field data card - 'calculated over all documents' font color (/ml/public/components/field_data_card/_field_data_card.scss)
    image

  • Field data card - contrast of font color on some of the background colors is poor (/ml/public/components/field_data_card/_field_data_card.scss)
    image

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui

@snide snide added the Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. label Feb 7, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-design

@snide
Copy link
Contributor

snide commented Mar 14, 2019

I've checked off all the ones I addressed so far in #33222

Some of these (like bad pngs) and the react select stuff, i think should be solved by just using EUI for those pieces. Writing overwrites for React select seems pretty silly when we have EUI controls that do the same thing.

@alvarezmelissa87
Copy link
Contributor

alvarezmelissa87 commented Mar 15, 2019

Heya @snide for the 7th item in the checklist (Create Multi Metric, Population job wizards - event rate chart background (should be dark?) (fill set in )
The background looks good but the color of the bars themselves feel like they may not contrast enough with the background?

image

@snide snide added v7.0.1 and removed v7.0.0 labels Apr 10, 2019
@sophiec20 sophiec20 removed Feature:ml-results legacy - do not use labels Jun 19, 2019
@MikePaquette
Copy link

MikePaquette commented Oct 22, 2019

@snide @peteharverson I'm seeing ML dark mode issues in 7.3.1, but they appear to be fixed in 7.4.
I can't locate the exact fix in #33222, so just checking to see that it's actually fixed.

  • ML->Job Management ->Job Settings
  • ML->Job Management->Job config
  • ML->Job Management->Datafeed
  • ML->Job Management ->Counts

System on which problem was observed: https://sec19.eden.elstc.co/s/dark-demo/app/ml#/jobs?_g=(refreshInterval:(pause:!f,value:30000),time:(from:now-15m,to:now))

In each case the table background color remains light, making the text barely readable.

image

image

image

image

Here's a close-up:
image

cc: @geoffbernard @cwurm

@walterra
Copy link
Contributor

@MikePaquette Those were fixed here: #45159

@MikePaquette
Copy link

Thank you, @walterra confirmed, looking correct in 7.4!

@peteharverson
Copy link
Contributor Author

Closing this issue as all the items listed in the description have now been addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Anomaly Detection ML anomaly detection :ml Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. v7.13.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants