-
Notifications
You must be signed in to change notification settings - Fork 19
consolidate responses and errors into console section #733
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
base: feature/editor-refactor
Are you sure you want to change the base?
Changes from all commits
212ac68
1f928e6
5d7f1c2
96e442b
a3b5c93
e94b2fd
5ece18d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,6 @@ import { | |
reduceToTemplate, | ||
sleep, | ||
uiConfigToFormik, | ||
USE_NEW_HOME_PAGE, | ||
useDataSourceVersion, | ||
useMissingDataSourceVersion, | ||
} from '../../../utils'; | ||
|
@@ -86,6 +85,7 @@ interface LeftNavProps { | |
setSearchReadonly: (readonly: boolean) => void; | ||
setIsProvisioning: (isProvisioning: boolean) => void; | ||
onClose: () => void; | ||
isConsolePanelOpen: boolean; | ||
} | ||
|
||
const SUCCESS_TOAST_ID = 'success_toast_id'; | ||
|
@@ -704,6 +704,7 @@ export function LeftNav(props: LeftNavProps) { | |
.unwrap() | ||
.then((resp: SimulateIngestPipelineResponseVerbose) => { | ||
const ingestPipelineErrors = getIngestPipelineErrors(resp); | ||
|
||
// The errors map may be empty; in which case, this dispatch will clear | ||
// any older errors. | ||
dispatch( | ||
|
@@ -797,10 +798,7 @@ export function LeftNav(props: LeftNavProps) { | |
grow={false} | ||
className="workspace-panel left-nav-static-width" | ||
borderRadius="l" | ||
style={{ | ||
paddingBottom: '48px', | ||
marginRight: '0px', | ||
}} | ||
style={{ paddingBottom: '12px' }} | ||
> | ||
<EuiFlexItem grow={false}> | ||
<EuiFlexGroup direction="row" justifyContent="spaceBetween"> | ||
|
@@ -831,7 +829,6 @@ export function LeftNav(props: LeftNavProps) { | |
style={{ | ||
height: '100%', | ||
gap: '16px', | ||
//marginLeft: '12px', TODO: change this value to adjust global margin of left nav. | ||
}} | ||
> | ||
<EuiFlexItem | ||
|
@@ -895,11 +892,13 @@ export function LeftNav(props: LeftNavProps) { | |
)} | ||
</> | ||
</EuiFlexItem> | ||
<EuiFlexItem grow={false}> | ||
|
||
<EuiFlexItem grow={true}> | ||
<EuiFlexGroup direction="column" gutterSize="none"> | ||
<EuiFlexItem> | ||
<EuiHorizontalRule margin="m" /> | ||
</EuiFlexItem> | ||
|
||
{onIngestAndSearchUpdateRequired && ( | ||
<EuiFlexItem grow={false} style={{ marginTop: '-8px' }}> | ||
<EuiCallOut | ||
|
@@ -920,13 +919,27 @@ export function LeftNav(props: LeftNavProps) { | |
/> | ||
</EuiFlexItem> | ||
)} | ||
<EuiFlexItem grow={false}> | ||
<EuiFlexItem | ||
grow={false} | ||
style={{ | ||
height: '60px', | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
marginBottom: '20px', | ||
}} | ||
> | ||
<EuiFlexGroup | ||
direction="row" | ||
gutterSize="s" | ||
style={{ | ||
padding: '0px', | ||
marginBottom: USE_NEW_HOME_PAGE ? '0px' : '54px', | ||
margin: '0px', | ||
width: '100%', | ||
height: '100%', | ||
display: 'flex', | ||
alignItems: 'center', | ||
justifyContent: 'center', | ||
Comment on lines
+922
to
+942
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. These changes should not be necessary, why all of the width/height styling changes? Additionally, the USE_NEW_HOME_PAGE flag has been removed; this was required to maximize the space based on OSD using the new home page layout vs. old home page layout. Please add back. |
||
}} | ||
> | ||
{onIngestAndUnprovisioned && | ||
|
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.
This file still exists, please remove