-
Notifications
You must be signed in to change notification settings - Fork 705
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add skeleton to include operators in the dashboard (#1555)
- Loading branch information
Andres Martinez Gotor
authored
Mar 4, 2020
1 parent
60fa172
commit 8b2861b
Showing
16 changed files
with
141 additions
and
9 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
26 changes: 26 additions & 0 deletions
26
dashboard/src/containers/OperatorInstanceCreateContainer/OperatorInstanceCreateContainer.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,26 @@ | ||
import * as React from "react"; | ||
import { connect } from "react-redux"; | ||
import { RouteComponentProps } from "react-router"; | ||
import { Action } from "redux"; | ||
import { ThunkDispatch } from "redux-thunk"; | ||
|
||
import { IStoreState } from "../../shared/types"; | ||
|
||
function mapStateToProps( | ||
{ apps, namespace, charts }: IStoreState, | ||
{ location }: RouteComponentProps<{}>, | ||
) { | ||
return {}; | ||
} | ||
|
||
function mapDispatchToProps(dispatch: ThunkDispatch<IStoreState, null, Action>) { | ||
return {}; | ||
} | ||
|
||
class Comp extends React.Component { | ||
public render() { | ||
return <h1>This component has not been built yet</h1>; | ||
} | ||
} | ||
|
||
export default connect(mapStateToProps, mapDispatchToProps)(Comp); |
3 changes: 3 additions & 0 deletions
3
dashboard/src/containers/OperatorInstanceCreateContainer/index.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,3 @@ | ||
import OperatorInstanceCreateContainer from "./OperatorInstanceCreateContainer"; | ||
|
||
export default OperatorInstanceCreateContainer; |
26 changes: 26 additions & 0 deletions
26
dashboard/src/containers/OperatorInstanceViewContainer/OperatorInstanceViewContainer.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,26 @@ | ||
import * as React from "react"; | ||
import { connect } from "react-redux"; | ||
import { RouteComponentProps } from "react-router"; | ||
import { Action } from "redux"; | ||
import { ThunkDispatch } from "redux-thunk"; | ||
|
||
import { IStoreState } from "../../shared/types"; | ||
|
||
function mapStateToProps( | ||
{ apps, namespace, charts }: IStoreState, | ||
{ location }: RouteComponentProps<{}>, | ||
) { | ||
return {}; | ||
} | ||
|
||
function mapDispatchToProps(dispatch: ThunkDispatch<IStoreState, null, Action>) { | ||
return {}; | ||
} | ||
|
||
class Comp extends React.Component { | ||
public render() { | ||
return <h1>This component has not been built yet</h1>; | ||
} | ||
} | ||
|
||
export default connect(mapStateToProps, mapDispatchToProps)(Comp); |
3 changes: 3 additions & 0 deletions
3
dashboard/src/containers/OperatorInstanceViewContainer/index.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,3 @@ | ||
import OperatorInstanceViewContainer from "./OperatorInstanceViewContainer"; | ||
|
||
export default OperatorInstanceViewContainer; |
26 changes: 26 additions & 0 deletions
26
dashboard/src/containers/OperatorViewContainer/OperatorViewContainer.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,26 @@ | ||
import * as React from "react"; | ||
import { connect } from "react-redux"; | ||
import { RouteComponentProps } from "react-router"; | ||
import { Action } from "redux"; | ||
import { ThunkDispatch } from "redux-thunk"; | ||
|
||
import { IStoreState } from "../../shared/types"; | ||
|
||
function mapStateToProps( | ||
{ apps, namespace, charts }: IStoreState, | ||
{ location }: RouteComponentProps<{}>, | ||
) { | ||
return {}; | ||
} | ||
|
||
function mapDispatchToProps(dispatch: ThunkDispatch<IStoreState, null, Action>) { | ||
return {}; | ||
} | ||
|
||
class Comp extends React.Component { | ||
public render() { | ||
return <h1>This component has not been built yet</h1>; | ||
} | ||
} | ||
|
||
export default connect(mapStateToProps, mapDispatchToProps)(Comp); |
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,3 @@ | ||
import OperatorViewContainer from "./OperatorViewContainer"; | ||
|
||
export default OperatorViewContainer; |
26 changes: 26 additions & 0 deletions
26
dashboard/src/containers/OperatorsListContainer/OperatorsListContainer.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,26 @@ | ||
import * as React from "react"; | ||
import { connect } from "react-redux"; | ||
import { RouteComponentProps } from "react-router"; | ||
import { Action } from "redux"; | ||
import { ThunkDispatch } from "redux-thunk"; | ||
|
||
import { IStoreState } from "../../shared/types"; | ||
|
||
function mapStateToProps( | ||
{ apps, namespace, charts }: IStoreState, | ||
{ location }: RouteComponentProps<{}>, | ||
) { | ||
return {}; | ||
} | ||
|
||
function mapDispatchToProps(dispatch: ThunkDispatch<IStoreState, null, Action>) { | ||
return {}; | ||
} | ||
|
||
class Comp extends React.Component { | ||
public render() { | ||
return <h1>This component has not been built yet</h1>; | ||
} | ||
} | ||
|
||
export default connect(mapStateToProps, mapDispatchToProps)(Comp); |
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,3 @@ | ||
import OperatorsListContainer from "./OperatorsListContainer"; | ||
|
||
export default OperatorsListContainer; |
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