Skip to content

Commit

Permalink
Page Header] New page header for integrations and UI updates (#2103)
Browse files Browse the repository at this point in the history
* new headers and ui changes for integrations

Signed-off-by: Adam Tackett <[email protected]>

* update snapshots and test

Signed-off-by: Adam Tackett <[email protected]>

* update display name for integration breadcrumb for new nav rendering

Signed-off-by: Adam Tackett <[email protected]>

---------

Signed-off-by: Adam Tackett <[email protected]>
Co-authored-by: Adam Tackett <[email protected]>
  • Loading branch information
TackAdam and Adam Tackett authored Aug 28, 2024
1 parent ce0d14c commit c655eb5
Show file tree
Hide file tree
Showing 19 changed files with 675 additions and 555 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jest.mock('../../../../../public/framework/core_refs', () => ({
coreRefs: {
chrome: {
setBreadcrumbs: jest.fn(),
navGroup: {
getNavGroupEnabled: jest.fn().mockReturnValue(false),
},
},
http: {
get: jest.fn(),
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ exports[`Available Integration Table View Test Renders nginx integration table v
Details
</h2>
</EuiTitle>
<EuiSpacer>
<EuiSpacer
size="s"
>
<div
className="euiSpacer euiSpacer--l"
className="euiSpacer euiSpacer--s"
/>
</EuiSpacer>
<EuiFlexGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ exports[`Available Integration Table View Test Renders nginx integration table v
</h2>
</EuiTitle>
<EuiSpacer
size="l"
size="s"
>
<div
className="euiSpacer euiSpacer--l"
className="euiSpacer euiSpacer--s"
/>
</EuiSpacer>
<EuiInMemoryTable
Expand Down Expand Up @@ -65,6 +65,7 @@ exports[`Available Integration Table View Test Renders nginx integration table v
search={
Object {
"box": Object {
"compressed": true,
"incremental": true,
},
}
Expand All @@ -75,6 +76,7 @@ exports[`Available Integration Table View Test Renders nginx integration table v
<EuiSearchBar
box={
Object {
"compressed": true,
"incremental": true,
}
}
Expand All @@ -96,6 +98,7 @@ exports[`Available Integration Table View Test Renders nginx integration table v
className="euiFlexItem euiSearchBar__searchHolder"
>
<EuiSearchBox
compressed={true}
incremental={true}
isInvalid={false}
onSearch={[Function]}
Expand All @@ -104,7 +107,7 @@ exports[`Available Integration Table View Test Renders nginx integration table v
>
<EuiFieldSearch
aria-label="This is a search bar. As you type, the results lower in the page will automatically filter."
compressed={false}
compressed={true}
defaultValue=""
fullWidth={true}
incremental={true}
Expand All @@ -116,13 +119,13 @@ exports[`Available Integration Table View Test Renders nginx integration table v
placeholder="Search..."
>
<EuiFormControlLayout
compressed={false}
compressed={true}
fullWidth={true}
icon="search"
isLoading={false}
>
<div
className="euiFormControlLayout euiFormControlLayout--fullWidth"
className="euiFormControlLayout euiFormControlLayout--fullWidth euiFormControlLayout--compressed"
>
<div
className="euiFormControlLayout__childrenWrapper"
Expand All @@ -132,23 +135,23 @@ exports[`Available Integration Table View Test Renders nginx integration table v
>
<input
aria-label="This is a search bar. As you type, the results lower in the page will automatically filter."
className="euiFieldSearch euiFieldSearch--fullWidth"
className="euiFieldSearch euiFieldSearch--fullWidth euiFieldSearch--compressed"
defaultValue=""
onKeyUp={[Function]}
placeholder="Search..."
type="search"
/>
</EuiValidatableControl>
<EuiFormControlLayoutIcons
compressed={false}
compressed={true}
icon="search"
isLoading={false}
>
<div
className="euiFormControlLayoutIcons"
>
<EuiFormControlLayoutCustomIcon
size="m"
size="s"
type="search"
>
<span
Expand All @@ -157,19 +160,19 @@ exports[`Available Integration Table View Test Renders nginx integration table v
<EuiIcon
aria-hidden="true"
className="euiFormControlLayoutCustomIcon__icon"
size="m"
size="s"
type="search"
>
<EuiIconBeaker
aria-hidden={true}
className="euiIcon euiIcon--medium euiIcon-isLoading euiFormControlLayoutCustomIcon__icon"
className="euiIcon euiIcon--small euiIcon-isLoading euiFormControlLayoutCustomIcon__icon"
focusable="false"
role="img"
style={null}
>
<svg
aria-hidden={true}
className="euiIcon euiIcon--medium euiIcon-isLoading euiFormControlLayoutCustomIcon__icon"
className="euiIcon euiIcon--small euiIcon-isLoading euiFormControlLayoutCustomIcon__icon"
focusable="false"
height={16}
role="img"
Expand Down
Loading

0 comments on commit c655eb5

Please sign in to comment.