diff --git a/core/src/main/javascript/ApplicationState.js b/core/src/main/javascript/ApplicationState.js index 0d6036d91..46700b2dc 100644 --- a/core/src/main/javascript/ApplicationState.js +++ b/core/src/main/javascript/ApplicationState.js @@ -9,7 +9,8 @@ export type Page = | { id: "" } | { id: "workflow", - jobId?: string + jobId?: string, + showDetail: boolean } | { id: "executions/started", diff --git a/core/src/main/javascript/app/components/Link.js b/core/src/main/javascript/app/components/Link.js index 14bed7d7d..49f31da65 100644 --- a/core/src/main/javascript/app/components/Link.js +++ b/core/src/main/javascript/app/components/Link.js @@ -12,7 +12,8 @@ type Props = { className: string, children: any, open: (href: string) => void, - replace: boolean + replace: boolean, + title: string }; const Link = ({ @@ -21,13 +22,15 @@ const Link = ({ className, children, open, - replace = false + replace = false, + title = "" }: Props) => { return ( {children} diff --git a/core/src/main/javascript/app/components/SlidePanel.js b/core/src/main/javascript/app/components/SlidePanel.js deleted file mode 100644 index 87277ed20..000000000 --- a/core/src/main/javascript/app/components/SlidePanel.js +++ /dev/null @@ -1,96 +0,0 @@ -// @flow - -import React from "react"; -import injectSheet from "react-jss"; -import classNames from "classnames"; - -type Props = { - classes: any, - title: string, - children: any, - open: boolean -}; - -type State = { - open: boolean -}; - -class SlidePanel extends React.Component { - state: State; - props: Props; - - constructor(props: Props) { - super(props); - this.state = { - open: props.open - }; - } - - closePanel() { - this.setState({ - open: false - }); - } - - openPanel() { - this.setState({ - open: true - }); - } - - render() { - const { classes, children } = this.props; - const { open } = this.state; - return ( -