diff --git a/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap b/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap index ca06c88937e5..b9da5ac37dbe 100644 --- a/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap +++ b/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap @@ -2227,7 +2227,6 @@ exports[`Header handles visibility and lock changes 1`] = ` } } navigateToApp={[MockFunction]} - theme="dark" />, ], }, @@ -2720,7 +2719,6 @@ exports[`Header handles visibility and lock changes 1`] = ` } } navigateToApp={[MockFunction]} - theme="dark" > - - - - - - - - } - /> - } - tableColumns={ - Array [ - Object { - "field": "title", - "name": "Title", - "render": [Function], - "sortable": true, - }, - Object { - "dataType": "string", - "field": "type", - "name": "Type", - "sortable": true, - }, - Object { - "dataType": "string", - "field": "description", - "name": "Description", - "sortable": true, - }, - Object { - "data-test-subj": "updated-at", - "dataType": "date", - "description": "Last update of the saved object", - "field": "updated_at", - "name": "Last updated", - "render": [Function], - "sortable": true, - }, - ] - } - tableListTitle="Dashboards" - toastNotifications={ - Object { - "add": [MockFunction], - "addDanger": [MockFunction], - "addError": [MockFunction], - "addInfo": [MockFunction], - "addSuccess": [MockFunction], - "addWarning": [MockFunction], - "get$": [MockFunction], - "remove": [MockFunction], - } - } - > - -
- -
- -
-
-
-
-
-
-
- -`; - -exports[`dashboard listing render table listing with initial filters from URL 1`] = ` - - - - - - - } - createItem={[Function]} - deleteItems={[Function]} - editItem={[Function]} - entityName="dashboard" - entityNamePlural="dashboards" - findItems={[Function]} - headingId="dashboardListingHeading" - initialFilter="dashboard" - initialPageSize={10} - listingLimit={100} - noItemsFragment={ - - - - } - body={ - -

- -

-

- - - , - } - } - /> -

-
- } - iconType="dashboardApp" - title={ -

- -

- } - /> - } - tableColumns={ - Array [ - Object { - "field": "title", - "name": "Title", - "render": [Function], - "sortable": true, - }, - Object { - "dataType": "string", - "field": "type", - "name": "Type", - "sortable": true, - }, - Object { - "dataType": "string", - "field": "description", - "name": "Description", - "sortable": true, - }, - Object { - "data-test-subj": "updated-at", - "dataType": "date", - "description": "Last update of the saved object", - "field": "updated_at", - "name": "Last updated", - "render": [Function], - "sortable": true, - }, - ] - } - tableListTitle="Dashboards" - toastNotifications={ - Object { - "add": [MockFunction], - "addDanger": [MockFunction], - "addError": [MockFunction], - "addInfo": [MockFunction], - "addSuccess": [MockFunction], - "addWarning": [MockFunction], - "get$": [MockFunction], - "remove": [MockFunction], - } - } - > - -
- -
- -
-
-
-
-
-
-
-
-`; - -exports[`dashboard listing renders call to action when no dashboards exist 1`] = ` - - - - - - - } - createItem={[Function]} - deleteItems={[Function]} - editItem={[Function]} - entityName="dashboard" - entityNamePlural="dashboards" - findItems={[Function]} - headingId="dashboardListingHeading" - initialFilter="" - initialPageSize={10} - listingLimit={100} - noItemsFragment={ - - - - } - body={ - -

- -

-

- - - , - } - } - /> -

-
- } - iconType="dashboardApp" - title={ -

- -

- } - /> - } - tableColumns={ - Array [ - Object { - "field": "title", - "name": "Title", - "render": [Function], - "sortable": true, - }, - Object { - "dataType": "string", - "field": "type", - "name": "Type", - "sortable": true, - }, - Object { - "dataType": "string", - "field": "description", - "name": "Description", - "sortable": true, - }, - Object { - "data-test-subj": "updated-at", - "dataType": "date", - "description": "Last update of the saved object", - "field": "updated_at", - "name": "Last updated", - "render": [Function], - "sortable": true, - }, - ] - } - tableListTitle="Dashboards" - toastNotifications={ - Object { - "add": [MockFunction], - "addDanger": [MockFunction], - "addError": [MockFunction], - "addInfo": [MockFunction], - "addSuccess": [MockFunction], - "addWarning": [MockFunction], - "get$": [MockFunction], - "remove": [MockFunction], - } - } - > - -
- -
- -
-
-
-
-
-
-
-
-`; - -exports[`dashboard listing renders table rows 1`] = ` - - - - - - - } - createItem={[Function]} - deleteItems={[Function]} - editItem={[Function]} - entityName="dashboard" - entityNamePlural="dashboards" - findItems={[Function]} - headingId="dashboardListingHeading" - initialFilter="" - initialPageSize={10} - listingLimit={100} - noItemsFragment={ - - - - } - body={ - -

- -

-

- - - , - } - } - /> -

-
- } - iconType="dashboardApp" - title={ -

- -

- } - /> - } - tableColumns={ - Array [ - Object { - "field": "title", - "name": "Title", - "render": [Function], - "sortable": true, - }, - Object { - "dataType": "string", - "field": "type", - "name": "Type", - "sortable": true, - }, - Object { - "dataType": "string", - "field": "description", - "name": "Description", - "sortable": true, - }, - Object { - "data-test-subj": "updated-at", - "dataType": "date", - "description": "Last update of the saved object", - "field": "updated_at", - "name": "Last updated", - "render": [Function], - "sortable": true, - }, - ] - } - tableListTitle="Dashboards" - toastNotifications={ - Object { - "add": [MockFunction], - "addDanger": [MockFunction], - "addError": [MockFunction], - "addInfo": [MockFunction], - "addSuccess": [MockFunction], - "addWarning": [MockFunction], - "get$": [MockFunction], - "remove": [MockFunction], - } - } - > - -
- -
- -
-
-
-
-
-
-
-
-`; - -exports[`dashboard listing renders warning when listingLimit is exceeded 1`] = ` - - - - - - - } - createItem={[Function]} - deleteItems={[Function]} - editItem={[Function]} - entityName="dashboard" - entityNamePlural="dashboards" - findItems={[Function]} - headingId="dashboardListingHeading" - initialFilter="" - initialPageSize={10} - listingLimit={1} - noItemsFragment={ - - - - } - body={ - -

- -

-

- - - , - } - } - /> -

-
- } - iconType="dashboardApp" - title={ -

- -

- } - /> - } - tableColumns={ - Array [ - Object { - "field": "title", - "name": "Title", - "render": [Function], - "sortable": true, - }, - Object { - "dataType": "string", - "field": "type", - "name": "Type", - "sortable": true, - }, - Object { - "dataType": "string", - "field": "description", - "name": "Description", - "sortable": true, - }, - Object { - "data-test-subj": "updated-at", - "dataType": "date", - "description": "Last update of the saved object", - "field": "updated_at", - "name": "Last updated", - "render": [Function], - "sortable": true, - }, - ] - } - tableListTitle="Dashboards" - toastNotifications={ - Object { - "add": [MockFunction], - "addDanger": [MockFunction], - "addError": [MockFunction], - "addInfo": [MockFunction], - "addSuccess": [MockFunction], - "addWarning": [MockFunction], - "get$": [MockFunction], - "remove": [MockFunction], - } - } - > - -
- -
- -
-
-
-
-
-
-
-
-`;