Skip to content

Commit

Permalink
App Search Polish (#96345)
Browse files Browse the repository at this point in the history
* Button adjustments to Engine Overview page

* Subdued preview panel color

* Vertically aligns "manage fields" and "preview"

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
daveyholler and kibanamachine authored Apr 7, 2021
1 parent f123084 commit 8e1bd9c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const EnginesOverviewHeader: React.FC = () => {
rightSideItems={[
// eslint-disable-next-line @elastic/eui/href-or-on-click
<EuiButton
fill
size="s"
iconType="popout"
href={getAppSearchUrl()}
target="_blank"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ export const EnginesOverview: React.FC = () => {
<EuiPageContentHeaderSection>
{canManageEngines && (
<EuiButtonTo
color="primary"
fill
color="secondary"
size="s"
iconType="plusInCircle"
data-test-subj="appSearchEnginesEngineCreationButton"
to={ENGINE_CREATION_PATH}
>
Expand All @@ -108,6 +109,7 @@ export const EnginesOverview: React.FC = () => {
</EuiPageContentHeaderSection>
</EuiPageContentHeader>
<EuiPageContentBody data-test-subj="appSearchEngines">
<EuiSpacer />
<EnginesTable
items={engines}
loading={enginesLoading}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const RelevanceTuningForm: React.FC = () => {
return (
<section className="relevanceTuningForm">
<form>
<EuiSpacer size="s" />
<EuiTitle size="m">
<h2>
{i18n.translate(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const RelevanceTuningPreview: React.FC = () => {
const { engineName, isMetaEngine } = useValues(EngineLogic);

return (
<EuiPanel hasBorder>
<EuiPanel color="subdued">
<EuiTitle size="m">
<h2>
{i18n.translate('xpack.enterpriseSearch.appSearch.engine.relevanceTuning.preview.title', {
Expand Down

0 comments on commit 8e1bd9c

Please sign in to comment.