-
Notifications
You must be signed in to change notification settings - Fork 885
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
refactor: density and consistency changes for discover and query bar #7299
Changes from all commits
1223107
8e99c6a
6ece9d9
f3c483c
05e07a7
bb3ec62
a41007b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
refactor: | ||
- Density and consistency changes for discover and query bar ([#7299](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7299)) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,7 +108,7 @@ class FilterEditorUI extends Component<Props, State> { | |
public render() { | ||
return ( | ||
<div> | ||
<EuiPopoverTitle> | ||
<EuiPopoverTitle paddingSize="s"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. callout: placing padding on popovertitle because there isn't a popover to place this on (css change handles the body) |
||
<EuiFlexGroup alignItems="baseline" responsive={false}> | ||
<EuiFlexItem> | ||
<FormattedMessage | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ | |
// Unlike most inputs within layout control groups, the text area still needs a border. | ||
// These adjusts help it sit above the control groups shadow to line up correctly. | ||
padding: ($euiSizeS + 2px) $euiSizeS $euiSizeS; | ||
transform: translateY(-2px) translateX(-1px); | ||
transform: translateY(-1px) translateX(-1px); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. callout: this makes the focus state align properly like other inputs |
||
|
||
&:not(:focus):not(:invalid) { | ||
@include euiYScrollWithShadows; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,9 @@ export function DataGridFlyout({ | |
<EuiFlyoutBody> | ||
<EuiFlexGroup direction="column"> | ||
<EuiFlexItem> | ||
<DocViewerLinks hit={hit} indexPattern={indexPattern} columns={columns} /> | ||
<EuiText size="s"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. callout: placing here instead of inside component to avoid changing font size in expanded view |
||
<DocViewerLinks hit={hit} indexPattern={indexPattern} columns={columns} /> | ||
</EuiText> | ||
</EuiFlexItem> | ||
<EuiFlexItem> | ||
<DocViewer | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -241,7 +241,7 @@ export const getTopNavLinks = ( | |
}), | ||
run() { | ||
inspector.open(inspectorAdapters, { | ||
title: savedSearch?.title, | ||
title: savedSearch?.title || undefined, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. callout: defaulting to undefined just makes sure a title shows up in Inspector panel worst case |
||
}); | ||
}, | ||
}; | ||
|
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.
callout: increasing as it needs to match neighbor