-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
111 additions
and
148 deletions.
There are no files selected for viewing
4 changes: 0 additions & 4 deletions
4
x-pack/plugins/ml/public/application/components/job_selector/_job_selector.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 0 additions & 30 deletions
30
...lorer/components/explorer_no_jobs_found/__snapshots__/explorer_no_jobs_found.test.js.snap
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
...l/public/application/explorer/components/explorer_no_jobs_found/explorer_no_jobs_found.js
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
...lic/application/explorer/components/explorer_no_jobs_found/explorer_no_jobs_found.test.js
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
...c/application/explorer/components/explorer_no_jobs_selected/explorer_no_jobs_selected.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
/* | ||
* React component for rendering EuiEmptyPrompt when no jobs were found. | ||
*/ | ||
import React, { FC } from 'react'; | ||
import { FormattedMessage } from '@kbn/i18n-react'; | ||
import { EuiEmptyPrompt } from '@elastic/eui'; | ||
|
||
export const ExplorerNoJobsSelected: FC = () => { | ||
return ( | ||
<EuiEmptyPrompt | ||
iconType="alert" | ||
title={ | ||
<h2> | ||
<FormattedMessage | ||
id="xpack.ml.explorer.noJobSelectedLabel" | ||
defaultMessage="No jobs selected" | ||
/> | ||
</h2> | ||
} | ||
data-test-subj="mlNoJobsFound" | ||
/> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters