Skip to content

Visualize sidebar design updates - #29658

Merged
cchaos merged 8 commits into
elastic:masterfrom
cchaos:bootstrap-dark-mode-take-2
Jan 31, 2019
Merged

cchaos merged 8 commits into
elastic:masterfrom
cchaos:bootstrap-dark-mode-take-2

Conversation

@cchaos

@cchaos cchaos commented Jan 30, 2019 •

Copy link
Copy Markdown
Contributor

... and some Dark mode updates (#29417).

Form inputs

The main issue throughout visualize was that there are 4 differently styled inputs (text and selects) – bootstrap, ui-select, kui, EUI. Since they can't all be converted to EUI, I've tried to rectify the other three styles into a single style using a mixin.

So that these:

Now look like these:

screen shot 2019-01-30 at 15 18 30 pm

This WILL effect all non-EUI inputs and selects.

Overall look:

I cleaned up some class usage and subsequent styles to try to consolidate the look of all sections and cleaned them up a bit.

Examples of before and after:

screen shot 2019-01-30 at 15 23 20 pm

screen shot 2019-01-30 at 15 23 48 pm

Issue fix

Fixes #12821

Hides play button instead of disabling it if there is an error:

Dark mode

The main one that was tricky as the ui-select dependency. I ended up just copy an pasting their CSS into our own SCSS file and changing all the colors to variables. I'm not worrying too much about any of the other hard-coded variables. Though the only thing that's annoying is that it's still loading the dependency's css file before our SASS.

Anyone know how to remove that?

Example of dark mode:

screen shot 2019-01-30 at 15 34 15 pm

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

@cchaos cchaos added Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. v7.0.0 Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// labels Jan 30, 2019
@cchaos
cchaos requested a review from snide January 30, 2019 20:41
@cchaos
cchaos requested review from a team as code owners January 30, 2019 20:41
@elasticmachine

Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-design

@elasticmachine

Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-app

@cchaos
cchaos requested a review from a team January 30, 2019 21:16
@elasticmachine

Copy link
Copy Markdown
Contributor

💔 Build Failed

Comment thread src/ui/public/chrome/_variables.scss Outdated

@snide snide left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor stuff I saw, but looks good.

Might be good to use our scrollbar for overflows

image

image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😆

Comment thread src/ui/public/styles/_legacy/_mixins.scss Outdated
Comment thread src/ui/public/vis/editors/default/_agg.scss Outdated
@cchaos

cchaos commented Jan 30, 2019

Copy link
Copy Markdown
Contributor Author

For the checkboxes, the one you pointed to is just a plain input with no class, and honestly, they are much more visible without the KUI class than with. I can let them be 😐 , or I can add the kui classes and update the kui style.

@snide

snide commented Jan 30, 2019

Copy link
Copy Markdown
Contributor

Let um be.

@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@cchaos

cchaos commented Jan 31, 2019 •

Copy link
Copy Markdown
Contributor Author

@elastic/kibana-security team, the ping was just because I removed a duplicate CSS dependency.

https://github.com/elastic/kibana/pull/29658/files#diff-4df4d2a02df18f09095f6ada70d02217

@cchaos
cchaos force-pushed the bootstrap-dark-mode-take-2 branch from f9f07f9 to 17faba9 Compare January 31, 2019 21:05
@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@cchaos

cchaos commented Jan 31, 2019

Copy link
Copy Markdown
Contributor Author

The last commit fixes #16435

screen shot 2019-01-31 at 16 03 54 pm

@cchaos
cchaos deleted the bootstrap-dark-mode-take-2 branch March 7, 2019 17:18
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request May 6, 2026
* Bring over all ui-select styles and convert color vars

* Some bootstrap dark theming

* Consolidating non-EUI form control styles

* Update some tutorial pieces set to EUI

* Fix up visualize editor sidebar as best as I can

* PR feedback

- comment for image
- euiScrollbar
- euiBorderThick

* Fix advanced toggle test

* Don’t show IE’s select arrow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Team:Platform-Design Team Label for Kibana Design Team. Support the Analyze group of plugins. Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Visualize editor actions wrap when there are three tabs

3 participants