-
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.
[ML] Adds DF Transform Analytics list to Kibana management (#43151)
* disable job link if ml not enabled in space * add analytics table in managment page * update css for analytics table * only show ML section if license if trial/platinum * remove actions column for analytics list in KM * fix typescript error on columns * update props interface for analytics table * plain text instead of disabled link if not enabled in space
- Loading branch information
1 parent
6be8b32
commit 7aa7f5a
Showing
13 changed files
with
119 additions
and
48 deletions.
There are no files selected for viewing
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
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
1 change: 1 addition & 0 deletions
1
x-pack/legacy/plugins/ml/public/management/jobs_list/components/_index.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
@import './jobs_list_page/stats_bar'; | ||
@import './jobs_list_page/buttons'; | ||
@import './jobs_list_page/expanded_row'; | ||
@import './jobs_list_page/analytics_table'; |
28 changes: 28 additions & 0 deletions
28
...cy/plugins/ml/public/management/jobs_list/components/jobs_list_page/_analytics_table.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
.mlAnalyticsTable { | ||
// Using an override as a last resort because we cannot set custom classes on | ||
// nested upstream components. The opening animation limits the height | ||
// of the expanded row to 1000px which turned out to be not predictable. | ||
// The animation could also result in flickering with expanded rows | ||
// where the inner content would result in the DOM changing the height. | ||
.euiTableRow-isExpandedRow .euiTableCellContent { | ||
animation: none !important; | ||
.euiTableCellContent__text { | ||
width: 100%; | ||
} | ||
} | ||
// Another override: Because an update to the table replaces the DOM, the same | ||
// icon would still again fade in with an animation. If the table refreshes with | ||
// e.g. 1s this would result in a blinking icon effect. | ||
.euiIcon-isLoaded { | ||
animation: none !important; | ||
} | ||
} | ||
|
||
.mlAnalyticsProgressBar { | ||
margin-bottom: $euiSizeM; | ||
} | ||
|
||
.mlTaskStateBadge { | ||
max-width: 100px; | ||
} |
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
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