-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Lens] 7.9 design cleanup #71444
[Lens] 7.9 design cleanup #71444
Conversation
@elasticmachine merge upstream |
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.
Tested in Firefox and left a small nit, but overall LGTM. I'm fine with having the toolbar button as a top level component in lens/public for now.
Side note: I noticed a small styling regression which is not caused by this PR in Firefox: There is no margin to the right and to the bottom of the screen - Chrome looks fine:
While you are at it fixing styling in Lens it would be great if you could take a quick look into that as well, but don't feel pressured. I can create a separate issue for this.
Odd, I'm not having that same rendering issue in Firefox in OSX. But I think it's dependent on how the OS handles scrollbars since that space is allotted for scrollbars and forces the "padding" by |
I’m also using OSX, it’s probably because you have a mouse connected. I will create a separate issue for this. |
This reverts commit 1eff888.
@elasticmachine merge upstream |
0574d12
to
3733dc4
Compare
💚 Build SucceededBuild metrics@kbn/optimizer bundle module count
History
To update your PR or re-run it, just comment with: |
* Fix dimension popover layout and color picker “Auto” * Created ToolbarButton * Move disabled help text to tooltip for missing values * Darker side panel backgrounds * Adding to .asciidoc about where to put the SASS import * Moving `SASS` guidelines to STYLEGUIDE.md * Fix keyboard focus of XY settings popover * Fix dark mode
Addresses the toolbar and some form element settings (color picker)
ToolbarButton
I created a new component for reuse called
<ToolbarButton>
which lives solely in Lens, but at the top level (for now). This component extends a typical EuiButton, but with some added overrides to thetext
color version for adding the white background and bold text.There is also a
size="s"
version that removes the shadow and keeps passes the size down to EuiButton for a shorter height.Dimension popover
I fixed the padding around the tabs in this popover and moved the padding to the content itself so the tabs would extend to the full width of the popover. Also, I updated the series color picker to use the correct
placeholder
andisClearable
props added to the EUI component.Fill missing values
I moved the disabled help text to a tooltip wrapping the input instead of displaying it inline. This type of messaging is as important to be inline as help text for users to fill out the form or error messages and so a tooltip is less intrusive. This is also the same pattern we use for the series color picker.
Checklist
Delete any items that are not applicable to this PR.