@@ -14,7 +14,8 @@ import { RunStatus } from './components';
1414// import { Results } from './Results';
1515// import { Tensorboard } from './Tensorboard';
1616// import { formatMoney } from '../../../../utils/money';
17- import { formatDateToDisplay } from '../../../../utils' ;
17+ import { formatDateForOverviewBar } from '../../../../utils' ;
18+ import { useHistory } from '../../../hooks' ;
1819
1920const getTabPages = ( { runId } : { runId : TId } ) : TabPage [ ] => {
2021 return [
@@ -79,7 +80,7 @@ export const RunDetail: React.FC = () => {
7980 justifyContent : 'space-around' ,
8081 } ;
8182 const headStyle = { color : '#828282' } ;
82-
83+ const history = useHistory ( ) ;
8384 return (
8485 < BasePage
8586 tabPages = { tabPages }
@@ -115,6 +116,24 @@ export const RunDetail: React.FC = () => {
115116 < RunStatus run = { run } />
116117 </ Paragraph >
117118 </ Box >
119+ < Box >
120+ < Paragraph style = { headStyle } > STACK NAME</ Paragraph >
121+ < Paragraph
122+ size = "small"
123+ style = { {
124+ color : '#22BBDD' ,
125+ textDecoration : 'underline' ,
126+ cursor : 'pointer' ,
127+ marginTop : '10px' ,
128+ } }
129+ onClick = { ( event ) => {
130+ event . stopPropagation ( ) ;
131+ history . push ( routePaths . stack . configuration ( run . stack ?. id ) ) ;
132+ } }
133+ >
134+ { run . stack ?. name }
135+ </ Paragraph >
136+ </ Box >
118137 < Box >
119138 < Paragraph style = { headStyle } > AUTHOR</ Paragraph >
120139 < Paragraph style = { { color : '#515151' , marginTop : '10px' } } >
@@ -124,7 +143,7 @@ export const RunDetail: React.FC = () => {
124143 < Box >
125144 < Paragraph style = { headStyle } > CREATED AT</ Paragraph >
126145 < Paragraph style = { { color : '#515151' , marginTop : '10px' } } >
127- { formatDateToDisplay ( run . created ) }
146+ { formatDateForOverviewBar ( run . created ) }
128147 </ Paragraph >
129148 </ Box >
130149 </ Box >
0 commit comments