Skip to content

Commit

Permalink
[BUG]: Fixed Consolidated UI issues (#1173)
Browse files Browse the repository at this point in the history
* Consolidated UI issues are fixed

Signed-off-by: Amit-Nawale <[email protected]>

* Consolidated UI issues are fixed

Signed-off-by: Amit-Nawale <[email protected]>

* Consolidated UI issues are fixed

Signed-off-by: Amit-Nawale <[email protected]>

* Implemented commented changes

Signed-off-by: Amit-Nawale <[email protected]>

Signed-off-by: Amit-Nawale <[email protected]>
(cherry picked from commit 43c2eaa)
  • Loading branch information
Amit-Nawale authored and github-actions[bot] committed Nov 2, 2022
1 parent cbd927b commit f023dfe
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 9 deletions.
3 changes: 1 addition & 2 deletions public/components/event_analytics/explorer/explorer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}

.liveStream {
margin : 8px;
margin: 8px;
height: 40px;
align-items: center;
justify-content: center;
Expand All @@ -21,4 +21,3 @@
.mainContentTabs .euiResizableContainer {
height: calc(100vh - 298px);
}

Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,18 @@ $vis-editor-sidebar-min-width: 350px;
overflow-y: unset; // unset default setting
}

#vis__mainContent .data_config_resizable_btn {
margin-left: 3px;
}

#vis__mainContent .chart_style_resizable_btn {
margin-right: 3px;
}

#vis__mainContent .ws__configPanel--right {
border-left: 1px solid #d3dae6;
}

.panelItem_button {
display: grid;
grid-template-columns: 1fr auto;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface TitleProps {

export const DataConfigItemClickPanel = ({ title, isSecondary, closeMenu }: TitleProps) => {
const icon = isSecondary && (
<EuiIcon type="arrowLeft" onClick={closeMenu} data-test-subj="panelCloseBtn" />
<EuiIcon style={{ cursor: 'pointer' }} type="arrowLeft" onClick={closeMenu} data-test-subj="panelCloseBtn"/>
);
return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ export const DataConfigPanelItem = ({
aria-label="input field"
placeholder="Select a field"
singleSelection={{ asPlainText: true }}
isClearable={false}
options={getOptionsAvailable(name)}
selectedOptions={
isTimeStampSelected
Expand Down Expand Up @@ -508,7 +509,8 @@ export const DataConfigPanelItem = ({
<EuiComboBox
aria-label="date unit"
placeholder="Select fields"
singleSelection
singleSelection={{ asPlainText: true }}
isClearable={false}
options={TIME_INTERVAL_OPTIONS.map((option) => {
return {
...option,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const ExplorerVisualizations = ({
<div className="explorer__vizDataConfig">{renderDataConfigContainer()}</div>
</div>
</EuiResizablePanel>
<EuiResizableButton />
<EuiResizableButton className="data_config_resizable_btn" />
<EuiResizablePanel
className="ws__central--canvas"
initialSize={60}
Expand All @@ -140,7 +140,7 @@ export const ExplorerVisualizations = ({
visualizations={visualizations}
/>
</EuiResizablePanel>
<EuiResizableButton />
<EuiResizableButton className="chart_style_resizable_btn" />
<EuiResizablePanel
className="ws__configPanel--right"
initialSize={20}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
}

#vis__mainContent .ws__central--canvas {
background-color: #FFF;
border-right: 1px solid #D3DAE6;
}
background-color: #fff;

}

0 comments on commit f023dfe

Please sign in to comment.