@@ -8,13 +8,14 @@ import { useService } from './useService';
88import { Configuration } from '../RunDetail/Configuration' ;
99import { DAG } from '../../../components/dag' ;
1010
11- import { Box , Paragraph } from '../../../components' ;
11+ // import { Box, Paragraph } from '../../../components';
1212
13- import { RunStatus } from './components' ;
13+ // import { RunStatus } from './components';
1414
15- import { formatDateToDisplayOnTable } from '../../../../utils' ;
16- import { useHistory , useSelector } from '../../../hooks' ;
15+ // import { formatDateToDisplayOnTable } from '../../../../utils';
16+ import { useSelector } from '../../../hooks' ;
1717import { projectSelectors } from '../../../../redux/selectors' ;
18+ import { Runs } from '../PipelineDetail/Runs' ;
1819
1920const getTabPages = ( {
2021 selectedProject,
@@ -85,7 +86,7 @@ export interface RunDetailRouteParams {
8586}
8687
8788export const RunDetail : React . FC = ( ) => {
88- const { runId, pipelineId, run , fetching } = useService ( ) ;
89+ const { runId, pipelineId, fetching } = useService ( ) ;
8990 const selectedProject = useSelector ( projectSelectors . selectedProject ) ;
9091 const tabPages = getTabPages ( {
9192 selectedProject,
@@ -99,23 +100,30 @@ export const RunDetail: React.FC = () => {
99100 selectedProject,
100101 } ) ;
101102
102- const boxStyle = {
103- backgroundColor : '#E9EAEC' ,
104- padding : '10px 0' ,
105- borderRadius : '8px' ,
106- marginTop : '20px' ,
107- display : 'flex' ,
108- justifyContent : 'space-around' ,
109- } ;
110- const headStyle = { color : '#828282' } ;
111- const history = useHistory ( ) ;
103+ // const boxStyle = {
104+ // backgroundColor: '#E9EAEC',
105+ // padding: '10px 0',
106+ // borderRadius: '8px',
107+ // marginTop: '20px',
108+ // display: 'flex',
109+ // justifyContent: 'space-around',
110+ // };
111+ // const headStyle = { color: '#828282' };
112+ // const history = useHistory();
112113 return (
113114 < BasePage
114115 tabPages = { tabPages }
115116 tabBasePath = { routePaths . run . pipeline . base ( runId , pipelineId ) }
116117 breadcrumbs = { breadcrumbs }
117118 >
118- < Box style = { boxStyle } >
119+ < Runs
120+ filter = { [ ] }
121+ pagination = { false }
122+ runId = { runId }
123+ // isExpended
124+ pipelineId = { pipelineId }
125+ > </ Runs >
126+ { /* <Box style={boxStyle}>
119127 <Box>
120128 <Paragraph style={headStyle}>RUN ID</Paragraph>
121129 <Paragraph style={{ color: '#515151', marginTop: '10px' }}>
@@ -199,7 +207,7 @@ export const RunDetail: React.FC = () => {
199207 {formatDateToDisplayOnTable(run.created)}
200208 </Paragraph>
201209 </Box>
202- </ Box >
210+ </Box> */ }
203211 </ BasePage >
204212 ) ;
205213} ;
0 commit comments