Remove "This tab is experimental" (#8281)

This commit is contained in:
Eric Liang 2020-05-02 22:41:28 -07:00 committed by GitHub
parent ec6631ae58
commit 1228369a87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 12 deletions

View file

@ -5,7 +5,6 @@ import {
WithStyles, WithStyles,
withStyles, withStyles,
} from "@material-ui/core"; } from "@material-ui/core";
import WarningRoundedIcon from "@material-ui/icons/WarningRounded";
import React from "react"; import React from "react";
import { connect } from "react-redux"; import { connect } from "react-redux";
import { StoreState } from "../../../store"; import { StoreState } from "../../../store";
@ -31,13 +30,9 @@ class LogicalView extends React.Component<
WithStyles<typeof styles> & ReturnType<typeof mapStateToProps> WithStyles<typeof styles> & ReturnType<typeof mapStateToProps>
> { > {
render() { render() {
const { classes, rayletInfo } = this.props; const { rayletInfo } = this.props;
return ( return (
<div> <div>
<Typography className={classes.warning} color="textSecondary">
<WarningRoundedIcon className={classes.warningIcon} /> Note: This tab
is experimental.
</Typography>
{rayletInfo === null ? ( {rayletInfo === null ? (
<Typography color="textSecondary">Loading...</Typography> <Typography color="textSecondary">Loading...</Typography>
) : Object.entries(rayletInfo.actors).length === 0 ? ( ) : Object.entries(rayletInfo.actors).length === 0 ? (

View file

@ -10,7 +10,6 @@ import {
WithStyles, WithStyles,
withStyles, withStyles,
} from "@material-ui/core"; } from "@material-ui/core";
import WarningRoundedIcon from "@material-ui/icons/WarningRounded";
import React from "react"; import React from "react";
import { connect } from "react-redux"; import { connect } from "react-redux";
import { getTuneInfo, setTuneExperiment } from "../../../api"; import { getTuneInfo, setTuneExperiment } from "../../../api";
@ -139,11 +138,6 @@ class Tune extends React.Component<
const { loading } = this.state; const { loading } = this.state;
return ( return (
<div> <div>
<Typography className={classes.warning} color="textSecondary">
<WarningRoundedIcon className={classes.warningIcon} /> Note: This tab
is experimental.
</Typography>
{prompt && ( {prompt && (
<Typography className={classes.heading} color="textPrimary"> <Typography className={classes.heading} color="textPrimary">
You can use this tab to monitor Tune jobs, their statuses, You can use this tab to monitor Tune jobs, their statuses,