Skip to content

Commit

Permalink
added fix for loading spinner issue for other database (#189)
Browse files Browse the repository at this point in the history
* added fix for loading spinner issue

Signed-off-by: sumukhswamy <[email protected]>

* fix oui scroll issue

Signed-off-by: Shenoy Pratik <[email protected]>

* added button next to the table for query to be added

Signed-off-by: sumukhswamy <[email protected]>

* icon changed for wuery loader

Signed-off-by: sumukhswamy <[email protected]>

---------

Signed-off-by: sumukhswamy <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
Co-authored-by: Shenoy Pratik <[email protected]>
(cherry picked from commit 5a956ba)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and ps48 committed Oct 30, 2023
1 parent f4cbf52 commit d6506ad
Show file tree
Hide file tree
Showing 6 changed files with 172 additions and 177 deletions.
12 changes: 6 additions & 6 deletions public/components/Main/__snapshots__/main.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ exports[`<Main /> spec click clear button 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
class="euiFlexItem euiFlexItem--flexGrowZero workbench-tree"
>
<div
class="euiText euiText--medium euiTreeView__wrapper"
Expand Down Expand Up @@ -2904,7 +2904,7 @@ exports[`<Main /> spec click run button, and response is not ok 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
class="euiFlexItem euiFlexItem--flexGrowZero workbench-tree"
>
<div
class="euiText euiText--medium euiTreeView__wrapper"
Expand Down Expand Up @@ -5008,7 +5008,7 @@ exports[`<Main /> spec click run button, and response is ok 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
class="euiFlexItem euiFlexItem--flexGrowZero workbench-tree"
>
<div
class="euiText euiText--medium euiTreeView__wrapper"
Expand Down Expand Up @@ -5642,7 +5642,7 @@ exports[`<Main /> spec click run button, response fills null and missing values
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
class="euiFlexItem euiFlexItem--flexGrowZero workbench-tree"
>
<div
class="euiText euiText--medium euiTreeView__wrapper"
Expand Down Expand Up @@ -6275,7 +6275,7 @@ exports[`<Main /> spec click translation button, and response is ok 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
class="euiFlexItem euiFlexItem--flexGrowZero workbench-tree"
>
<div
class="euiText euiText--medium euiTreeView__wrapper"
Expand Down Expand Up @@ -8366,7 +8366,7 @@ exports[`<Main /> spec renders the component 1`] = `
class="euiFlexItem euiFlexItem--flexGrowZero"
>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
class="euiFlexItem euiFlexItem--flexGrowZero workbench-tree"
>
<div
class="euiText euiText--medium euiTreeView__wrapper"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ exports[`Render databases in tree fetches and displays database nodes when datas
exports[`Render databases in tree fetches and displays indicies when datasource is OpenSearch 1`] = `
<div>
<div
class="euiFlexItem euiFlexItem--flexGrowZero"
class="euiFlexItem euiFlexItem--flexGrowZero workbench-tree"
>
<div
class="euiText euiText--medium euiTreeView__wrapper"
Expand Down
10 changes: 10 additions & 0 deletions public/components/SQLPage/table_view.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/

.workbench-tree {
.euiTreeView__node--expanded {
max-height: none !important; // Fixes OUI issue: https://github.com/opensearch-project/oui/issues/1118
}
}
Loading

0 comments on commit d6506ad

Please sign in to comment.