Skip to content

Commit

Permalink
Couple of changes for old UI
Browse files Browse the repository at this point in the history
Signed-off-by: Kshitij Tandon <[email protected]>
  • Loading branch information
tandonks committed Aug 29, 2024
1 parent 774ea9c commit 0321da2
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions public/pages/Aliases/containers/Aliases/Aliases.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ class Aliases extends MDSEnabledComponent<AliasesProps, AliasesState> {
text: "Create alias",
buttonProps: {
fill: true,
iconType: "plus",
onClick: () => {
this.setState({
aliasCreateFlyoutVisible: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ exports[`<Aliases /> spec renders the component 1`] = `
<span
class="euiButtonContent euiButton__content"
>
EuiIconMock
<span
class="euiButton__text"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export default class ManagedIndexControls extends Component<ManagedIndexControls
<EuiSearchBar
query={search}
box={{ placeholder: "Search index name", schema, incremental: true }}
compressed
onChange={onSearchChange}
filters={filters}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ exports[`<ManagedIndexControls /> spec renders data streams selection field 1`]
class="euiFlexItem euiSearchBar__searchHolder"
>
<div
class="euiFormControlLayout euiFormControlLayout--fullWidth"
class="euiFormControlLayout euiFormControlLayout--fullWidth euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
aria-label="This is a search bar. As you type, the results lower in the page will automatically filter."
class="euiFieldSearch euiFieldSearch--fullWidth"
class="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch--compressed"
placeholder="Search index name"
type="search"
value=""
Expand Down Expand Up @@ -53,7 +53,7 @@ exports[`<ManagedIndexControls /> spec renders data streams selection field 1`]
class="euiPopover__anchor"
>
<button
class="euiButtonEmpty euiButtonEmpty--text euiFilterButton euiFilterButton--hasIcon"
class="euiButtonEmpty euiButtonEmpty--text euiButtonEmpty--small euiFilterButton euiFilterButton--hasIcon"
type="button"
>
<span
Expand Down Expand Up @@ -131,14 +131,14 @@ exports[`<ManagedIndexControls /> spec renders the component 1`] = `
class="euiFlexItem euiSearchBar__searchHolder"
>
<div
class="euiFormControlLayout euiFormControlLayout--fullWidth"
class="euiFormControlLayout euiFormControlLayout--fullWidth euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
aria-label="This is a search bar. As you type, the results lower in the page will automatically filter."
class="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch-isClearable"
class="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch--compressed euiFieldSearch-isClearable"
placeholder="Search index name"
type="search"
value="testing"
Expand All @@ -157,7 +157,7 @@ exports[`<ManagedIndexControls /> spec renders the component 1`] = `
>
<button
aria-label="Clear input"
class="euiFormControlLayoutClearButton"
class="euiFormControlLayoutClearButton euiFormControlLayoutClearButton--small"
type="button"
>
EuiIconMock
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,14 @@ exports[`<ManagedIndices /> spec renders the component 1`] = `
class="euiFlexItem euiSearchBar__searchHolder"
>
<div
class="euiFormControlLayout euiFormControlLayout--fullWidth"
class="euiFormControlLayout euiFormControlLayout--fullWidth euiFormControlLayout--compressed"
>
<div
class="euiFormControlLayout__childrenWrapper"
>
<input
aria-label="This is a search bar. As you type, the results lower in the page will automatically filter."
class="euiFieldSearch euiFieldSearch--fullWidth"
class="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch--compressed"
placeholder="Search index name"
type="search"
value=""
Expand Down
1 change: 1 addition & 0 deletions public/pages/Templates/containers/Templates/Templates.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ class Templates extends MDSEnabledComponent<TemplatesProps, TemplatesState> {
buttonProps: {
fill: true,
onClick: onClickCreate,
iconType: "plus",
},
},
]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ exports[`<Templates /> spec renders the component 1`] = `
<span
class="euiButtonContent euiButton__content"
>
EuiIconMock
<span
class="euiButton__text"
>
Expand Down

0 comments on commit 0321da2

Please sign in to comment.