Skip to content

Commit

Permalink
[Uptime] Fix/details page tabs (elastic#86296)
Browse files Browse the repository at this point in the history
* Remove tabs from details page

* update

* fix monitord id

* var name

* add Uptime PageHeader tests to test for the presences of tabs or header

* add Uptime MonitorPageTitle test

* Uptime adjust auto generated monitor id regex

* Uptime add tests for MonitorPageTitle to test behavior for missing monitor names and auto generated monitor ids

* remove history from MonitorPageTitle test

* adjust uptime tabs tests

* adjust MonitorPageTitle tests to mock useSelector

* adjust uptime PageHeader tests

* adjust import order in page_header.test

* add props to Uptime PageHeader to determine render, rather than route context

* alphabetize props in Uptime PageHeader

* remove header from individual pages

* add indepdent page header route that matches all paths

* adjust monitor tests to use mockReduxHooks helper, and add mockReactRouterDomHooks

* update tests

* adjust header spacing

Co-authored-by: Shahzad <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
3 people committed Jan 11, 2021
1 parent 1a5eae3 commit 17da3cd
Show file tree
Hide file tree
Showing 11 changed files with 257 additions and 1,009 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ export const CertRefreshBtn = () => {
const { refreshApp } = useContext(UptimeRefreshContext);

return (
<EuiFlexItem style={{ alignItems: 'flex-end' }} grow={false}>
<EuiFlexItem
style={{ alignItems: 'flex-end' }}
grow={false}
data-test-subj="certificatesRefreshButton"
>
<EuiFlexGroup responsive={false} gutterSize="s">
<EuiFlexItem grow={false}>
<EuiHideFor sizes={['xs']}>
Expand Down
Loading

0 comments on commit 17da3cd

Please sign in to comment.