-
Notifications
You must be signed in to change notification settings - Fork 58
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
[Look&Feel] Consistency and density improvements #836
[Look&Feel] Consistency and density improvements #836
Conversation
e03514b
to
adfda03
Compare
@danieldong51 what's the purpose of having this change? Is it part of the header redesign project? |
This is part of the density and consistency improvements for Look & Feel |
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.
Minor comment, changes look good, but likely want to check test failure
@@ -55,6 +55,7 @@ export const DetectorControls = (props: DetectorControls) => { | |||
key="editDetector" | |||
data-test-subj="editDetectorSettingsItem" | |||
onClick={props.onEditDetector} | |||
size="s" |
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.
Can you make the EuiContextMenuPanel
small instead? may just make it easier to add stuff in the future (not sure if this is possible)
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.
Because the EuiContextMenu items weren't passed in as items, setting the size attribute for EuiContextMenuPanel didn't change the size of the context menu
Just FYI, we previously made these changes to the core experiences and are going through all the plugins to make these changes to ideally get a more consistent/denser look and feel across the product for 2.17. |
I see FTR E2E test CI failed, could you please take a look? @danieldong51 Also, I see there's another open PR that seems to be doing similar things - #826. Could you verify if we still need that PR if we merge yours? |
@virajsanghvi Do have a sanity test planned for this pr/project? I’m mostly concerned about whether the PR includes every possible text/button/tab/... that needs to be updated, so the page is consistent with the new look |
That one updates the buttons and form elements for Look & Feel, and this PR does the rest of the target areas for the project. The changes in these two PRs shouldn't overlap, so both would be needed. |
We won't have any automated mechanisms, but given we're making changes to all pages with the header, left nav, and look and feel items, we've discussed having plugin-level and product-wide bug bashes to identify issues/unevenness across all the projects, which I think will provide the sanity you're looking for (for look and feel, its mostly calling out anything that looks off/inconsistent). We won't be perfect given the product is already inconsistent and we're not addressing everything, there's ongoing development, and that we're not plugin experts so don't know the full surface area, but as was aligned on while undertaking this effort, given we're already inconsistent in the product, we just want to move in the right direction without introducing any additional unevenness. |
Signed-off-by: Dan Dong <[email protected]>
Signed-off-by: Dan Dong <[email protected]>
Signed-off-by: Dan Dong <[email protected]>
Signed-off-by: Dan Dong <[email protected]>
Signed-off-by: Dan Dong <[email protected]>
Signed-off-by: Dan Dong <[email protected]>
Signed-off-by: Dan Dong <[email protected]>
6f46d25
to
f1a6687
Compare
Signed-off-by: Dan Dong <[email protected]>
f1a6687
to
eeebfec
Compare
* Changed context menus to be small Signed-off-by: Dan Dong <[email protected]> * Updated tabs to be small Signed-off-by: Dan Dong <[email protected]> * Updated paragraph text to be EuiText size="s" Signed-off-by: Dan Dong <[email protected]> * Updated semantic headers Signed-off-by: Dan Dong <[email protected]> * Updated primary buttons Signed-off-by: Dan Dong <[email protected]> * Reverted unintended changes Signed-off-by: Dan Dong <[email protected]> * Updated snapshot testing Signed-off-by: Dan Dong <[email protected]> * Fixed merge conflict Signed-off-by: Dan Dong <[email protected]> * Updated snapshot tests --------- Signed-off-by: Dan Dong <[email protected]> (cherry picked from commit 07908a0)
* Changed context menus to be small Signed-off-by: Dan Dong <[email protected]> * Updated tabs to be small Signed-off-by: Dan Dong <[email protected]> * Updated paragraph text to be EuiText size="s" Signed-off-by: Dan Dong <[email protected]> * Updated semantic headers Signed-off-by: Dan Dong <[email protected]> * Updated primary buttons Signed-off-by: Dan Dong <[email protected]> * Reverted unintended changes Signed-off-by: Dan Dong <[email protected]> * Updated snapshot testing Signed-off-by: Dan Dong <[email protected]> * Fixed merge conflict Signed-off-by: Dan Dong <[email protected]> * Updated snapshot tests --------- Signed-off-by: Dan Dong <[email protected]> (cherry picked from commit 07908a0) Co-authored-by: Dan Dong <[email protected]>
Description
This PR makes consistency and density improvements, including:
<EuiTabs size="s">
<EuiText size="s">
<EuiText size="s">
Screenshots
All screenshots are in the v8 Next Dark theme.
Small Context Menus
Note that because the context menu items are not passed as an attribute, each individual context menu item was modified to be size="s".
Small Tabs
Paragraph font size
Semantic Headers
Buttons
Note that the below page has another primary button at the bottom.
Check List
--signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.